| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
prompt | string | ✅ | - | 注意prompt提示词格式遵守故事板的 |
model | string | ✅ | - | character-training 必须 |
timestamps | string | ✅ | 参考1,3 | 相隔时间不能大于3秒 |
character | string | ✅ | 任务ID |
curl --location --request POST 'https://api.dyuapi.com/v1/videos' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"character": "video_ac587076-b36f-4854-ade8-8fdb4e255a48",//需要训练的任务ID
"prompt": "角色创建",
"model": "character-training",//必须填模型
"timestamps": "1,3"//相隔时间不能大于3秒
}'{
"created_at": 0,
"id": "string",
"model": "string",
"object": "string",
"progress": 0,
"size": "string",
"status": "string"
}