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-i2v"
prompt
string
required

Describe the content of the video to be generated.

Maximum string length: 5000
image_urls
string[]
required

The image address of the first frame or the first and last frames.

prompt_extend
boolean
default:""

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.

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.

Maximum string length: 500
audio_url
string
video_url
string
default:""

Extend generating content based on the given video, with the maximum duration of the continuation controlled by the duration parameter. For example: when duration=15 and the input video is 3 seconds long, the model will generate a 12-second continuation, resulting in a final output video with a total duration of 15 seconds, which will be charged as 15 seconds. Video duration: 2–10s.

resolution
enum<string>
default:1080P

Duration of the generated video.

Available options:
720P,
1080P
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