Skip to main content
POST
create role task

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
videoUrl
string<uri>
必填

video url of the role,not longer than 3 seconds

示例:

"https://example.com/example.mp4"

name
string
必填

name of the role,must be unique

示例:

"mikeniuniu"

displayName
string

display name of the role

示例:

"display name of the role"

description
string

description of the role

示例:

"description of the role"

instructionText
string

instruction text of the role

示例:

"instruction text of the role"

safetyInstructionText
string

safety instruction text of the role

示例:

"safety instruction text of the role"

响应

Role task created successfully

taskId
string
必填

task id, used to get task result later