Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

在 Authorization 请求头中使用 Bearer APIPod_API_KEY。

Body

application/json
model
string
required

APIPod 公开模型 ID。

Allowed value: "wan3.0-video"
prompt
string

生成或编辑指令。 最大字符串长度:20000。 最小字符串长度:0。

image_urls
string[]

可公开访问的源图片或参考图 URL。 最多项目数:10。

role
enum<string>

Explicit interpretation of image_urls. reference_images: all images are treated as reference images regardless of count. first_last_frame: images are treated as the first frame plus an optional last frame (max 2; cannot be combined with reference videos or audios). When omitted, the scenario is inferred from the materials.

Available options:
reference_images,
first_last_frame
video_urls
string[]

可公开访问的参考视频 URL。 最多项目数:5。

audio_urls
string[]

可公开访问的参考音频 URL。 最多项目数:5。

file_url
string
default:""

可公开访问的参考文件 URL。

公开网页 URL,仅支持无需登录即可访问的页面,不能与 file_url 同时提供。

duration
enum<integer>
default:5

视频时长,单位为秒。 最小值:2。 最大值:30。

Available options:
-1
resolution
enum<string>
default:1080P

输出分辨率档位。

Available options:
480P,
720P,
1080P
aspect_ratio
enum<string>
default:adaptive

输出宽高比。

Available options:
adaptive,
16:9,
4:3,
1:1,
3:4,
9:16
generate_audio
boolean
default:true

为视频生成同步音频。

Response

200 - application/json

任务已受理

Standard response for task submission

code
integer
required

HTTP 状态码。

data
Task Submit Data · object
required

响应数据。

message
string
required

响应消息。