Skip to main content

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.
Example Response

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.
Example Completed Response
Webhooks available!Set up webhooks to receive notifications when jobs complete. See the Webhooks guide to get started.

Common Parameters

For a list of detailed parameters for all models, see the Model APIs page.
Prompt Tips for Better Videos:
  • Be specific about motion and camera movement
  • Describe the scene, lighting, and atmosphere
  • Mention timing (e.g., “slowly panning”, “quick zoom”)
  • Include style references (e.g., “cinematic”, “documentary style”)
Video generation costs more than image generation. See API Keys & Billing for per-model pricing and how to top up your API balance.