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

# Seedance 1.0 Pro Fast

> Seedance 1.0 Pro Fast：テキストと画像から動画を生成するモデル。MixRoute向けのリクエスト例とパラメータ。

Seedance 1.0 Pro FastはByteDanceの動画モデルです。完全なルートID`seedance-1-0-pro-fast-251015`を使用してください。バージョンの接尾辞もIDの一部です。

完全なフィールド定義: [Seedance API](/ja/api-reference/endpoint/seedance)。

## モデルのパラメータと制限

| 設定 | 値 |
| - | - |
| `model` | `seedance-1-0-pro-fast-251015` |
| 入力モード | テキストまたは最初のフレーム画像。 |
| `metadata.content` | 必須の入力配列。テキストのみを入力として生成する場合はテキスト項目を含め、promptと整合する内容にしてください。 |
| `metadata.duration` | 2〜12秒。-1はサポートされていません。 |
| `metadata.resolution` | `480p`、`720p`、`1080p`。デフォルトは1080p。 |
| `metadata.ratio` | `21:9`, `16:9`, `4:3`, `1:1`, `3:4`, `9:16`, `adaptive` |
| 音声 | 音声なしの出力。generate\_audioを送信しないでください。 |
| 形式 | `mp4` |
| フレームレート | 24 fps |

* `model`、`prompt`、`asset`はルートに配置し、プロバイダーのフィールドはすべて`metadata`内に配置します。メディア入力の例では`asset=true`を設定してください。
* フレームのロールと`reference_*`のロールは別の入力モードです。組み合わせないでください。
* この旧バージョンは、動画/音声の参照やreference\_image入力を受け付けません。上記のフレーム入力モードのみを使用し、モデルIDを呼び出す前にアカウントのアクセス権を確認してください。
* Pro Fast 1.0は、最後のフレームを指定した補間に対応していません。
* テキストから動画を生成する場合のデフォルトは16:9で、adaptiveは使用できません。画像から動画を生成する場合のデフォルトはadaptiveです。

## 例

呼び出し前に`MIXROUTE_API_KEY`を設定し、画像・動画・音声のプレースホルダーを、アクセス可能なソースメディアに置き換えてください。

### テキストから動画を生成

```bash theme={null}
curl --request POST "https://api.mixroute.ai/v1/video/generations" \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "seedance-1-0-pro-fast-251015",
  "prompt": "A ceramic mug slowly rotates on a white tabletop in soft daylight.",
  "asset": false,
  "metadata": {
    "content": [
      {
        "type": "text",
        "text": "A ceramic mug slowly rotates on a white tabletop in soft daylight."
      }
    ],
    "duration": 4,
    "resolution": "480p",
    "ratio": "1:1",
    "watermark": false
  }
}'
```

### Python

```python theme={null}
import json
import os
import requests

payload = json.loads(r'''
{
  "model": "seedance-1-0-pro-fast-251015",
  "prompt": "A ceramic mug slowly rotates on a white tabletop in soft daylight.",
  "asset": false,
  "metadata": {
    "content": [
      {
        "type": "text",
        "text": "A ceramic mug slowly rotates on a white tabletop in soft daylight."
      }
    ],
    "duration": 4,
    "resolution": "480p",
    "ratio": "1:1",
    "watermark": false
  }
}
''')
response = requests.post(
    "https://api.mixroute.ai/v1/video/generations",
    headers={"Authorization": "Bearer " + os.environ["MIXROUTE_API_KEY"]},
    json=payload,
    timeout=60,
)
response.raise_for_status()
result = response.json()
if result.get("code") not in (None, 0, 200, "0", "200", "success"):
    raise RuntimeError(result.get("message") or result)
print(result)
```

### 最初のフレーム画像

```bash theme={null}
curl --request POST "https://api.mixroute.ai/v1/video/generations" \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "seedance-1-0-pro-fast-251015",
  "prompt": "A ceramic mug slowly rotates on a white tabletop in soft daylight.",
  "asset": true,
  "metadata": {
    "content": [
      {
        "type": "text",
        "text": "A ceramic mug slowly rotates on a white tabletop in soft daylight."
      },
      {
        "type": "image_url",
        "image_url": {
          "url": "https://example.com/first-frame.png"
        },
        "role": "first_frame"
      }
    ],
    "duration": 4,
    "resolution": "480p",
    "ratio": "adaptive",
    "watermark": false
  }
}'
```

## タスクの結果

送信したMixRouteのタスクIDを保持し、[動画タスクの照会](/ja/api-reference/endpoint/query-video-task)を使用してください。正常終了のステータスになってから動画URLを取得してください。送信しただけでは生成が完了したことにはなりません。


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