# Seedance 2.5 Flash Video Extend

> Continue an existing clip with 4–30 seconds of new footage on Seedance 2.5 Flash via the Kinovi API, at 480p or 720p.

Source: https://kinovi.ai/docs/models/seedance2-5-flash-extend

- Model ID: `seedance2-5-flash-extend`
- Type: Video
- Provider: ByteDance
- From: $0.0409 / s
- Model page: https://kinovi.ai/models/seedance2-5-flash-extend
- Playground: https://kinovi.ai/app/gallery?model=seedance2-5-flash-extend

## Quickstart

Two calls: submit a task with `createTask`, then poll `recordInfo` with the returned `taskId` until `status` is `success` or `fail`.

Every request carries `Authorization: Bearer <yourApiKey>`. Create and manage keys at [kinovi.ai/api-keys](https://kinovi.ai/api-keys); see the [API reference](https://kinovi.ai/docs/api) for rate limits and error codes.

### Submit a task

`POST https://kinovi.ai/api/v1/jobs/createTask`

```json
{
  "model": "seedance2-5-flash-extend",
  "inputs": {
    "prompt": "The hand slowly turns palm-up, the fingers spread, and picks up a small gold ring from the wooden table.",
    "videoUrls": [
      "https://static.kinovi.ai/videos/seedance_video_1775631198994_17cd129c.mp4"
    ],
    "duration": 5,
    "outputResolution": "720p"
  }
}
```

Response `200 OK` — the task is queued and credits are reserved. Use `taskId` to poll for the result.

```json
{
  "taskId": "task_01j9exampleflashext01"
}
```

#### Error responses

| HTTP | Body | When |
|:--|:--|:--|
| `400` | `{ "message": "Invalid inputs for model", "errors": [ … ] }` | Missing `videoUrls`, missing or out-of-range `duration` (must be `4`–`30`), `mode: "keyframe"`, or `omni_reference_task_type` other than `"extend"` / `"auto"`. Nothing is charged. |
| `401` | `{ "message": "Invalid API Key" }` | Missing or wrong `Authorization` header. |
| `402` | `{ "message": "Insufficient credits", "required": 296, "available": 0 }` | Not enough credits for source + extension seconds. |
| `429` | `{ "message": "Concurrency limit reached (…)", "limit": 5, "current": 5 }` | Too many tasks in progress; wait for one to finish. |

### Query the result

`GET https://kinovi.ai/api/v1/jobs/recordInfo?taskId=task_…`

Poll every few seconds until `status` is `success` or `fail`.

| `status` | Meaning |
|:--|:--|
| `waiting` | Queued, not started yet |
| `generating` | Running |
| `success` | Done — read `output[].url` |
| `fail` | Failed — see `error.code` / `error.message`; credits are refunded |

## Parameters

Send these inside the `createTask` body. `model`, `inputs.prompt`, `inputs.videoUrls`, and `inputs.duration` are required; everything else falls back to the default shown.

Reference media fields take any publicly reachable URL — host the files yourself, or upload them to Kinovi first with `POST /api/v1/uploads` and pass the returned `url` (see [Uploading Assets](https://kinovi.ai/docs/uploads)).

| Field | Type | Default | Description |
|:--|:--|:--|:--|
| `model` | `string` | **required** | Must be `"seedance2-5-flash-extend"`. |
| `inputs.prompt` | `string` | **required** | Describe how the shot should continue, in any language. Max **30,000** characters. |
| `inputs.videoUrls` | `string[]` | **required** | Source video URL (`.mp4` / `.mov` / `.webm`). Up to **5** videos, **30.2 s** combined. Your own hosted URLs or [Kinovi uploads](https://kinovi.ai/docs/uploads). |
| `inputs.duration` | `integer` | **required** | New footage length in seconds, an integer from `4` to `30`. |
| `inputs.imageUrls` | `string[]` | – | Up to **10** reference image URLs (`.jpg` / `.png` / `.webp`) to guide new elements entering the scene. Do not send `imageUrl` or `uploadedUrls`. Your own hosted URLs or [Kinovi uploads](https://kinovi.ai/docs/uploads). |
| `inputs.audioUrls` | `string[]` | – | Up to **5** audio reference URLs, **30.2 s** combined. Your own hosted URLs or [Kinovi uploads](https://kinovi.ai/docs/uploads). |
| `inputs.outputResolution` | `string` | `720p` | `480p` · `720p`. |
| `inputs.generate_audio` | `boolean` | `true` | Generate a synced audio track. Set `false` for a silent video. |
| `inputs.bitrate_mode` | `string` | – | Set to `"high"` for a higher-bitrate encode; omit for standard bitrate. |
| `inputs.output_format` | `string` | `mp4` | `mp4` · `mov`. |
| `inputs.seed` | `integer` | random | Optional seed. |
| `inputs.enable_safety_checker` | `boolean` | `true` | Optional safety checker toggle. |
| `callBackUrl` | `string` | – | Optional webhook called when the task finishes. |

### Full request

```json
{
  "model": "seedance2-5-flash-extend",
  "inputs": {
    "prompt": "The camera pulls back smoothly as the barista slides the cup across the counter.",
    "videoUrls": [
      "https://static.kinovi.ai/videos/seedance_video_1775631198994_17cd129c.mp4"
    ],
    "imageUrls": [],
    "audioUrls": [],
    "duration": 5,
    "outputResolution": "720p",
    "generate_audio": true,
    "bitrate_mode": "high",
    "output_format": "mp4",
    "seed": -1
  },
  "callBackUrl": "https://example.com/hooks/kinovi"
}
```

## Pricing

Priced **per second** at the Flash reference-video rate, billed for `(source video seconds, capped at 30.2 s) + duration`. Live prices: [kinovi.ai/models/seedance2-5-flash-extend](https://kinovi.ai/models/seedance2-5-flash-extend).

| | 480p | 720p |
|:--|--:|--:|
| **per billable second** | $0.0409 / s | $0.0917 / s |

Credits are precharged for source + extension seconds at submit and settled on success. Failed tasks are refunded in full.

## Response

### Result fields

**JSON**

```json
{
  "taskId": "task_01j9exampleflashext01",
  "model": "seedance2-5-flash-extend",
  "status": "success",
  "creditsUsed": 296.4,
  "output": [
    {
      "url": "https://static.kinovi.ai/videos/seedance_flash_extend_example.mp4",
      "width": 1280,
      "height": 720,
      "mediaType": "video/mp4"
    }
  ],
  "error": null,
  "createTime": 1790090613532,
  "completeTime": 1790090801120
}
```

**Table**

| Field | Type | Description |
|:--|:--|:--|
| `taskId` | `string` | The task id returned by `createTask`. |
| `model` | `string` | `"seedance2-5-flash-extend"`. |
| `status` | `string` | `waiting` · `generating` · `success` · `fail`. Stop polling on `success` or `fail`. |
| `creditsUsed` | `number` | Credits actually charged. Refunded automatically when `status` is `fail`. |
| `output` | `object[]` | Generated continuation clip; empty until `success`. Stored by Kinovi for 7 days after generation. |
| `output[0].url` | `string` | The extension video (`.mp4` or `.mov`). |
| `output[0].width` | `integer` | Pixel width. |
| `output[0].height` | `integer` | Pixel height. |
| `output[0].mediaType` | `string` | `video/mp4`, or `video/quicktime` for `mov`. |
| `error` | `object \| null` | `{ code, message }` when the task failed, otherwise `null`. |
| `createTime` | `number` | Unix epoch milliseconds when the task was accepted. |
| `completeTime` | `number \| null` | Unix epoch milliseconds when the task reached a terminal status. |

## Examples

### Video extend

**cURL**

```bash
curl -sS -X POST "https://kinovi.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $KINOVI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance2-5-flash-extend",
    "inputs": {
      "prompt": "The hand slowly turns palm-up and lifts a gold ring from the table.",
      "videoUrls": ["https://static.kinovi.ai/videos/seedance_video_1775631198994_17cd129c.mp4"],
      "duration": 5,
      "outputResolution": "720p"
    }
  }'
```

**Node.js**

```ts
const API_BASE = "https://kinovi.ai/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.KINOVI_API_KEY}`,
  "Content-Type": "application/json",
};

const { taskId } = await fetch(`${API_BASE}/jobs/createTask`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    model: "seedance2-5-flash-extend",
    inputs: {
      prompt: "The hand slowly turns palm-up and lifts a gold ring from the table.",
      videoUrls: ["https://static.kinovi.ai/videos/seedance_video_1775631198994_17cd129c.mp4"],
      duration: 5,
      outputResolution: "720p",
    },
  }),
}).then((r) => r.json());

while (true) {
  const info = await fetch(`${API_BASE}/jobs/recordInfo?taskId=${encodeURIComponent(taskId)}`, { headers }).then((r) =>
    r.json(),
  );
  if (info.status === "success") {
    console.log(info.output[0].url);
    break;
  }
  if (info.status === "fail") throw new Error(JSON.stringify(info.error));
  await new Promise((r) => setTimeout(r, 3000));
}
```

**Python**

```python
import json, os, time, urllib.request

API_BASE = "https://kinovi.ai/api/v1"
HEADERS = {
    "Authorization": f"Bearer {os.environ['KINOVI_API_KEY']}",
    "Content-Type": "application/json",
}

payload = {
    "model": "seedance2-5-flash-extend",
    "inputs": {
        "prompt": "The hand slowly turns palm-up and lifts a gold ring from the table.",
        "videoUrls": ["https://static.kinovi.ai/videos/seedance_video_1775631198994_17cd129c.mp4"],
        "duration": 5,
        "outputResolution": "720p",
    },
}

req = urllib.request.Request(f"{API_BASE}/jobs/createTask", data=json.dumps(payload).encode(), headers=HEADERS)
task_id = json.load(urllib.request.urlopen(req))["taskId"]

while True:
    info = json.load(urllib.request.urlopen(urllib.request.Request(f"{API_BASE}/jobs/recordInfo?taskId={task_id}", headers=HEADERS)))
    if info["status"] == "success":
        print(info["output"][0]["url"])
        break
    if info["status"] == "fail":
        raise RuntimeError(info["error"])
    time.sleep(3)
```

## FAQ

### Does the output include the source clip or only the new footage?

The output is the new continuation footage starting from the end of the source clip, in the source clip's aspect ratio.

### Is `inputs.duration` required?

Yes. Pass an integer from `4` to `30` seconds for the extension length; omitting `duration` returns `400`.

### How is `seedance2-5-flash-extend` billed?

At the Flash reference-video rate for `source video seconds (capped at 30.2 s) + duration`.

## Related models

- [Seedance 2.5 Flash](https://kinovi.ai/docs/models/seedance2-5-flash): Text, keyframe, and multimodal reference video generation on Seedance 2.5 Flash.
- [Seedance 2.5 Flash Video Edit](https://kinovi.ai/docs/models/seedance2-5-flash-edit): Edit an existing clip with Seedance 2.5 Flash while preserving its motion and duration.
- [Seedance 2.5 Video Extend](https://kinovi.ai/docs/models/seedance2-5-extend): Full Seedance 2.5 Video Extend with 1080p output and 4K draft upgrades.
