Giter Club home page Giter Club logo

live2d-api's Introduction

Live2D后端API

服务器状态监控系统:筱锋服务器状态监控

Docs构建文档:Live2D

Live2D网页前端: 前端构建


快速一键使用

<script src="https://cdn.jsdelivr.net/gh/XiaoLFeng/live2d-widget@latest/autoload.js"></script>

使用方法

调取地址

  • jsdelivr:

    https://cdn.jsdelivr.net/gh/XiaoLFeng/live2d-API@latest/
    
  • API服务

    https://live2d.xiaolfeng.top/
    

接口调取方法

jsdelivr无法进行API调取,只能作为使用,如果需要调取请使用上方API服务,而不是jsdelivr服务

  • 调用方法

    • /add/ 检测更新加缓存(正常勿需用到)
    • /get/?id=X-Y 获取第X分组第Y号皮肤
      • 其中分组为Live2d排列顺序
    • /rand/?id=X 根据上一个分组随即切换顺序
    • /switch/?id=X 根据 上一分组 顺序切换
    • /rand_textures/?id=X-Y 根据 上一皮肤 随机切换 同分组其他皮肤
    • /switch_textures/?id=X-Y 根据 上一皮肤 顺序切换 同分组其他皮肤
  • 调用例子

    • /add/ 检测 新增皮肤 并更新 缓存列表
    • /get/?id=1-23 获取 分组 1 的 第 23 号 皮肤
    • /rand/?id=1 根据 上一分组 随机切换
    • /switch/?id=1 根据 上一分组 顺序切换
    • /rand_textures/?id=1-23 根据 上一皮肤 随机切换 同分组其他皮肤
    • /switch_textures/?id=1-23 根据 上一皮肤 顺序切换 同分组其他皮肤

接口调用示例图片

  • get

  • rand

  • switch

live2d-api's People

Contributors

xiaolfeng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.