pixverse/v5/text-to-videoGeneration type:
text_to_videoEndpoint:
POST /api/asset_generator/
Pricing
— means the combination isn’t accepted by this model.
Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.
Quick start
Input parameters
Send these fields ininput_params.
string
required
The prompt to generate an image from.Minimum characters:
1.
Maximum characters: 2000.integer
The same seed and the same prompt given to the same version of the model will output the same video every time.
string
The style of the generated videoAllowed values:
"anime", "3d_animation", "clay", "comic", "cyberpunk".string
default:"5"
The duration of the generated video in seconds. 8s videos cost double. 1080p videos are limited to 5 secondsAllowed values:
"5", "8".string
default:"720p"
The resolution of the generated videoAllowed values:
"360p", "540p", "720p", "1080p".string
default:"16:9"
The aspect ratio of the generated videoAllowed values:
"16:9", "4:3", "1:1", "3:4", "9:16".string
default:""
Negative prompt to be used for the generation
Complete JSON schema
Complete JSON schema
Response
The request returns the task withstatus: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.
