Generate
Back to Models
Models/kwaivgi/video · text-to-video · image-to-video · reference-to-videoPass-through

Kling Video 4.0

Kling Video 4.0 generates longer takes with sound that follows the action. MachGen supports text-to-video, image-to-video with an optional end frame, and reference-to-video with up to 10 images and 5 videos (30 seconds combined), at 720p or 1080p for 3 to 30 seconds.

Current MachGen support
Text to VideoImage to VideoReference to Video3-30s720p / 1080pPer type: 10 image / 5 video
Starting at $0.157 / s
720p$0.157/s
1080p$0.235/s
2160p$0.549/s
720p · with input video$0.094/s
1080p · with input video$0.141/s
2160p · with input video$0.329/s
Live public pricebook · input-video rows bill input + output seconds, at least 2x the outputSee full pricebook
Overview

Kling Video 4.0

Kling Video 4.0 generates longer takes with sound that follows the action. MachGen supports text-to-video, image-to-video with an optional end frame, and reference-to-video with up to 10 images and 5 videos (30 seconds combined), at 720p or 1080p for 3 to 30 seconds.

Kling Video 4.0 API on MachGen. Compare supported generation modes, examples, and current pricing from the live pricebook.

Model guide

Why choose Kling Video 4.0

Key strengths

  • Longer takes: up to 30 seconds in a single generation at 720p or 1080p.
  • Every video comes with native sound that follows the action on screen.
  • Image-to-video accepts a starting image and an optional end frame.
  • Reference to Video builds a scene from up to 10 reference images and 5 reference videos (30 seconds combined).

Good fit for

  • Longer cinematic scenes that would otherwise need several clips stitched together.
  • Dialogue and character moments where sound and motion need to match.
  • Image-led motion and transitions with optional opening and closing frame anchors.
Supported on MachGen

Inputs and output settings

This table reflects the model routes and controls currently exposed by MachGen.

ModeRequired inputAvailable settings
Text to VideoText promptResolution: 720p, 1080p
Aspect ratio: 16:9, 9:16, 1:1, 21:9
Duration: 3-30s
Frame rate: 24fps
Prompt limit: 26,000 characters
Image to VideoText prompt and source image; optional end frameResolution: 720p, 1080p
Duration: 3-30s
Frame rate: 24fps
Prompt limit: 26,000 characters
Reference to VideoPer-type limits: up to 10 images, up to 5 videos, plus a text promptResolution: 720p, 1080p
Aspect ratio: Adaptive, 16:9, 9:16, 1:1, 21:9
Duration: 3-30s
Frame rate: 24fps
Prompt limit: 26,000 characters
Workflow

Using Kling Video 4.0

  1. Choose a supported generation mode in Playground.
  2. Add the required prompt and source or reference assets.
  3. Select output settings from the controls shown for that mode.
  4. Generate, then inspect the returned asset before reusing the settings through the API.

Practical guidance

  • Describe the subject, action or composition, environment, and visual direction in a clear order.
  • For image animation, describe the intended motion and camera behavior instead of repeating what is already visible.
  • Give each reference a clear role in the prompt, using the names inserted by the Playground.
Best results

How to get better Kling Video 4.0 results

  • Describe what you want to hear as well as what you want to see, since every video includes sound.
  • For long takes, describe how the scene develops over time rather than a single moment.
  • Use compatible start and end frames when the final composition is fixed, and describe the transition rather than restating both images.
  • In Reference to Video, name the references you mention in the prompt and write them as @name.
Limits

Limits and availability

  • MachGen admits only the modes and settings listed above for this catalog model.
  • Source assets must finish uploading before a request can be submitted.
  • Generated results can vary between requests, including when the same prompt and settings are reused.
  • Kling Video 4.0 is pass-through. MachGen sends the request through its upstream provider integration and returns the generated asset.
Learn more

Learn more

For model background, technical details, and architecture, see the official Kling AI developer overview.

Try this model in the MachGen Playground.

Official documentation may describe capabilities or parameters that are not currently exposed by MachGen. Use the Inputs and output settings section above as the source of truth for this page.

Pricing

Kling Video 4.0 pricing

See Pricing for currently published MachGen rates. When available, the Playground estimate reflects the selected task and output settings.

On MachGen

Kling Video 4.0 on MachGen

Deployment: Pass-through. Kling Video 4.0 is pass-through. MachGen sends the request through its upstream provider integration and returns the generated asset.

The Playground and API sections on this page list the inputs and output settings exposed for this model.