Skip to main content
POST
cURL

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.0-t2v"
prompt
string
required

Generation or editing instructions, up to 30000 characters. It is recommended to keep the prompt to no more than 500 Chinese characters or 1,000 English words. Lengthy text will lead to scattered information, and the model may ignore details and only focus on key points, resulting in missing elements in the generated video.

Maximum string length: 30000
duration
enum<integer>
default:5
Available options:
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
Required range: 4 <= x <= 15
resolution
enum<string>
default:720p

Generate video resolution.

Available options:
480p,
720p,
1080p,
4k
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

After enabling, the model will independently decide whether to search Internet content (such as products, weather, etc.) based on the user's prompt. This can improve the timeliness of generated videos but will also introduce a certain degree of latency.

watermark
boolean
default:false

Whether the generated video contains a watermark

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