> ## Documentation Index
> Fetch the complete documentation index at: https://runcrate.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Seedance Video Generation API

> Generate AI videos with ByteDance's Seedance models — text-to-video and multi-input generation via the Runcrate API.

export const RuncrateStyles = () => {
  if (typeof document !== 'undefined' && !document.getElementById('runcrate-overrides')) {
    const s = document.createElement('style');
    s.id = 'runcrate-overrides';
    s.textContent = `
      /* Match Runcrate's rounding scale (--radius: 0.75rem) */
      .rounded-sm { border-radius: 0.5rem !important; }   /* 8px */
      .rounded-md { border-radius: 0.625rem !important; } /* 10px */
      .rounded-lg { border-radius: 0.75rem !important; }  /* 12px */
      .rounded-l-sm { border-top-left-radius: 0.5rem !important; border-bottom-left-radius: 0.5rem !important; }
      .rounded-r-sm { border-top-right-radius: 0.5rem !important; border-bottom-right-radius: 0.5rem !important; }
      .rounded-l-md { border-top-left-radius: 0.625rem !important; border-bottom-left-radius: 0.625rem !important; }
      .rounded-r-md { border-top-right-radius: 0.625rem !important; border-bottom-right-radius: 0.625rem !important; }
      .rounded-l-lg { border-top-left-radius: 0.75rem !important; border-bottom-left-radius: 0.75rem !important; }
      .rounded-r-lg { border-top-right-radius: 0.75rem !important; border-bottom-right-radius: 0.75rem !important; }

      /* Cards: never pure white in light mode */
      .card { background-color: #fcfcfc !important; border-radius: 0.75rem !important; }
      html.dark .card { background-color: #141414 !important; }

      /* Docs hero box */
      .rc-hero { background-color: #fcfcfc; border: 1px solid #e0e0e0; }
      html.dark .rc-hero { background-color: #141414; border-color: #242424; }
      html.dark .rc-hero h1 { color: #f5f5f5; }

      /* Runcrate scrollbar — thin, transparent track, hide-until-hover thumb */
      ::-webkit-scrollbar { width: 6px; height: 6px; background-color: transparent; }
      ::-webkit-scrollbar-track { background-color: transparent; }
      ::-webkit-scrollbar-thumb { background-color: rgba(155, 155, 155, 0.5); border-radius: 10px; transition: opacity 0.3s ease; opacity: 0; }
      ::-webkit-scrollbar-thumb:hover { background-color: rgba(155, 155, 155, 0.7); }
      *:hover::-webkit-scrollbar-thumb,
      *:focus::-webkit-scrollbar-thumb,
      *:active::-webkit-scrollbar-thumb { opacity: 1; }
      * { scrollbar-width: thin; scrollbar-color: rgba(155, 155, 155, 0.5) transparent; }
    `;
    document.head.appendChild(s);
  }
  return null;
};

<RuncrateStyles />

Generate videos using ByteDance's Seedance models through the Runcrate API. Seedance supports text-to-video, image-to-video, and multi-input generation.

## Available models

| Model                 | Speed  | Durations | Features                                   |
| --------------------- | ------ | --------- | ------------------------------------------ |
| **Seedance 1.0 Pro**  | Medium | 2–12s     | Multi-input, image-to-video, text-to-video |
| **Seedance 2.0 Fast** | Fast   | 2–8s      | Faster generation, text-to-video           |

***

## Text-to-video

<CodeGroup>
  ```python Python theme={"theme":"github-dark"}
  from runcrate import Runcrate

  client = Runcrate(api_key="rc_live_YOUR_API_KEY")

  job = client.models.generate_video_and_save(
      "seedance-demo.mp4",
      model="ByteDance-Seed/seedance-1.0-pro",
      prompt="A golden retriever running through a field of sunflowers in slow motion, "
             "warm afternoon light, shallow depth of field, cinematic",
      duration=6,
      on_status=lambda j: print(f"  {j.status}..."),
  )

  print("Saved seedance-demo.mp4")
  ```

  ```typescript TypeScript theme={"theme":"github-dark"}
  import Runcrate from '@runcrate/sdk';

  const rc = new Runcrate({ apiKey: 'rc_live_YOUR_API_KEY' });

  const job = await rc.models.generateVideo({
    model: 'ByteDance-Seed/seedance-1.0-pro',
    prompt: 'A golden retriever running through a field of sunflowers in slow motion',
    duration: 6,
  });

  let status = job;
  while (status.status !== 'completed' && status.status !== 'failed') {
    await new Promise(r => setTimeout(r, 5000));
    status = await rc.models.getVideoStatus(job.id);
  }

  const videoBuffer = await rc.models.downloadVideo(job.id);
  await Bun.write('seedance-demo.mp4', videoBuffer);
  ```

  ```bash curl theme={"theme":"github-dark"}
  curl https://api.runcrate.ai/v1/videos \
    -H "Authorization: Bearer rc_live_YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "ByteDance-Seed/seedance-1.0-pro",
      "prompt": "A golden retriever running through a field of sunflowers in slow motion",
      "duration": 6
    }'
  ```
</CodeGroup>

***

## Seedance 2.0 Fast — quick iterations

Use the fast model for prototyping before committing to the higher-quality Pro model:

```python theme={"theme":"github-dark"}
from runcrate import Runcrate

client = Runcrate(api_key="rc_live_YOUR_API_KEY")

job = client.models.generate_video_and_save(
    "quick-test.mp4",
    model="bytedance/seedance-2.0-fast",
    prompt="A cup of coffee with steam rising, top-down view, cozy lighting",
    duration=4,
    on_status=lambda j: print(f"  {j.status}..."),
)
```

***

## Batch video generation

```python theme={"theme":"github-dark"}
from runcrate import Runcrate
from concurrent.futures import ThreadPoolExecutor

client = Runcrate(api_key="rc_live_YOUR_API_KEY")

scenes = [
    {"file": "intro.mp4", "prompt": "Close-up of hands unboxing a sleek tech product, white background", "duration": 4},
    {"file": "feature.mp4", "prompt": "Smartphone screen showing an app interface, finger scrolling", "duration": 6},
    {"file": "lifestyle.mp4", "prompt": "Person wearing earbuds jogging through a park at sunrise", "duration": 8},
]

def generate(scene):
    client.models.generate_video_and_save(
        scene["file"], model="ByteDance-Seed/seedance-1.0-pro",
        prompt=scene["prompt"], duration=scene["duration"],
    )
    print(f"Done: {scene['file']}")

with ThreadPoolExecutor(max_workers=3) as pool:
    pool.map(generate, scenes)
```

***

## Seedance vs. other video models

| Feature      | Seedance 1.0 Pro                    | Veo 3.0           | Kling v3        |
| ------------ | ----------------------------------- | ----------------- | --------------- |
| Max duration | 12s                                 | 8s                | 15s             |
| Multi-input  | Up to 9 images + 3 videos + 3 audio | Text only         | Reference video |
| Best for     | Multi-asset creative workflows      | Photorealistic 4K | Human motion    |

***

## Tips

* **Start with 2.0 Fast** for prototyping, switch to 1.0 Pro for final renders.
* **Prompt specificity matters** — include camera angle, lighting, and motion descriptions.
* **Duration**: shorter clips (2–4s) are tighter and more focused. Use 8–12s for establishing shots.

## Next steps

* [Video generation reference](/models/video-generation)
* [AI Video Pipeline](/examples/ai-video-pipeline) — batch pipeline with multiple models
* [Sora 2 Video API](/examples/sora-video-api) — compare with OpenAI's video model
