| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
prompt | string | ✅ | - | 注意prompt提示词格式遵守故事板的 |
model | string | ✅ | - | 模型名称 sora2-landscape sora2-portrait 等看模型广场 |
style | string | ❌ | - | 视频风格anime,selfie,golden,handheld,festive,retro,news,chaos,vintage,comic |
image_url | string | ❌ | - | 图片 URL 需要可以访问的图片 |
storyboard | boolean | ❌ | false | 提示词解析 可以解析生成的分镜头 |
trim | boolean | ❌ | false | 去首帧图片 暂有水印 |
curl --location --request POST 'https://api.dyuapi.com/v1/videos' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "sora2-portrait-10s",
"prompt": "Shot 1:\nduration: 5s\nScene: 远景,飞船降落。\n\nShot 2:\nduration: 3s\nScene: 特写,宇航员走出舱门。",
"storyboard": true
}'{
"created_at": 0,
"id": "string",
"model": "string",
"object": "string",
"progress": 0,
"size": "string",
"status": "string"
}