CheaperGen

Seedance 2.5 APIドキュメント

コードからSeedance 2.5を呼び出すために必要な情報をすべて掲載しています。ベースURLはhttps://cheapergen.com/api/v1です。まずプレイグラウンドでお試しください。

コーディングエージェントを使いますか?

これをClaude Code、Cursor、Codex、または任意のコーディングエージェントに貼り付けてください。プロジェクトにAPIを追加し、キーをCHEAPERGEN_API_KEYに保存して、支払いが発生する前に無料見積もりでテストします。

Add Seedance 2.5 (CheaperGen endpoint bytedance/seedance-2.5/text-to-video) to this project by following https://cheapergen.com/agents/integrate.md
エージェントが参照する情報

認証

ダッシュボード → APIキーでキーを作成し、Bearerトークンとして送信してください。キーはサーバー側で管理してください。

export CHEAPERGEN_API_KEY="cg_live_…"

# every request
Authorization: Bearer $CHEAPERGEN_API_KEY

Seedance 2.5 テキストから動画を生成 API

POST/api/v1/run/bytedance/seedance-2.5/text-to-video

非同期ジョブを送信すると、生成IDを含む202が返されます。GET /api/v1/generations/{id}をポーリングするか、webhook_urlを指定してください。詳細はジョブのライフサイクルをご覧ください。

入力パラメーター

名前種類説明料金に影響
prompt必須stringショットを説明してください:被写体、動き、カメラワーク、照明、スタイル。いいえ
aspect_ratiostring (enum)出力フレームの形状。
値:16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9
デフォルト:16:9
はい
resolutionstring (enum)出力解像度。高解像度では秒単価が上がります。
値:480p · 720p · 1080p
デフォルト:720p
はい
durationinteger生成クリップの長さ(4〜30秒)。秒単位で課金されます。
範囲:4~30s
デフォルト:5
はい
generate_audioboolean同期した音声、環境音、セリフを生成します。追加料金はありません。
デフォルト:true
いいえ
seedinteger同じ結果を再現するには、seedと設定を同じにしてください。ランダムにする場合は空欄のままにします。いいえ
webhook_urlstring (URL)任意。生成が完了すると、Webhookシークレットで署名してここにPOSTします。Webhookいいえ

リクエスト

const API = "https://cheapergen.com/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
  "Content-Type": "application/json",
};

// 1. Submit the job
let job = await fetch(`${API}/run/bytedance/seedance-2.5/text-to-video`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    "prompt": "ゴールデンアワーの光の中、陶芸家が花瓶を形作る様子をゆっくり寄って撮影。光に浮かぶほこり、浅い被写界深度。",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 5
  }),
}).then((r) => r.json());

// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
  await new Promise((r) => setTimeout(r, 3000));
  job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}

console.log(job.status === "succeeded" ? job.output.video.url : job.error);

レスポンス

{
  "id": "gen_8c2QmX1nq0k4",
  "object": "generation",
  "model": "bytedance/seedance-2.5",
  "endpoint": "bytedance/seedance-2.5/text-to-video",
  "mode": "text-to-video",
  "status": "queued",
  "input": {
    "prompt": "ゴールデンアワーの光の中、陶芸家が花瓶を形作る様子をゆっくり寄って撮影。光に浮かぶほこり、浅い被写界深度。",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 5
  },
  "output": null,
  "error": null,
  "cost": {
    "amount_usd": 0.2255,
    "currency": "usd",
    "estimated": true,
    "official_usd": null,
    "list_price_source": "official",
    "list_price_label": "Official",
    "saved_usd": null
  },
  "source": "api",
  "started_at": null,
  "completed_at": null,
  "urls": {
    "get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
    "cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
  },
  "created_at": "2026-10-15T09:21:04Z"
}

Seedance 2.5 画像から動画を生成 API

POST/api/v1/run/bytedance/seedance-2.5/image-to-video

非同期ジョブを送信すると、生成IDを含む202が返されます。GET /api/v1/generations/{id}をポーリングするか、webhook_urlを指定してください。詳細はジョブのライフサイクルをご覧ください。

入力パラメーター

名前種類説明料金に影響
prompt必須stringショットを説明してください:被写体、動き、カメラワーク、照明、スタイル。いいえ
image_url必須string (URL)開始フレームに使う画像。JPG/PNG/WebP、URLまたはアップロード。いいえ
end_image_urlstring (URL)任意の終了フレーム。モデルが2つのフレームの間を動画にします。いいえ
aspect_ratiostring (enum)出力フレームの形状。
値:16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9
デフォルト:16:9
はい
resolutionstring (enum)出力解像度。高解像度では秒単価が上がります。
値:480p · 720p · 1080p
デフォルト:720p
はい
durationinteger生成クリップの長さ(4〜30秒)。秒単位で課金されます。
範囲:4~30s
デフォルト:5
はい
generate_audioboolean同期した音声、環境音、セリフを生成します。追加料金はありません。
デフォルト:true
いいえ
seedinteger同じ結果を再現するには、seedと設定を同じにしてください。ランダムにする場合は空欄のままにします。いいえ
webhook_urlstring (URL)任意。生成が完了すると、Webhookシークレットで署名してここにPOSTします。Webhookいいえ

リクエスト

const API = "https://cheapergen.com/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
  "Content-Type": "application/json",
};

// 1. Submit the job
let job = await fetch(`${API}/run/bytedance/seedance-2.5/image-to-video`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    "prompt": "カメラがゆっくり近づき、彼女が振り向いて微笑む。風に髪がなびく。",
    "image_url": "https://cdn.cheapergen.com/samples/portrait.jpg",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 5
  }),
}).then((r) => r.json());

// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
  await new Promise((r) => setTimeout(r, 3000));
  job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}

console.log(job.status === "succeeded" ? job.output.video.url : job.error);

レスポンス

{
  "id": "gen_8c2QmX1nq0k4",
  "object": "generation",
  "model": "bytedance/seedance-2.5",
  "endpoint": "bytedance/seedance-2.5/image-to-video",
  "mode": "image-to-video",
  "status": "queued",
  "input": {
    "prompt": "カメラがゆっくり近づき、彼女が振り向いて微笑む。風に髪がなびく。",
    "image_url": "https://cdn.cheapergen.com/samples/portrait.jpg",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 5
  },
  "output": null,
  "error": null,
  "cost": {
    "amount_usd": 0.2255,
    "currency": "usd",
    "estimated": true,
    "official_usd": null,
    "list_price_source": "official",
    "list_price_label": "Official",
    "saved_usd": null
  },
  "source": "api",
  "started_at": null,
  "completed_at": null,
  "urls": {
    "get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
    "cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
  },
  "created_at": "2026-10-15T09:21:04Z"
}

Seedance 2.5 参照素材から動画を生成 API

POST/api/v1/run/bytedance/seedance-2.5/reference-to-video

非同期ジョブを送信すると、生成IDを含む202が返されます。GET /api/v1/generations/{id}をポーリングするか、webhook_urlを指定してください。詳細はジョブのライフサイクルをご覧ください。

入力パラメーター

名前種類説明料金に影響
prompt必須stringショットを説明してください:被写体、動き、カメラワーク、照明、スタイル。いいえ
reference_image_urlsstring[] (URLs)人物、商品、スタイル、シーン用の画像は最大30枚です。@Image1、@Image2…とプロンプト内で指定してください。
最大項目数:30
いいえ
reference_video_urlsstring[] (video URLs)動き、カメラワーク、効果用のクリップは最大10MP4/MOV本です(1本あたり2〜30秒, 合計30秒, 1ファイルあたり200 MB以下)。@Video1、@Video2…とプロンプト内で指定してください。参照動画の秒数も出力と合わせて課金され、動画入力時の低いトークン単価が適用されます。
最大項目数:10
はい
reference_audio_urlsstring[] (audio URLs)声、音楽、効果音用のクリップは最大10MP3/WAV本まで指定できます(1本あたり2〜30秒, 合計30秒, 1ファイルあたり15 MB以下)。@Audio1、@Audio2…と参照してください
最大項目数:10
いいえ
aspect_ratiostring (enum)出力フレームの形状。
値:16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9
デフォルト:16:9
はい
resolutionstring (enum)出力解像度。高解像度では秒単価が上がります。
値:480p · 720p · 1080p
デフォルト:720p
はい
durationinteger生成クリップの長さ(4〜30秒)。秒単位で課金されます。
範囲:4~30s
デフォルト:5
はい
generate_audioboolean同期した音声、環境音、セリフを生成します。追加料金はありません。
デフォルト:true
いいえ
seedinteger同じ結果を再現するには、seedと設定を同じにしてください。ランダムにする場合は空欄のままにします。いいえ
webhook_urlstring (URL)任意。生成が完了すると、Webhookシークレットで署名してここにPOSTします。Webhookいいえ

リクエスト

const API = "https://cheapergen.com/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
  "Content-Type": "application/json",
};

// 1. Submit the job
let job = await fetch(`${API}/run/bytedance/seedance-2.5/reference-to-video`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    "prompt": "大理石の机で、@Image1が@Image2の商品を開封する。@Video1のカメラワークを再現。",
    "reference_image_urls": [
      "https://cdn.cheapergen.com/samples/reference-1.jpg",
      "https://cdn.cheapergen.com/samples/reference-2.jpg"
    ],
    "reference_video_urls": [
      "https://cdn.cheapergen.com/samples/reference-1.mp4"
    ],
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 5
  }),
}).then((r) => r.json());

// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
  await new Promise((r) => setTimeout(r, 3000));
  job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}

console.log(job.status === "succeeded" ? job.output.video.url : job.error);

レスポンス

{
  "id": "gen_8c2QmX1nq0k4",
  "object": "generation",
  "model": "bytedance/seedance-2.5",
  "endpoint": "bytedance/seedance-2.5/reference-to-video",
  "mode": "reference-to-video",
  "status": "queued",
  "input": {
    "prompt": "大理石の机で、@Image1が@Image2の商品を開封する。@Video1のカメラワークを再現。",
    "reference_image_urls": [
      "https://cdn.cheapergen.com/samples/reference-1.jpg",
      "https://cdn.cheapergen.com/samples/reference-2.jpg"
    ],
    "reference_video_urls": [
      "https://cdn.cheapergen.com/samples/reference-1.mp4"
    ],
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 5
  },
  "output": null,
  "error": null,
  "cost": {
    "amount_usd": 0.2255,
    "currency": "usd",
    "estimated": true,
    "official_usd": null,
    "list_price_source": "official",
    "list_price_label": "Official",
    "saved_usd": null
  },
  "source": "api",
  "started_at": null,
  "completed_at": null,
  "urls": {
    "get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
    "cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
  },
  "created_at": "2026-10-15T09:21:04Z"
}

結果を取得する

生成処理は非同期です。statusがsucceeded、failed、またはcanceledになるまでポーリングしてください。送信時にwebhook_urlを指定する方法もあります。失敗した生成は自動返金されます。

curl https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4 \
  -H "Authorization: Bearer $CHEAPERGEN_API_KEY"

その他:ジョブのライフサイクル · Webhook · エラー

Seedance 2.5の料金

従量課金: 動画1秒あたりを使った分だけ支払えます。サブスクリプションは不要です (月額プランは任意)。生成に失敗した場合は自動で返金されます。

プラン公式価格CheaperGen
480p
16:9 · 24 fps
$0.1028/s$0.0935/s
720p
16:9 · 24 fps
$0.2311/s$0.2076/s
1080p
16:9 · 24 fps
$0.5686/s$0.5113/s
  • 公式価格:BytePlus ModelArk国際版のdreamina-seedance-2-5公開価格(480p〜720pは動画100万トークンあたり$10.7、1080pは$11.7。動画入力時は$6.4/$7。480p・16:9は854×480で出力)。価格確認日:2026年10月18日。
  • 動画トークン単位の課金。秒単価は16:9、入力動画なしの場合です。
  • 参照動画を使う場合、(参照動画の秒数 + 出力秒数)に動画入力時の低いトークン単価が適用されます。