Skip to main content
POST
cURL
Provide at least one reference asset. The per-media limits are defined by the API schema.

Authorizations

Authorization
string
header
required

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

Body

application/json
model
string
required

Public APIPod model ID.

Allowed value: "seedance-2.5-r2v"
prompt
string
required

The generation videos prompt. Up to 500 Chinese characters or 1000 English words.

Maximum string length: 1000
image_urls
string[]

Reference image URLs. Up to 30 images are supported; each image must be smaller than 30 MB.

Maximum array length: 30
video_urls
string[]

Reference video URLs. Up to 10 videos are supported; each video lasts 2-30 seconds and the total duration of all videos must not exceed 30 seconds.

Maximum array length: 10
audio_urls
string[]

Reference audio URLs. Up to 10 audios are supported; each audio lasts 2-30 seconds and the total duration of all audios must not exceed 30 seconds. Please note that audio files cannot be uploaded alone; at least one reference video or image must be included.

Maximum array length: 10
duration
enum<integer>
default:4

Video duration in seconds, from 4 to 30.

Available options:
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
Required range: 4 <= x <= 30
resolution
enum<string>
default:720p

Generate video resolution.

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

Aspect ratio of the generated video,When the ratio is configured as adaptive, the model will automatically adapt the aspect ratio according to the generation scenario.

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

Controls whether the generated video contains audio synchronized with the visuals.

return_last_frame
boolean
default:false

Whether to return the last frame image of the generated video. Using this parameter enables the generation of multiple consecutive videos: taking the last frame of the previous generated video as the first frame of the next video task to quickly generate multiple consecutive videos, and the first item in the returned result is this image.

Response

200 - application/json

Task accepted

Standard response for task submission

code
integer
required
data
Task Submit Data · object
required

Data content for task submission

message
string
required