Spiritme
  1. batch-videos
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. batch-videos

batch_videos_create

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/api/batch-videos/
batch-videos
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/api/batch-videos/' \
--header 'Authorization;' \
--data-urlencode 'variables='
响应示例响应示例
{
    "id": 0,
    "cd": "2019-08-24T14:15:22Z",
    "variables": {
        "property1": null,
        "property2": null
    },
    "template": {
        "id": 0,
        "avatar": 0,
        "voice": 0,
        "text": "string",
        "background": 0
    },
    "status": "draft",
    "result": "http://example.com",
    "webhook": {
        "id": 0,
        "cd": "2019-08-24T14:15:22Z",
        "url": "http://example.com"
    }
}

请求参数

Header 参数
Authorization
string 
必需
默认值:
Token <api-key>
Body 参数application/x-www-form-urlencoded
variables
object 
必需
额外字段
integer  | number  | string  | boolean 
可选
template
null  | allOf {1} 
可选
object (BatchVideoTemplateNestedRequest) 
可选
webhook
null  | allOf {1} 
可选
object (WebhookNestedRequest) 
可选

返回响应

🟢201成功
application/json
Body
id
integer 
只读必需
cd
string <date-time>
Created datetime
只读必需
variables
object 
必需
额外字段
integer  | number  | string  | boolean 
可选
template
null  | allOf {1} 
可选
object (BatchVideoTemplateNested) 
可选
status
enum<string> 
只读必需
枚举值:
draftin_queueexecutingerrorsuccess
result
string <uri>
只读必需
webhook
null  | allOf {1} 
可选
object (WebhookNested) 
可选
修改于 2024-03-28 09:50:16
上一页
batch_videos_list
下一页
batch_videos_retrieve
Built with