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

# Seedance 2.5 Advanced: Draft, Audio-Only, Edit & Extend

> Generate low-cost 480p Draft previews before rendering 1080p finals, drive video with audio only, and edit or extend existing videos

> [!NOTE]
>
> **Key points for AI agents**
>
> * Video edit and extend (`"video_operation": "edit"` / `"extend"`) work on `seedance-hc-2.5`, `seedance-hc-2.5-flash`, `seedance-n-2.5`, `seedance-n-2.5-flash`, `seedance-ma-2.5`, `seedance-ma-2.5-flash`, `seedance-nsfw-2.5`, and `seedance-nsfw-2.5-flash`. For `edit`, omit `duration` and `aspect_ratio` (output matches source video).
> * Draft previews (`"draft": true` -> `"draft_task_id"`) work on `seedance-hc-2.5` only: Step 1 renders fixed 480p without reference videos; Step 2 renders fixed 1080p using only `model` and `draft_task_id`.
> * Audio-only reference (passing `audio_with_roles` with no images or videos) is supported on `seedance-hc-2.5`, `seedance-hc-2.5-flash`, `seedance-n-2.5`, `seedance-n-2.5-flash`, `seedance-ma-2.5`, `seedance-ma-2.5-flash`, `seedance-nsfw-2.5`, and `seedance-nsfw-2.5-flash`.

## Draft preview (480p -> 1080p)

Preview composition and motion at low cost before committing to a full 1080p render.

### Step 1: Generate a Draft preview

```json theme={null}
{
  "model": "seedance-hc-2.5",
  "prompt": "A girl turns to the camera and smiles against an evening city skyline",
  "duration": 8,
  "aspect_ratio": "9:16",
  "draft": true,
  "image_with_roles": [
    { "url": "https://ruyi6.cn/r/EXAMPLE_XXX.png", "role": "reference_image" }
  ]
}
```

* Always renders at 480p (`resolution` is ignored).
* Reference images and audio are allowed; reference videos are not.

### Step 2: Render the 1080p final

```json theme={null}
{
  "model": "seedance-hc-2.5",
  "draft_task_id": "task_from_step_1"
}
```

* Always renders at 1080p, preserving the Draft's duration and structure.
* Do not attach new media or set `draft: true`.

## Audio-only reference

Drive a video directly from voiceover or music on `seedance-hc-2.5`, `seedance-hc-2.5-flash`, `seedance-n-2.5`, `seedance-n-2.5-flash`, `seedance-ma-2.5`, `seedance-ma-2.5-flash`, `seedance-nsfw-2.5`, or `seedance-nsfw-2.5-flash`:

```json theme={null}
{
  "model": "seedance-hc-2.5",
  "prompt": "A host presenting a new product to the camera with lip sync matching the audio",
  "duration": 10,
  "resolution": "720p",
  "aspect_ratio": "9:16",
  "audio_with_roles": [
    { "url": "https://ruyi6.cn/r/EXAMPLE_ZZZ.mp3", "role": "reference_audio" }
  ]
}
```

## Video edit and extend

Supported on `seedance-hc-2.5`, `seedance-hc-2.5-flash`, `seedance-n-2.5`, `seedance-n-2.5-flash`, `seedance-ma-2.5`, `seedance-ma-2.5-flash`, `seedance-nsfw-2.5`, and `seedance-nsfw-2.5-flash` via `video_operation`:

| Mode | `video_operation` | Purpose | Constraints |
| - | - | - | - |
| Generate (default) | Omit or `generate` | Create a new video inspired by reference assets | Choose `duration` and `aspect_ratio` freely |
| Edit | `edit` | Modify part of an existing video (background, outfit, dialogue) while keeping the rest intact | Requires a 4–30s reference video; **omit** `duration` and `aspect_ratio` |
| Extend | `extend` | Continue the action after the end of an existing video | Requires a reference video; aspect ratio follows source; choose `duration` (4–30s) |

### Edit example

```json theme={null}
{
  "model": "seedance-n-2.5",
  "prompt": "Replace the background with a modern gym, keep everything else unchanged",
  "video_operation": "edit",
  "resolution": "720p",
  "video_with_roles": [
    { "url": "https://ruyi6.cn/r/EXAMPLE_XXX.mp4", "role": "reference_video", "duration_seconds": 6 }
  ]
}
```

On `seedance-hc-2.5`, also pass `reference_video_duration` (4–30s). Optional `omni_reference_task_type` (`reference` / `edit` / `extend`) is accepted if consistent with `video_operation`.

## Mute generated audio

To generate a silent video (so you can add your own soundtrack later):

```json theme={null}
{ "model": "seedance-hc-2.0", "prompt": "...", "duration": 5, "generate_audio": false }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.