One API key for Seedance, GPT Image and Claude
Decode puts AI video, image and chat models behind one API: Seedance 2.5 and 2.0 video on the official BytePlus and Volcano Engine channels, GPT Image and Seedream for images, and Claude for code and chat. Pay as you go, no subscription.
Video: Seedance 2.5 and 2.0
ByteDance's video generation models, for text to video, image to video and multi-reference video. Seedance 2.5 makes up to 30 seconds per video, at about $0.1965/s for 720p. Seedance API overview →
Seedance 2.5 API
Up to 30 s · 480p / 720p / 1080p
From ¥0.5044/s · $0.0874/s
Seedance 2.0 API
Up to 15 s · 480p / 720p / 1080p / 4K
From ¥0.3315/s · $0.0572/s
Images and chat
GPT Image API
2 models on the OpenAI Images API, about $0.04 per image
Claude API
65% off the official price, works with Claude Code
Why Decode
- Official channels: Seedance runs on the official Volcano Engine and BytePlus APIs, with the same results as the vendor.
- One key: video, image and chat models share one balance and one API key.
- No code changes: OpenAI, Anthropic and Ark compatible; change the base URL and you are done.
- No charge on failure: failed tasks are refunded in full, and every call is listed in the usage log.
- Easy payment: cards and USDT, plus Alipay and WeChat Pay where enabled; your balance never expires.
Your first video in a few lines
Submit a task, then poll for the result. The quickstart has every step.
curl https://decode8.com/api/v3/contents/generations/tasks \
-H "Authorization: Bearer $DECODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "dreamina-seedance-2-5-261111",
"content": [
{
"type": "text",
"text": "An orange cat stretches on a sunny windowsill, slow dolly-in, warm cinematic light"
}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": true
}'import os
import time
import requests
BASE_URL = "https://decode8.com/api/v3/contents/generations/tasks"
HEADERS = {"Authorization": f"Bearer {os.environ['DECODE_API_KEY']}"}
payload = {
"model": "dreamina-seedance-2-5-261111",
"content": [
{
"type": "text",
"text": "An orange cat stretches on a sunny windowsill, slow dolly-in, warm cinematic light"
}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": True
}
# 1. Submit the task and get its ID
task_id = requests.post(BASE_URL, headers=HEADERS, json=payload).json()["id"]
# 2. Poll every 10 seconds until it ends
while True:
task = requests.get(f"{BASE_URL}/{task_id}", headers=HEADERS).json()
if task["status"] in ("succeeded", "failed", "cancelled", "expired"):
break
time.sleep(10)
print(task["status"], task.get("content", {}).get("video_url"))const BASE_URL = 'https://decode8.com/api/v3/contents/generations/tasks'
const headers = {
Authorization: `Bearer ${process.env.DECODE_API_KEY}`,
'Content-Type': 'application/json',
}
const payload = {
"model": "dreamina-seedance-2-5-261111",
"content": [
{
"type": "text",
"text": "An orange cat stretches on a sunny windowsill, slow dolly-in, warm cinematic light"
}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": true
}
// 1. Submit the task and get its ID
const { id } = await fetch(BASE_URL, {
method: 'POST',
headers,
body: JSON.stringify(payload),
}).then((res) => res.json())
// 2. Poll every 10 seconds until it ends
let task
do {
await new Promise((resolve) => setTimeout(resolve, 10_000))
task = await fetch(`${BASE_URL}/${id}`, { headers }).then((res) => res.json())
} while (['queued', 'running'].includes(task.status))
console.log(task.status, task.content?.video_url)No code needed
Video console
Write a prompt, add reference images and generate Seedance videos.
Canvas
Lay out shots on an infinite canvas and continue each from the last frame.
Setup
Copy ready-made configuration for Claude Code, Cherry Studio and more.
FAQ
What is Decode?
Decode is an AI API gateway: one account, one balance and one API key for Seedance video, GPT Image and Seedream images, and Claude chat models, billed by actual usage.
How do I get started?
Sign up, top up, create an API key in the console and call it with the official SDKs or cURL. Without code, generate in the video console or on the canvas.
How can I pay?
Cards through Stripe and USDT (TRC20), plus Alipay and WeChat Pay where enabled. Pay as you go, with no subscription or monthly fee.
Am I charged when a generation fails?
No. Video tasks hold a deposit when submitted and settle on actual usage; failed tasks are refunded in full automatically.
Which tools work with Decode?
Anything that speaks the OpenAI or Anthropic API, such as the official SDKs, Claude Code and Cherry Studio; Seedance video uses the same task API as Volcano Engine Ark. Only the base URL and key change.