Spiritme
  1. avatars
Spiritme
  • avatars
    • avatars_list
      GET
  • batch-video-templates
    • batch_video_templates_list
      GET
    • batch_video_templates_create
      POST
    • batch_video_templates_retrieve
      GET
  • batch-videos
    • batch_videos_list
      GET
    • batch_videos_create
      POST
    • batch_videos_retrieve
      GET
  • files
    • files_list
      GET
    • files_create
      POST
    • files_retrieve
      GET
    • files_destroy
      DELETE
    • files_children_list
      GET
  • schema
    • schema_retrieve
      GET
  • tts
    • tts_languages_list
      GET
    • tts_voices_list
      GET
  • users
    • users_current_retrieve
      GET
    • users_current_destroy
      DELETE
  • videos
    • videos_list
      GET
    • videos_create
      POST
    • videos_retrieve
      GET
    • videos_update
      PUT
    • videos_destroy
      DELETE
    • videos_publish_create
      POST
  1. avatars

avatars_list

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/api/avatars/
avatars
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/api/avatars/' \
--header 'Authorization;'
响应示例响应示例
{
    "count": 123,
    "next": "http://api.example.org/accounts/?offset=400&limit=100",
    "previous": "http://api.example.org/accounts/?offset=200&limit=100",
    "results": [
        {
            "id": 0,
            "cd": "2019-08-24T14:15:22Z",
            "name": "string",
            "description": "string",
            "status": "created",
            "thumbnail": "http://example.com",
            "preview": "http://example.com",
            "circular_preview": "http://example.com",
            "frame_width": 0,
            "frame_height": 0,
            "best_fit_voices": [
                0
            ],
            "supported_emotions": [
                "string"
            ],
            "supports_background_removal": true,
            "ownership": true
        }
    ]
}

请求参数

Query 参数
limit
integer 
可选
Number of results to return per page.
offset
integer 
可选
The initial index from which to return the results.
ordering
string 
可选
Which field to use when ordering the results.
status
array[string]
可选
枚举值:
approvedcapturedclarificationcreatedreadyrejectedtraining
Header 参数
Authorization
string 
必需
默认值:
Token <api-key>

返回响应

🟢200成功
application/json
Body
count
integer 
可选
示例值:
123
next
string <uri> | null 
可选
示例值:
http://api.example.org/accounts/?offset=400&limit=100
previous
string <uri> | null 
可选
示例值:
http://api.example.org/accounts/?offset=200&limit=100
results
array[object (Avatar) {14}] 
可选
id
integer 
只读必需
cd
string <date-time>
Created datetime
只读必需
name
string 
必需
<= 80 字符
description
string  | null 
只读必需
status
enum<string> 
只读必需
枚举值:
createdcapturedclarificationapprovedtrainingreadyrejected
thumbnail
string <uri>
只读必需
preview
string <uri>
只读必需
circular_preview
string <uri>
只读必需
frame_width
integer 
只读必需
frame_height
integer 
只读必需
best_fit_voices
array[integer]
只读必需
supported_emotions
array[string]
只读必需
supports_background_removal
boolean 
只读必需
ownership
boolean 
只读必需
修改于 2024-03-28 09:50:16
下一页
batch_video_templates_list
Built with