Popular Models
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/kling/kling-2.5 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.