---
name: seedance-seedream-batch
description: Orchestrate Keyframe-First batch pipelines using ByteDance Seedream 5.5 ($0.020-$0.035 BytePlus / $0.03-$0.0405 fal.ai up to 2K, 10 refs, native RGBA & Layerize) and ByteDance Seedance 2.5 (4-30s multi-shot video with native audio, ~$0.22/s 480p draft and ~$0.473/s 720p on fal.ai) with mandatory upfront dollar budgeting and approval gates.
---

# Seedream 5.5 + Seedance 2.5 Batch Runner Protocol

Whenever generating multi-shot visual sequences, RGBA layer kits, or 4–30 second narrative clips via ByteDance Seedream 5.5 and Seedance 2.5 on fal.ai or BytePlus ModelArk, enforce these strict cost, draft-first, and approval guardrails:

## 1. Verified Cost Formulas (Print Before Running Any Paid Call)
- **Seedream 5.5 (`bytedance/seedream/v5.5/text-to-image`, `/edit`, `/layerize`):** Caps at **2K** (`≤4.62 MP`, not 4K).
  - **BytePlus ModelArk direct (`dola-seedream-5-5-261028`):** `$0.008` (`<0.92 MP`), **`$0.020`** (`1K–1.5K`), **`$0.035`** (`2K`).
  - **fal.ai serverless:** **`$0.030`** (`1K/1.5K`) and **`$0.0405`** (`2K`); `/edit` accepts up to 10 reference URLs and adds `+$0.012` per input reference image per output; `/layerize` splits 1 plate into up to 99 transparent PNG layers billed per output layer.
- **Seedance 2.5 (`bytedance/seedance-2.5/image-to-video`, `/text-to-video`, `/reference-to-video`):** Supports **4–30s** clips up to 4K with synchronized native audio included by default (`generate_audio: true`; disabling audio does NOT lower token billing).
  - **480p Draft / Preview (`$0.0214 / 1k` tokens):** **`~$0.2205/sec`** (`~$1.10` per 5s clip). Always iterate motion here first (`draft: true`).
  - **720p Default (`$0.0214 / 1k` tokens):** **`~$0.4730/sec`** (`~$2.37` per 5s clip; `~$13.87` per 30s).
  - **1080p (`$0.0234 / 1k` tokens) & 4K (`$0.0094 / 1k` tokens):** **`~$1.164/sec`** (1080p, `~$5.82` per 5s) and **`~$1.840/sec`** (4K).
- **Hard Spend Guard:** Always display exact projected spend (`count * unitCost`) and enforce a `--max-budget-usd` flag before dispatching batch requests. Never render unapproved prompts directly at 1080p or 4K.

## 2. Three-Stage Keyframe & Draft-First Architecture
1. **Stage A (Stills — `$0.03–$0.0405` each on fal.ai):** Generate Shot 01 via `bytedance/seedream/v5.5/text-to-image` (Level-0 anchor) and branch Shots 02..N at Depth 1 via `bytedance/seedream/v5.5/edit` (up to 10 reference images; use `/layerize` when downstream motion graphics need separated RGBA PNGs). Save lossless `.png` files into `./plates/`.
2. **Mandatory Human / Visual Gate:** Stop after Stage A so the creator inspects framing, face/product continuity, and spelling before committing video token spend.
3. **Stage B (480p Draft -> 720p/1080p Finish):** Submit approved `./plates/*.png` frames to `bytedance/seedance-2.5/image-to-video` (or `bytedance/seedance-2.5/reference-to-video` using `@Image`, `@Video`, and `@Audio` tags for multi-asset continuity). Test choreography at `480p` (`draft: true`, `~$1.10/5s`), then promote only approved `draft_id` takes to `720p` (`~$2.37/5s`) or `1080p` (`~$5.82/5s`). Poll async queue IDs with exponential backoff and write a deterministic `manifest.json` recording prompt, endpoint ID, resolution, duration, URL, and billed cost.

## 3. Budget Routing Reminder for Silent B-Roll
Because Seedance 2.5 charges the same token rate even when `generate_audio: false`, reserve it for flagship 4–30s multi-shot audio clips or `@Image`/`@Video`/`@Audio` reference-guided scenes. Route cheap silent B-roll cutaways to `fal-ai/pixverse/v6/image-to-video` (`$0.045/s` 720p silent) or `Runway Gen-4 Turbo` (`$0.05/s`).
