> ## 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.0 Image to Video API

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

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

**Model name:** `bytedance/seedance-2.0/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 | 4k |
| - | - | - | - | - |
| 4s | **2.75** | **6.25** | **13.75** | **31.25** |
| 5s | **3.5** | **7.75** | **17.25** | **39** |
| 6s | **4.25** | **9.25** | **20.5** | **47** |
| 7s | **4.75** | **10.75** | **24** | **54.75** |
| 8s | **5.5** | **12.25** | **27.5** | **62.5** |
| 9s | **6.25** | **13.75** | **30.75** | **70.25** |
| 10s | **6.75** | **15.25** | **34.25** | **78** |
| 11s | **7.5** | **16.75** | **37.75** | **86** |
| 12s | **8.25** | **18.25** | **41** | **93.75** |
| 13s | **9** | **19.75** | **44.5** | **101.5** |
| 14s | **9.5** | **21.25** | **47.75** | **109.25** |
| 15s | **10.25** | **23** | **51.25** | **117** |

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.0/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.0/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: `4294967295`.

**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"`.

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

Video resolution

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

**aspect\_ratio** `string` (default: 16:9)

The aspect ratio of the generated video

Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`.

**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

> [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": 4294967295,
>       "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"
>       ],
>       "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",
>         "4k"
>       ],
>       "type": "string",
>       "title": "Resolution",
>       "default": "720p",
>       "description": "Video resolution",
>       "x-advance-settings": true
>     },
>     "aspect_ratio": {
>       "enum": [
>         "auto",
>         "21:9",
>         "16:9",
>         "4:3",
>         "1:1",
>         "3:4",
>         "9:16"
>       ],
>       "type": "string",
>       "title": "Aspect Ratio",
>       "default": "16:9",
>       "description": "The aspect ratio of the generated video"
>     },
>     "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
>     }
>   }
> }
> ```

## 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.