
Pika 2.2 Generate
starting from
API Overview
Image/Text to Video Generation from Pika
API Console
Log in to explore more features! Click to Log In
API Reference (4)
| API Description | API Endpoint | Request Method | Stability | Parameter Description |
|---|---|---|---|---|
2.2 Generate(Text-to-Video Generation) | POST | Stable | View Details | |
Document Details Powered by Pika’s video generation model Price:720p-5s 0.3 PTC/call Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Content-TypestringOptional Example Value: application/jsonRequest Body application/jsonpromptTextstringRequired A text description that guides the generative process. This is required for text-to-video generation negativePromptenum<string>Optional Pikaffect is a special effect that can be applied to videos. It is only available for modelVersion 1.5. Enum Value: ExplodeMeltInflateSquishCake-ifyCrushseedintegerRequired aspectRationumberOptional 0.4 <= x <= 2.5 resolutionstringRequired default:1080p, 720p optional durationstringRequired default:5, 10 optional | ||||
2.2 Generate(Image-to-Video Generation) | POST | Stable | View Details | |
Document Details Powered by Pika’s video generation model. Price:720p-5s 0.3 PTC/call Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Content-TypestringOptional Example Value: application/jsonRequest Body multipart/form-dataimagestringRequired promptTextstringOptional A text description that guides the generative process. This is required for text-to-video generation Example Value: A fluffy penguinnegativePromptstringOptional seedintegerOptional resolutionstringOptional default:1080p, 720p optional durationstringOptional default:5, 10 optional | ||||
2.2 Pikascenes(Generate scene videos) | POST | Stable | View Details | |
Document Details Powered by Pika’s video generation model Price:720p-5s 0.45 PTC/call Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Content-TypestringOptional Example Value: application/jsonRequest Body multipart/form-dataimagesstringRequired ingredientsModeenum<string>Required A text description that guides the generative process. This is required for text-to-video generation Enum Value: creativeprecisepromptTextstringOptional negativePromptstringOptional seedintegerOptional resolutionstringOptional default:1080p, 720p optional durationintegerOptional default:5, 10 optional aspectRationumberOptional | ||||
Fetch(Result) | GET | Stable | View Details | |
Document Details Get the video generation task results Price:0 PTC/call Request Parameters Path ParametersidstringRequired Example Value: pika_xxxxHeader ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}} | ||||
API Pricing
| Model | Description | 302.AI Price |
|---|
2.2 Generate(Text-to-Video Generation) | 720p-5s |
|
2.2 Generate(Text-to-Video Generation) | 720p-10s |
|
2.2 Generate(Text-to-Video Generation) | 1080p-5s |
|
2.2 Generate(Text-to-Video Generation) | 1080p-10s |
|
2.2 Generate(Image-to-Video Generation) | 720p-5s |
|
2.2 Generate(Image-to-Video Generation) | 720p-10s |
|
2.2 Generate(Image-to-Video Generation) | 1080p-5s |
|
2.2 Generate(Image-to-Video Generation) | 1080p-10s |
|
2.2 Pikascenes(Generate scene videos) | 720p-5s |
|
2.2 Pikascenes(Generate scene videos) | 720p-10s |
|
2.2 Pikascenes(Generate scene videos) | 1080p-5s |
|
2.2 Pikascenes(Generate scene videos) | 1080p-10s |
|
Fetch | Result |
|