Generate an AI video from a text prompt using a selection of AI video models
pictai_)application/json"A drone flying over a lush green forest with sunlight filtering through the canopy"pixverse5.5 if not specified.Supported models: veo3.1, veo3.1_fast, pixverse5.5Model Capabilities and Pricing:| Model | Supported Aspect Ratios | Supported Durations | AI Credits per Second |
|---|---|---|---|
veo3.1 | 16:9, 9:16 | 4s, 6s, 8s | 20 |
veo3.1_fast | 16:9, 9:16 | 4s, 6s, 8s | 10 |
pixverse5.5 | 16:9, 9:16, 1:1, 3:4, 4:3 | 5s, 8s, 10s | 1.6 |
true when the job has been created successfully| Status Code | Description |
|---|---|
| 200 | Job created successfully. Use the returned jobId to poll for the result. |
| 400 | Invalid request body. Check the fields array for specific validation errors. This also occurs when mutually exclusive parameters are used together. |
| 401 | Unauthorized. The API key in the Authorization header is missing or invalid. |
| 500 | Internal server error. Retry the request after a brief delay. |
firstFrameImageUrl, extendVideoUrl, and referenceImageUrls parameters are mutually exclusive. You may use only one of these in a single request. Providing more than one will result in a 400 validation error.
| Parameter | Can be combined with |
|---|---|
firstFrameImageUrl | prompt, model, aspectRatio, duration, webhook only |
extendVideoUrl | prompt, model, aspectRatio, duration, webhook only |
referenceImageUrls | prompt, model, aspectRatio, duration, webhook only |
jobId, poll for the video generation result using the Get Video Generation Job endpoint. Use a polling interval of 10–30 seconds to check the job status.