
Text to Video
Generate videos from text. Create cinematic sequences, animations, and visual stories with advanced video generation models.Text to Video
Generate videos from text. Create cinematic sequences, animations, and visual stories with advanced video generation models.Popular Models
Veo 3.1
Google's video model with exceptional prompt adherence and cinematic quality.Kling 2.5
Advanced motion control with temporal consistency and realistic physics.Hailuo 2.3
Fast generation with smooth motion and natural scene transitions.Wan 2.5
High-resolution video synthesis with style control and detail preservation.Veo 3.1
Google's video model with exceptional prompt adherence and cinematic quality.Kling 2.5
Advanced motion control with temporal consistency and realistic physics.Hailuo 2.3
Fast generation with smooth motion and natural scene transitions.Wan 2.5
High-resolution video synthesis with style control and detail preservation.Video generation typically takes longer than image generation. Be prepared for longer processing times depending on video length and quality settings.
Step 1: Generate a Video
Make a POST request to/generate/video with your prompt and video parameters. The API returns a job ID immediately.
Replace with your API TokenTo replace the YOUR_API_TOKEN placeholder in the above examples, you’ll need to generate an API token in krea.ai/settings/api-tokens. Follow the instructions on the API Keys & Billing page if you need help.
Step 2: Poll for Results
Video generation takes longer than image generation. Poll/jobs/{job_id} every 5 seconds to check progress.
Webhooks available!Set up webhooks to receive notifications when jobs complete. See the Webhooks guide to get started.
Webhooks available!Set up webhooks to receive notifications when jobs complete. See the Webhooks guide to get started.
Common Parameters
| Parameter | Type | Description |
|---|---|---|
prompt | string | Detailed description of the video content |
duration | number | Video length in seconds (3-10) |
width | number | Video width in pixels (256-1920) |
height | number | Video height in pixels (256-1080) |
fps | number | Frames per second (12, 24, or 30) |
seed | number | Random seed for reproducible results |
model | string | Video generation model to use |