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

Describe the content of the video to be generated.

Maximum string length: 5000
prompt_extend
boolean
default:true

Whether to enable intelligent prompt rewriting. After enabling, a large model will be used to intelligently rewrite the input prompt. The generation effect is significantly improved for short prompts, but it will increase time consumption.

negative_prompt
string
default:low resolution, errors, worst quality, poor quality, incomplete, extra fingers, poor aspect ratio.

Describe the content you do not wish to see in the video frame, which can be used to restrict the video frame.

Maximum string length: 500
audio_url
string
default:""

The model will generate a video using this audio. If the audio length exceeds the duration value (e.g., 5 seconds), the first 5 seconds will be automatically captured and the rest discarded. If the audio length is shorter than the video duration, the part beyond the audio length will be silent video. For example, if the audio is 3 seconds long and the video duration is 5 seconds, the output video will have sound in the first 3 seconds and be silent in the remaining 2 seconds.

resolution
enum<string>
default:1080P

Resolution levels for video generation, used to control the clarity (total pixels) of the video

Available options:
720P,
1080P
aspect_ratio
enum<string>
default:16:9

Aspect ratio of the generated video.

Available options:
16:9,
9:16,
1:1,
4:3,
3:4
duration
integer
default:5

Duration of the generated video.

Required range: 2 <= x <= 15
watermark
boolean
default:false

Whether to add a watermark logo, with the watermark positioned at the bottom right corner of the video

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