| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
prompt | string | ✅ | - | 注意prompt提示词格式遵守故事板的 |
model | string | ✅ | - | character-training 必须 |
timestamps | string | ✅ | 参考1,3 | 相隔时间不能大于3秒 |
url | string | ✅ | 视频地址 |
curl --location --request POST 'https://api.dyuapi.com/v1/videos' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://xxxx.com/xxxx.mp4",//下载mp4的地址
"prompt": "角色创建1",//可以区别
"model": "character-training",//必须填的
"timestamps": "1,2"//相隔时间不能大于3秒
}'{
"created_at": 0,
"id": "string",
"model": "string",
"object": "string",
"progress": 0,
"size": "string",
"status": "string"
}