- 简介
- 时间
- 生活服务
- Live2d
- 数据仓库
- 行政区划
- 碧蓝航线
- Bilibili
- 壁纸
- 音乐
- 成语
- 加解密编码
模型信息
GET
https://api.timelessq.com/live2d/get
live2d
最后修改时间:2024-11-27 02:07:00
也可以查看这里:https://www.timelessq.com/tool/live2d
请求参数
Query 参数
id
模型id
示例值:
100
texture
材质id
示例值:
1
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.timelessq.com/live2d/get?id=100&texture=1'
返回响应
🟢200successful operation
application/json
Body
object {0}
示例
{
"type": "Live2D Model Setting",
"name": "22-3695903",
"label": "22",
"model": "../model/bilibili/22/model.moc",
"textures": [
"../model/bilibili/22/texture_00/closet-default.png",
"../model/bilibili/22/texture_01/2016-default-upper.png",
"../model/bilibili/22/texture_02/2016-default-lower.png",
"../model/bilibili/22/texture_03/2016-default-hat.png"
],
"layout": {
"center_x": 0,
"center_y": 0.1,
"width": 2.3,
"height": 2.3
},
"hit_areas_custom": {
"head_x": [
-0.33,
0.6
],
"head_y": [
0.19,
-0.2
],
"body_x": [
-0.3,
-0.25
],
"body_y": [
0.3,
-0.9
]
},
"motions": {
"idle": [
{
"file": "../model/bilibili/22/motions/idle-01.mtn",
"fade_in": 2000,
"fade_out": 2000
},
{
"file": "../model/bilibili/22/motions/idle-02.mtn",
"fade_in": 2000,
"fade_out": 2000
},
{
"file": "../model/bilibili/22/motions/idle-03.mtn",
"fade_in": 100,
"fade_out": 100
}
],
"flick_head": [
{
"file": "../model/bilibili/22/motions/touch.mtn",
"fade_in": 500,
"fade_out": 200
}
],
"tap_body": [
{
"file": "../model/bilibili/22/motions/touch.mtn",
"fade_in": 500,
"fade_out": 200
}
],
"thanking": [
{
"file": "../model/bilibili/22/motions/thanking.mtn",
"fade_in": 2000,
"fade_out": 2000
}
]
}
}
🟠400Invalid status value
修改于 2024-11-27 02:07:00