Kling 3.0 API for Developers

Kling 3.0 API

Generate multi-shot AI videos with Kling 3.0 via API. Strong character control, camera movement, and native audio — no GPU setup required.

Free credits on signup
Transparent per-credit pricing
No watermarks on paid plans
Subscriptions, credit packs, or usage-based billing
Auto-scaling
Street
Hologram
Night out
Penguin
Sky ring
Jet ski
Train

Trusted by teams at

Everything You Need to Ship Kling 3.0

Character-controlled multi-shot video with cinematic camera movement.

Character Control
Maintain consistent character identity, pose, and appearance across multi-shot sequences.
Camera Movement
Precise dolly, tracking, orbit, and handheld camera styles that follow cinematic conventions.
Native Audio
Toggle audio generation on or off per request. Synced sound without post-production layering.
1080p Output
Generate at up to 1080p resolution for production-quality video output.
Auto-Scaling Infrastructure
Scales compute to match demand automatically. No GPU provisioning or cold starts.
Commercial-Ready
Paid plans support non-watermarked outputs with commercial licensing for production delivery.

Integrate in 3 Steps

Add character-controlled AI video to your app in minutes.

1
Get Your API Key
Sign up free and generate an API key from the Developer dashboard. You get free credits to start.
2
Send Your Request
Pass a text prompt or reference image to the image-to-video endpoint and select the kling-3.0 model.
3
Get Results & Scale
Receive the generated video via response or webhook. Deploy to production — infrastructure scales automatically.
Get Started Free

Generate a Kling 3.0 video with Python, Node.js, or HTTP

Start with a reference image and motion prompt. This example calls Magic Hour’s image-to-video API with Kling 3.0.

from magic_hour import Client
from os import getenv

client = Client(token=getenv("API_TOKEN"))
res = client.v1.image_to_video.generate(
    assets={"image_file_path": "/path/to/first-frame.png"},
    end_seconds=5,
    model="kling-3.0",
    name="Kling 3.0 Video",
    resolution="1080p",
    style={"prompt": "A cinematic dolly zoom through a neon city at night"},
)
Before you run
  1. Create an API key and add it to the authorization value shown in your chosen snippet.
  2. Provide a reference image you own. Start with one well-lit product on a simple background. For web-hosted inputs, use direct HTTPS file URLs. For private or local files, upload the file first and use its returned file_path.
  3. Choose Python, Node.js, or HTTP above, then review the example before running it. The Kling example submits one billable job.
Expected result and async processing

The POST returns a project id and credits_charged, not the finished media. Save the project ID and poll it with backoff until the status is complete, error or canceled. For completed jobs, read the final credit charge, download URL and expiration time. Handle errors and cancellations without continuing to poll. Download your output before the URL expires; if it expires, retrieve the project again for a fresh URL.

Stopping a poll does not cancel the job or prove failure. Reuse the saved project ID to resume polling without creating another job. If the create request times out before returning an ID, do not submit it again. Email support@magichour.ai with the endpoint, request name and UTC timestamp so the request can be traced first. For production, use webhooks, verify signatures and handle repeated deliveries. Poll for cancellation because canceled jobs do not emit a cancellation webhook. See measured processing times; queue load, input and settings affect latency.

Pricing and usage estimates

Kling 3.0 pricing depends on resolution, duration and audio. Read the completed project for this request’s exact charge; the calculator below estimates supported monthly workloads rather than this five-second request. These are usage-based billing examples, not subscription prices or a promise of free generation. Usage-based billing requires setup assistance. Subscription and credit-pack economics differ. Video create charges are estimates; read the completed project for the final charge.

Billing rates · Model credit costs · Cost calculator

Troubleshooting
  • 401: verify the API key and Bearer header. Keep keys in server environment variables.
  • Invalid input: use direct file URLs or uploaded paths, check the response message and compare the payload with the endpoint schema. Confirm the model supports the requested duration and resolution.
  • Insufficient balance or plan access: inspect the error code and account balance and tier. A free key does not unlock every model.
  • 429 or transient polling failure: reduce concurrency, back off and resume the existing project ID. Do not blindly retry a create request.
  • Unexpected output: reduce camera motion and simplify the prompt. Review packaging, logos and geometry before using a generated clip in a product listing; exact fidelity is not guaranteed.

Kling text-to-video schema

Continue with the product video recipe when you are ready to turn this first request into a repeatable workflow.

Get an API key and run your first request →

Estimate Your API Costs

Every generation uses credits. Prepay with a subscription or one-time credit packs, or request usage-based billing for monthly invoicing and volume discounts.
Seconds of Video Per Month
100 seconds
seconds
Recommended plan
Pro Yearly
$300
/year
300,000 credits per year
Up to 3.5 hours of video
Up to 30,000 images
PRO YEARLY covers your usage
Estimated usage
24,000credits / month
Included
25,000credits / month
Remaining headroom
1,000credits / month
TOTAL BILL
$300
/year

Kling 3.0 API Pricing

Subscription plans for standard usage.

Need usage-based billing?

Email us or message us in Intercom for monthly billing with graduated volume discounts.

Built for Builders

See how developers use the Kling 3.0 API to power real products.

Brand & Product Videos
Create polished campaign videos with consistent character identity and professional camera work.
Social Media Content
Generate engaging short-form content with cinematic quality for TikTok, Reels, and Shorts.
Film Pre-Visualization
Test camera angles, blocking, and character performances before committing to production.
E-Commerce & Virtual Try-On
Generate product demonstration videos with consistent framing and professional motion.
Content Platforms
Power video creation tools with high-quality AI generation and character consistency.
Gaming & Trailers
Create character-driven game trailers and cinematics with controlled camera movement.
Try before integrating

Try Kling 3.0 Free — No Code Required

Test quality first with the free tool, then plug the same output quality into your app with the API when you are ready.

Kling 3.0 API — Frequently Asked Questions

Magic Hour's Kling 3.0 API lets developers generate AI videos using Kuaishou's Kling 3.0 model via REST API with SDKs for Python, Node.js, Go, and Rust.

Sign up at magichour.ai, generate an API key from the Developer dashboard, and install an SDK or call the REST API directly. Free credits included on signup.

Kling 3.0 excels at multi-shot storytelling with strong character control and camera movement. It supports 720p, 1080p, and 4k output with toggle-able native audio.

Kling 3.0 generates videos up to 15 seconds per request in 720p, 1080p, or 4k resolution.

Kling 3.0 outputs at 720p, 1080p, and 4k in 9:16, 16:9, and 1:1 aspect ratios.

Yes. Kling 3.0 supports toggle-able native audio generation. You can enable or disable it per request.

Magic Hour offers subscription plans starting at $19/month (Creator), $39/month (Pro), and $99/month (Business), each including a monthly credit allotment. Credits are consumed per generation based on output length and model. One-time credit packs add credits without a subscription. Usage-based billing with graduated volume discounts is available by request. A free tier with credits is available on signup — no credit card required.

Yes. Paid API plans support non-watermarked outputs with commercial licensing for production and client work.

Sign up at magichour.ai/developer — no credit card required. You'll receive free credits and an API key immediately. The key works across all Magic Hour API endpoints including Kling 3.0. Start making API calls in minutes using our Python, Node.js, Go, or Rust SDKs.

Yes. Every new Magic Hour account gets free credits on signup that work across all API endpoints. No credit card is required to get started. Paid plans unlock higher credit limits, higher concurrency, and commercial use rights.

Start Building with the Magic Hour Kling 3.0 Video API

Free credits on signup. SDKs for Python, Node.js, Go, and Rust. Production-ready in minutes.