Overview
Text to Video generates complete video content from text descriptions using advanced AI video synthesis. The API creates original video scenes, animations, and visual narratives based on detailed text prompts with customizable styles and durations. Typical processing time: ~51s median (see all processing times)How It Works
- Write a prompt - Describe the video you want to create
- Set duration - Choose how long the video should be
- API generates the video - AI creates original video content
- Download the result - Retrieve your generated video
Use Cases
- Social media content - Create engaging videos from ideas
- Marketing videos - Generate product and promotional content
- Concept visualization - Bring written ideas to visual life
- Educational content - Create explainer and demonstration videos
- Creative projects - Artistic and experimental video creation
Best Practices
Writing Effective Prompts
✅ Good prompts:- “A majestic lion walking through golden savanna grass at sunset, cinematic slow motion, warm golden lighting”
- “Underwater scene with colorful tropical fish swimming around a coral reef, crystal clear blue water, nature documentary style”
- “Futuristic city skyline at night with flying cars and neon lights, cyberpunk aesthetic, sweeping aerial shot”
- Too vague: “A nice video”
- No action: “A city” (add what’s happening)
- Conflicting instructions: “Fast and slow motion”
Prompt Structure
For best results, include these elements:Duration Guidelines
Code Examples
Basic Text to Video
Pricing
Text to Video pricing depends on the model, resolution, and duration you choose. Credits are only charged for the frames that actually render — the estimate returned when you create the job is adjusted after the render completes. The create response includescredits_charged so you can log the exact cost of every job.
Resolution Limits
Supported resolutions are 480p, 720p, 1080p, and 4k, depending on the model (for example,kling-3.0 supports 4k) and your subscription tier. Output defaults to 720p on paid tiers and 480p on the free tier. See Resolution Limits for tier details.
API Reference
Text to Video API Reference
View full API specification
Related Tools
Image to Video
Animate static images into videos
Animation
Create animated videos with motion effects