| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
prompt | string | ✅ | - | 提示词 支持@角色 注意是username |
model | string | ✅ | - | 模型名称 sora2-landscape sora2-portrait 等看模型广场 |
remix | string | ✅ | 任务ID | 自己生成原视频 支持公开地址帖子id |
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 '{
"prompt": "@sama 加入进去",
"model": "sora2-portrait-10s",
"style": "anime",
"remix": "s_6934db54695c81918dde2c2531a2ae9f",
"storyboard": true
}'{
"created_at": 0,
"id": "string",
"model": "string",
"object": "string",
"progress": 0,
"size": "string",
"status": "string"
}