How to Use Kling 4.0 in Claude Code

Seedance 2 team · Updated

Claude Code cannot render video on its own. Connect the Seedance 2 MCP server (https://www.seedance2.net/mcp) and Claude Code can generate Kling 4.0 clips: Kuaishou's video model, with sound generated in every clip. Clips run 3 to 30 seconds at up to 1080p, from 21 credits.

Add Kling 4.0 to Claude Code

  1. Run /plugin marketplace add nereo-io/seedance2-plugin, then /plugin install seedance2@seedance2-marketplace.
  2. Run /mcp, pick seedance2 and sign in with your Seedance 2 account.
  3. Without the plugin: claude mcp add --transport http seedance2 https://www.seedance2.net/mcp, then /mcp to sign in.

Use files from your project

Claude Code can send local images, video and audio to Seedance 2 with the upload_media tool (no public link needed) and use them as first frames, edit sources or references. Ask it to save the result to a path in your project and it downloads the file there.

Example prompts

  • Use ./shots/hero.png as the first frame and make a 10-second Kling 4.0 clip at 1080p: the camera pulls back to reveal the whole room. Save it to ./public/hero.mp4.
  • Upload the three photos in ./jacket and make an 8-second Kling 4.0 reference-to-video clip of a model wearing that jacket in a night market, 9:16.
  • For each line in ./storyboard.md, make a 5-second Kling 4.0 clip at 720p and save them in order as ./clips/01.mp4, ./clips/02.mp4 and so on.

Kling 4.0 pricing in Claude Code

Kling 4.0 is paid with Seedance 2 credits, not by Claude Code. Dollar figures run from the cheapest to the dearest plan rate. Full tables: https://www.seedance2.net/pricing.md.

ClipCreditsDollars
5 s, 720p35$0.82–$3.41
5 s, 1080p52$1.21–$5.07

Limits that affect your shot plan

Modes: text-to-video, image-to-video, reference-to-video. Length: 3 to 30 seconds. Resolutions: 720p, 1080p. Sound is generated with every clip. References: up to 10 images, 5 videos (15 in total).

Video generation is asynchronous: the assistant starts the clip, then checks on it until it is done, usually one to several minutes. Failed generations are refunded automatically.

When to choose another model

For most new videos, use Seedance 2.5 instead: clips run 4 to 30 seconds at up to 1080p, with up to 30 images, 10 videos, 10 audio files (50 in total). Use Kling 4.0 when you specifically want Kling 4.0's look; name it in the request and the assistant will use it.

Questions

How do I use Kling 4.0 in Claude Code?
Connect the Seedance 2 MCP server (https://www.seedance2.net/mcp) to Claude Code, sign in with your Seedance 2 account, and ask for a video with Kling 4.0 named in the request.
Is there a Kling 4.0 MCP server?
Seedance 2's MCP server at https://www.seedance2.net/mcp runs Kling 4.0 along with Seedance 2.5 and other video and image models, on one credit balance. You do not need a Kuaishou API key.
How much does a 5-second Kling 4.0 video cost?
35 credits at 720p ($0.82–$3.41 depending on the plan); higher resolutions cost more.
Can Claude Code use my local images with Kling 4.0?
Yes. Claude Code uploads files from your project with the upload_media tool and passes them to Kling 4.0 as frames or references, then downloads the finished clip wherever you ask.

Related