label llms.txt open_chatgpt

Seedance MCP Server

Connect Claude Code, Cursor, VS Code, Codex, Windsurf and other MCP clients to Seedance 2.5. Your AI agent can create videos and fetch the results directly, using your existing Seedance API key and credits.

MCP · Streamable HTTP Endpoint: https://seedanceapi.org/mcp

The MCP server uses the same API key, credits and logs as the REST API. It calls the v3 endpoints (/v3/generate and /v3/status) for you, so validation and pricing are identical to the REST API.

Quick start

1. Create an API key

Create an API key on the API Keys page.

2. Add the server to your MCP client

Replace YOUR_API_KEY with your key.

bash
1claude mcp add --transport http seedance https://seedanceapi.org/mcp --header "Authorization: Bearer YOUR_API_KEY"

3. Ask your agent

For example:

"Use Seedance to make a 5-second 720p video of a red fox running through fresh snow at sunrise, then give me the video link."

Tools

seedance_generate_video

Creates a Seedance 2.5 or 2.5 Flash task and returns a task_id within seconds. The video itself is returned by seedance_get_task.

Body ParametersJSON
prompt:string

Scene description: subject, action, camera, style. Max 5000 characters.

model:optional string

seedance-2.5 or seedance-2.5-flash. Defaults to seedance-2.5.

duration:optional integer

4-30 seconds, or -1 for video editing. Defaults to 5.

resolution:optional string

480p, 720p or 4k (4k: seedance-2.5 only). Defaults to 720p.

aspect_ratio:optional string

16:9, 9:16, 4:3, 3:4 or adaptive. Defaults to 16:9.

generate_audio:optional boolean

Generate synchronized audio. Defaults to true.

image_urls:optional string[]

Up to 4 public image URLs (image-to-video).

first_frame_url:optional string

Public image URL used as the first frame.

last_frame_url:optional string

Public image URL used as the last frame. Requires first_frame_url.

reference_video_urls:optional string[]

Up to 3 public video URLs (30 s total), or exactly 1 video to edit with duration -1.

reference_audio_urls:optional string[]

Up to 3 public audio URLs.

web_search:optional boolean

Let the model search the web for references. Defaults to false.

seedance_get_task

Returns the task status: IN_PROGRESS, SUCCESS or FAILED. When SUCCESS, the result includes the MP4 video URL.

Body ParametersJSON
task_id:string

The task_id returned by seedance_generate_video.

How generation works

  1. The agent calls seedance_generate_video. Credits are deducted when the task is created.
  2. The agent calls seedance_get_task about every 20-30 seconds. A 5-10 second video usually takes 2-5 minutes.
  3. When status is SUCCESS, the agent gets the video URL. Failed tasks are refunded automatically.

Pricing

MCP calls are billed exactly like /v3/generate: credits per second of output video, 1 USD = 100 credits.

ModelResolutionCredits per second
Seedance 2.5480p28 credits/s
Seedance 2.5720p63 credits/s
Seedance 2.54k251 credits/s
Seedance 2.5 Flash480p18.5 credits/s
Seedance 2.5 Flash720p41 credits/s

Example: Seedance 2.5, 720p, 10 seconds = 630 credits.

Limitations

  • Image, video and audio inputs must be public http(s) URLs. Local files cannot be uploaded through MCP yet.
  • The MCP server exposes Seedance 2.5 and 2.5 Flash. For Seedance 2.0, 2.0 Fast and 2.0 Mini, use the REST API ( v1/v2).
  • Authentication uses an API key in the Authorization header. Web connectors that require OAuth (such as Claude.ai or ChatGPT custom connectors) are not supported yet.

FAQ

Do I need a separate key or plan for MCP?

No. Use the same API key and credit balance as the REST API. MCP requests also appear in your API logs.

Why doesn't the tool return the video right away?

Video generation takes a few minutes, longer than most MCP clients wait for a single tool call. The tool returns a task_id immediately, and the agent polls seedance_get_task until the video is ready.

Will my agent be charged twice if it retries?

Every successful seedance_generate_video call creates a new billed task. The server tells the agent to poll the existing task instead of submitting again.

Which MCP clients are supported?

Any client that supports Streamable HTTP with custom headers, including Claude Code, Cursor, VS Code, Codex and Windsurf. Claude Desktop works through the mcp-remote bridge.