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

# Seedance 2.5 Image to Video API

> ByteDance Seedance 2.5 image-to-video model with improved motion quality, longer duration support up to 30s, end frame control, and synchronized audio generation.

[← Seedance](https://docs.creatify.ai/api-documentation/ai-generation/models/seedance.md)

**Model name:** `bytedance/seedance-2.5/image-to-video`\
**Generation type:** `image_to_video`\
**Endpoint:** [`POST /api/asset_generator/`](https://docs.creatify.ai/api-reference/ai-generation/post-ai-generation)

## Pricing

| Duration | 480p | 720p | 1080p |
| - | - | - | - |
| 4s | **4.25** | **9.25** | **20.5** |
| 5s | **5.25** | **11.5** | **25.75** |
| 6s | **6.25** | **13.75** | **30.75** |
| 7s | **7.25** | **16.0** | **36.0** |
| 8s | **8.25** | **18.25** | **41.0** |
| 9s | **9.25** | **20.5** | **46.25** |
| 10s | **10.25** | **22.75** | **51.25** |
| 11s | **11.25** | **25.25** | **56.5** |
| 12s | **12.25** | **27.5** | **61.5** |
| 13s | **13.25** | **29.75** | **66.5** |
| 14s | **14.25** | **32.0** | **71.75** |
| 15s | **15.25** | **34.25** | **76.75** |
| 16s | **16.25** | **36.5** | **82.0** |
| 17s | **17.5** | **38.75** | **87.0** |
| 18s | **18.5** | **41.0** | **92.25** |
| 19s | **19.5** | **43.25** | **97.25** |
| 20s | **20.5** | **45.5** | **102.5** |
| 21s | **21.5** | **48.0** | **107.5** |
| 22s | **22.5** | **50.25** | **112.75** |
| 23s | **23.5** | **52.5** | **117.75** |
| 24s | **24.5** | **54.75** | **123.0** |
| 25s | **25.5** | **57.0** | **128.0** |
| 26s | **26.5** | **59.25** | **133.0** |
| 27s | **27.5** | **61.5** | **138.25** |
| 28s | **28.5** | **63.75** | **143.25** |
| 29s | **29.5** | **66.0** | **148.5** |
| 30s | **30.5** | **68.25** | **153.5** |

Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.

## Quick start

The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files.

```bash cURL theme={null}
curl --request POST \
  --url https://api.creatify.ai/api/asset_generator/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-ID: your-api-id' \
  --header 'X-API-KEY: your-api-key' \
  --data '{
    "model_name": "bytedance/seedance-2.5/image-to-video",
    "input_params": {
      "prompt": "She looks up from her laptop and smiles at the camera.",
      "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg"
    }
  }'
```

```python Python theme={null}
import requests

response = requests.post(
    "https://api.creatify.ai/api/asset_generator/",
    headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"},
    json={
        "model_name": "bytedance/seedance-2.5/image-to-video",
        "input_params": {
            "prompt": "She looks up from her laptop and smiles at the camera.",
            "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg"
        },
    },
)
print(response.json()["id"])
```

## Input parameters

Send these fields in `input_params`.

**prompt** `string` *required*

The text prompt used to generate the video

Maximum characters: `5000`.

**image\_url** `string` *required*

The URL of the image used as the first frame

**seed** `integer`

Random seed to control video generation. Use -1 for random.

Minimum: `-1`.
Maximum: `2147483647`.

**duration** `string` (default: auto)

Duration of the video in seconds

Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`, `"16"`, `"17"`, `"18"`, `"19"`, `"20"`, `"21"`, `"22"`, `"23"`, `"24"`, `"25"`, `"26"`, `"27"`, `"28"`, `"29"`, `"30"`.

**resolution** `string` (default: 720p)

Video resolution

Allowed values: `"480p"`, `"720p"`, `"1080p"`.

**end\_image\_url** `string`

The URL of the image used as the last frame

**generate\_audio** `boolean` (default: true)

Whether to generate audio for the video

**draft** `boolean` (default: false)

Render a cheap 480p draft (resolution is forced to 480p). The response carries a draft\_task\_id that renders this same take at 1080p within 7 days.

**draft\_task\_id** `string`

draft\_task\_id from a draft of this same model. Renders that exact take at 1080p; every other input is ignored except duration, which is required and prices the render: pass the draft's duration in seconds. Cannot be combined with draft.

> [accordion] Complete JSON schema
>
> ```json theme={null}
> {
>   "$schema": "http://json-schema.org/draft-07/schema#",
>   "required": [
>     "prompt",
>     "image_url"
>   ],
>   "properties": {
>     "seed": {
>       "type": "integer",
>       "title": "Seed",
>       "minimum": -1,
>       "maximum": 2147483647,
>       "description": "Random seed to control video generation. Use -1 for random.",
>       "x-advance-settings": true
>     },
>     "prompt": {
>       "type": "string",
>       "title": "Prompt",
>       "maxLength": 5000,
>       "description": "The text prompt used to generate the video"
>     },
>     "duration": {
>       "enum": [
>         "auto",
>         "4",
>         "5",
>         "6",
>         "7",
>         "8",
>         "9",
>         "10",
>         "11",
>         "12",
>         "13",
>         "14",
>         "15",
>         "16",
>         "17",
>         "18",
>         "19",
>         "20",
>         "21",
>         "22",
>         "23",
>         "24",
>         "25",
>         "26",
>         "27",
>         "28",
>         "29",
>         "30"
>       ],
>       "type": "string",
>       "title": "Duration",
>       "default": "auto",
>       "description": "Duration of the video in seconds"
>     },
>     "image_url": {
>       "type": "string",
>       "title": "Image Url",
>       "x-ui-name": "start_image",
>       "description": "The URL of the image used as the first frame",
>       "max_pixels": 36000000,
>       "min_height": 300,
>       "min_width": 300,
>       "max_height": 6000,
>       "max_width": 6000,
>       "min_aspect_ratio": 0.4,
>       "max_aspect_ratio": 2.5,
>       "max_file_size": 31457280
>     },
>     "resolution": {
>       "enum": [
>         "480p",
>         "720p",
>         "1080p"
>       ],
>       "type": "string",
>       "title": "Resolution",
>       "default": "720p",
>       "description": "Video resolution",
>       "x-advance-settings": true
>     },
>     "end_image_url": {
>       "type": "string",
>       "title": "End Image Url",
>       "x-ui-name": "end_image",
>       "description": "The URL of the image used as the last frame",
>       "max_file_size": 31457280,
>       "min_height": 300,
>       "min_width": 300,
>       "max_height": 6000,
>       "max_width": 6000,
>       "min_aspect_ratio": 0.4,
>       "max_aspect_ratio": 2.5
>     },
>     "generate_audio": {
>       "type": "boolean",
>       "title": "Generate Audio",
>       "default": true,
>       "description": "Whether to generate audio for the video",
>       "x-advance-settings": true
>     },
>     "draft": {
>       "type": "boolean",
>       "title": "Draft",
>       "default": false,
>       "x-is-hidden": true,
>       "description": "Render a cheap 480p draft (resolution is forced to 480p). The response carries a draft_task_id that renders this same take at 1080p within 7 days."
>     },
>     "draft_task_id": {
>       "type": "string",
>       "title": "Draft Task Id",
>       "x-is-hidden": true,
>       "description": "draft_task_id from a draft of this same model. Renders that exact take at 1080p; every other input is ignored except duration, which is required and prices the render: pass the draft's duration in seconds. Cannot be combined with draft."
>     }
>   }
> }
> ```

## Response

The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](https://docs.creatify.ai/api-reference/ai-generation/get-ai-generation-.md) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`.


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