Generate Video
POST
https://api.piapi.ai/api/v1/task
Pricing
Model | Price (USD) | Special Requirements |
---|---|---|
t2v-01 | $0.20 | None |
i2v-01 | $0.20 | None |
i2v-01-director | $0.20 | None |
t2v-01-director | $0.20 | None |
i2v-01-live | $0.20 | None |
s2v-01 | $0.30 | Must detect human face in input image |
Model Requirements
Text-to-Video (t2v-01, t2v-01-director)
prompt
expand_prompt
image_url
should not be providedImage-to-Video (i2v-01, i2v-01-live, i2v-01-director)
image_url
prompt
, expand_prompt
Subject Reference Video (s2v-01)
prompt
, image_url
expand_prompt
Input Constraints
Text Prompt (prompt
)
Image Requirements (image_url
)
Configuration Options
Service Mode
"public"
mode (or Pay-As-You-Go)Important Notes
1.
2.
3.
Request
Header Params
x-api-key
string
optional
Body Params application/json
Request samples
Responses
Modified at 2025-03-18 04:03:49