Skip to main content
POST
cURL
把方舟 SDK 或客户端的 base URL 指向 https://api.apipod.ai/api/v3,即可用与火山官方完全一致的请求体创建本模型的任务。任务查询使用与官方同构的兼容查询接口

授权

Authorization
string
header
必填

Use your APIPod API key as a Bearer token in the Authorization header.

请求体

application/json
model
string
必填

APIPod 公开模型 ID(all-in-one,场景由 content 推断)。

Allowed value: "seedance-2.5"
content
Content · object[]
必填

输入内容列表。文本即提示词;无 role 或 role 为 first_frame/last_frame 的图片(最多 2 张)走图生视频;role 为 reference_image 的图片、参考视频与参考音频走全模态参考生视频。三种场景互斥,不可混用。参考素材上限:图 30 / 视频 10 / 音频 10。

resolution
enum<string>
默认值:720p

视频分辨率。可选值随模型而定。

可用选项:
480p,
720p,
1080p
ratio
enum<string>
默认值:adaptive

生成视频的宽高比。

可用选项:
16:9,
4:3,
1:1,
3:4,
9:16,
21:9,
adaptive
duration
enum<integer>
默认值:4

视频时长(秒),4 到 30,默认 4。

可用选项:
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30
generate_audio
boolean
默认值:true

是否生成与画面同步的音频。

响应

任务创建成功

id
string
必填

异步任务 ID。使用该值调用兼容查询接口轮询任务。

model
string
必填

本任务使用的公开模型系列名。