Documentation Index
Fetch the complete documentation index at: https://docs.senseaudio.cn/llms.txt
Use this file to discover all available pages before exploring further.
task_id,请通过
查询视频生成状态 轮询进度与最终结果。| 项目 | 值 |
|---|---|
| 接口地址 | https://api.senseaudio.cn/v1/video/create |
| 请求方式 | POST |
| Content-Type | application/json |
| 鉴权方式 | Bearer Token |
| 参数名 | 必填 | 说明 | 示例 |
|---|---|---|---|
Authorization | 是 | 鉴权 Token,格式 Bearer API_KEY | Bearer sk-123456... |
Content-Type | 是 | 固定为 application/json | application/json |
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
model | string | 是 | 模型名称 |
content | array | 是 | 视频内容描述(文本、图片、音频或视频) |
duration | int | 是 | 视频时长(秒) |
resolution | string | 是 | 分辨率,如 480p、720p、1080p |
ratio | string | 是 | 宽高比,如 16:9、9:16 |
timeout | int | 否 | 最大超时时间(秒),min:3600,max:172800 |
watermark | bool | 否 | 是否添加水印,默认添加 |
provider_specific | object | 否 | 厂商特定参数(JSON 对象) |
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
type | string | 是 | 内容类型:text、image、audio、video |
text | string | 否 | 当 type 为 text 时,填写文本内容(提示词) |
url | string | 否 | 当 type 为 image 时,填写图片 URL(支持 http/https 及 data URL) |
role | string | 否 | 当 type 为 image 时,指定图片作用,取值见下表 |
audio_url | string | 否 | 当 type 为 audio 时,填写音频 URL |
video_url | string | 否 | 当 type 为 video 时,填写视频 URL |
content 组合与 provider_specific 字段略有差异。请按所选模型参考对应说明与示例。
ratio:16:9、4:3、1:1、3:4、9:16resolution:480p、720pduration:4 ~ 15 秒之间的整数provider_specific:{"generate_audio": true}text(可选,最多 1 条)+ image(仅 first_frame / last_frame,首帧必传,尾帧可选)text(可选,最多 1 条)+ reference 图片(≤ 9 张)+ audio(≤ 3 条)+ video(≤ 3 条)role 字段说明
doubao-seedance-2-0-260128支持 first_frame / last_frame 或 reference,两种模式不可混用provider_specific 字段说明
doubao-seedance-2-0-260128支持doubao-seedance-2-0-260128:{"generate_audio": true},不支持 camera_fixed图片
音频
视频
| 参数名 | 类型 | 描述 |
|---|---|---|
task_id | string | 任务 ID,用于查询视频生成状态 |
text
元素建议清晰描述场景、动作、风格等信息,有助于提升稳定性 -
素材组合:doubao-seedance-2-0-260128 的首尾帧模式与参考素材模式不可混用 -
音频限制:仅传 audio 不合法,必须至少搭配 image 或 video -
处理时间:视频生成耗时较长,建议使用轮询方式
查询任务状态格式:Bearer <API_KEY>
模型名称
doubao-seedance-2-0-260128 "doubao-seedance-2-0-260128"
视频内容描述(文本、图片、音频或视频)
[]视频时长(秒)。doubao-seedance-2-0-260128 取值 4-15
10
分辨率。doubao-seedance-2-0-260128可选 480p
480p, 720p, 1080p "720p"
宽高比
16:9, 9:16, 4:3, 3:4, 1:1 "16:9"
最大超时时间(秒),最小 3600,最大 172800
3600 <= x <= 172800是否添加水印,默认 true
厂商特定参数
成功
任务 ID,用于查询视频生成状态
"task_1234567890"