Kling v2.1 – AI Video Generator
Master (Text‑to‑Video) • Pro / Standard (Image‑to‑Video). Generate short cinematic clips in seconds with clear controls and predictable pricing.
API Endpoints
Use our REST API to submit Kling tasks and check status. Authenticate via session cookie or API token.
/api/v1/kling/generate/
Master (Text‑to‑Video)
curl -X POST https://ulazai.com/api/v1/kling/generate/ \
-H 'Content-Type: application/json' \
-b 'sessionid=YOUR_SESSION' \
-d '{
"model": "kling/v2-1-master-text-to-video",
"prompt": "Handheld dolly-in across a neon night market...",
"duration": "5",
"aspect_ratio": "16:9",
"negative_prompt": "blur, distort",
"cfg_scale": 0.5
}'
Pro (Image‑to‑Video)
curl -X POST https://ulazai.com/api/v1/kling/generate/ \
-H 'Content-Type: application/json' \
-b 'sessionid=YOUR_SESSION' \
-d '{
"model": "kling/v2-1-pro",
"prompt": "Particles drift across the brand plate, gentle parallax...",
"image_url": "https://example.com/still.webp",
"duration": "10",
"negative_prompt": "flicker, warp",
"cfg_scale": 0.6,
"tail_image_url": "https://example.com/outro.webp"
}'
Standard (Image‑to‑Video)
curl -X POST https://ulazai.com/api/v1/kling/generate/ \
-H 'Content-Type: application/json' \
-b 'sessionid=YOUR_SESSION' \
-d '{
"model": "kling/v2-1-standard",
"prompt": "Slow logo push-in with subtle dust motes...",
"image_url": "https://example.com/logo.png",
"duration": "5"
}'
/api/v1/kling/status/<generation_id>/
curl https://ulazai.com/api/v1/kling/status/UUID/ -b 'sessionid=YOUR_SESSION'
/api/v1/kling/enhance/
curl -X POST https://ulazai.com/api/v1/kling/enhance/ \
-H 'Content-Type: application/json' \
-b 'sessionid=YOUR_SESSION' \
-d '{"prompt":"Market at night, neon reflections, handheld motion"}'
We use webhooks for completion plus polling fallback. Credits are charged on submit and auto‑refunded if the task fails. See the Kling API docs or the full API docs for auth options.
Models
Master — Text‑to‑Video
Write a prompt. Kling composes a 5–10s scene with smooth motion and consistent style. Great for quick ideation and social teasers.
- • Inputs: prompt, duration, aspect_ratio
- • Enhance prompt via AI
- • Credits: 5s=160, 10s=320
Pro — Image‑to‑Video
Animate a still image into a dynamic shot. Optional tail image for smooth end frames. Ideal for product motion, logos, or scene reveals.
- • Inputs: prompt, image_url, duration, tail_image_url (optional)
- • Credits: 5s=60, 10s=120
Standard — Image‑to‑Video
A streamlined I2V flow with predictable costs for short clips. Perfect for experimentation and bulk concepts.
- • Inputs: prompt, image_url, duration
- • Credits: 5s=30, 10s=60
Why teams use Kling
Fast & scalable
Async tasks with webhook callbacks, plus polling fallback. Render at scale without blocking your UI.
Simple controls
Duration, aspect ratio (T2V), CFG, negatives, and prompt‑enhance. Clear, minimal UI for fast iteration.
Transparent credits
Pricing shown before you generate. Usage/refunds tracked automatically in your credit history.
Pricing
Master (T2V): 5s=160, 10s=320 • Pro (I2V): 5s=60, 10s=120 • Standard (I2V): 5s=30, 10s=60
Try Kling PlaygroundNote: Final costs depend on selected options and may change as models evolve.
FAQ
What’s the difference between Master, Pro and Standard?
Master generates from text prompts only (Text‑to‑Video). Pro and Standard animate a still image (Image‑to‑Video); Pro also supports a tail image for smoother endings. Pricing reflects capability and speed.
How long do generations take?
Most 5–10s clips finish within 1–2 minutes. The app uses webhooks for completion events and light polling as a fallback.
Can I reuse prompts?
Yes. Save your best prompts and reuse them across models. The playground includes an AI prompt enhancer to refine style and motion cues.