The RelayDance Skill lets any skill-capable agent generate Seedance 2.0 videos with one sentence: text-to-video, image-to-video, multi-reference characters, and 480p-to-4K upscaling. Per-second billing, no queue, no KYC.
Install in 30 seconds Download zip (8 KB)npx relaydance-skill
Installs to ~/.claude/skills/relaydance. Use --project for the current project only, or --dir PATH for Cursor / Codex skill directories.
Paste this into Claude Code (or any agent that can run commands):
Please install the RelayDance skill from
https://relaydance.com/skill/relaydance-skill.zip
into my skills directory.
export RELAYDANCE_API_KEY=sk-... # macOS / Linux
setx RELAYDANCE_API_KEY sk-... # Windows
Get a key from the RelayDance console (API Tokens). Restart your agent and you are done.
After install, just tell your agent what you want. It picks the model, submits the task, polls until done, and downloads the MP4. Try these:
A 5 second 480p clip typically renders in about 100 seconds; the agent waits and saves the file for you. Result URLs expire within 24 hours, so the skill downloads promptly.
Every step is also a plain command, useful for CI pipelines and batch jobs:
# 1. submit a text-to-video task (returns a task_id)
python3 create_video.py "a small paper boat drifting on a calm pond" \
--model doubao-seedance-2-0-mini-480p --duration 5 --ratio 16:9
# 2. wait for it and save the MP4
python3 query_task.py TASK_ID --download --output-dir ./videos
# image-to-video: local files are inlined automatically
python3 create_video.py "the sun slowly sets behind the horizon" --image ./ref.png
# upscale a previous result (cheap path to high resolution)
python3 upscale_video.py "https://...mp4" --target 1080p
| Model | $ / M tokens | with video input | 5s clip anchor |
|---|---|---|---|
doubao-seedance-2-0-480p / -720p | $8.75 | $5.375 | about $0.44 / $0.95 |
doubao-seedance-2-0-1080p | $9.625 | $5.875 | about $2.35 |
doubao-seedance-2-0-4k | $5.00 (about 4x tokens of 1080p) | $3.00 | about $4.90 |
doubao-seedance-2-0-mini-480p / -720p | $4.375 | $2.625 | from about $0.22 |
doubao-seedance-2-0-fast-260128 | $7.00 | $4.125 | |
seedance-nsfw family (480p to 4K), seedance-fast-nsfw | same rates as the standard model of the same resolution | ||
seedance-upscale-720p / 1080p / 2k / 4k | per second of footage | about $0.02 (5s to 720p) | |
Tokens scale with resolution and duration (width x height x 24fps x seconds / 1024), so each resolution has its own per-million-token rate. When a request includes video input (video-to-video), the discounted "with video input" rate applies automatically. Billing is settled per second on actual output; any pre-charge difference is refunded. Full price list: relaydance.com/pricing
Four small Python scripts (standard library only, no dependencies) plus a SKILL.md the agent reads. Everything talks to the OpenAI-compatible RelayDance API:
| Script | Does |
|---|---|
create_video.py | submit text/image-to-video tasks (--nsfw flag gates unrestricted models; --first-frame / --last-frame for frame control) |
query_task.py | poll status, download the MP4 |
upscale_video.py | super-resolution on an existing video URL |
manage_assets.py | asset library: register an image once, reuse its asset:// URI for recurring characters |
Prefer raw HTTP? The same API is plain REST: API documentation.
No. The skill is free and open source (MIT). You pay only for video generation through your RelayDance API key, per second of output.
Anything that reads skill directories: Claude Code, Cursor, Codex, and compatible CLI agents. The scripts are plain Python 3, so any agent that can run a command can use them.
Typically 1 to 3 minutes for a 5 second 720p clip; 4K takes longer. The skill polls automatically.
RelayDance relays to ByteDance's official Seedance infrastructure. Output URLs are served from ByteDance TOS storage and can be verified independently.