コンテンツへスキップ

Flux 3 Keyframes To Video Draft

統合

モデルID blackforestlabs/flux-3/keyframes-to-video/draft
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/blackforestlabs/flux-3/keyframes-to-video/draft?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "keyframes": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
        "frame_index": 0
      }
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエスト: $0.30 300 APIクレジット このページで実行

APIキーを取得
Black Forest Labs 画像から動画 ネイティブ音声リップシンク5–20 s #stylized#transform#lipsync

特定のフレーム位置に固定した最大10枚のキーフレーム画像を基にしたドラフト動画

Black Forest Labs · 動画

最初の結果がここに表示されます

以下でリクエストを作成し、APIキーで実行してください。出力はストレージにコピーされ、永久保存または無料で7日保存されます。

リクエストを作成

コントロールはモデルスキーマから生成されます。値を変更するとコードと価格が更新されます。

•必須

ドラフト動画のテキスト説明。

duration 5 s

キーフレーム位置の検証に使用するドラフトの長さ。5~20の明示的な整数秒が必要です。

aspect_ratio デフォルト auto

ドラフト出力のアスペクト比。`auto`ではモデルに選択を委ねます。

•必須

最大10枚の画像のコレクション。各画像に異なる`frame_index`を割り当て、生成ドラフト内の位置を固定します。

詳細設定 safety_tolerance
デフォルト 2

動画の安全性許容度。最も寛容な設定は4、最も厳格な設定は0です。

POST /run/blackforestlabs/flux-3/keyframes-to-video/draft?wait=20 見積もり → $0.30
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/blackforestlabs/flux-3/keyframes-to-video/draft?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "keyframes": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
        "frame_index": 0
      }
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエストを実行

キーはこのブラウザ内に保持されます。Doitong APIにのみ送信され、「記憶する」にチェックを入れた場合のみlocalStorageに保存されます。 APIキーを取得

Flux 3 Keyframes To Video Draftについて

`prompt`と、固有の`frame_index`を持つ1~10個の`keyframes`を指定します。キーフレーム位置を検証するには5~20秒の明示的な`duration`が必要です。`aspect_ratio`はautoまたは21:9~9:16で、`generate_audio`で音声を切り替えます。出力にはフル品質レンダリング用の`draft_cache`が含まれます。

パラメータ

名前型 デフォルト許可される値 説明
prompt必須
型string
ドラフト動画のテキスト説明。
aspect_ratio任意
型enum
デフォルトauto
auto21:92:116:94:31:13:49:16
ドラフト出力のアスペクト比。`auto`ではモデルに選択を委ねます。
duration任意
型enum
デフォルト5
567891011121314151617181920
キーフレーム位置の検証に使用するドラフトの長さ。5~20の明示的な整数秒が必要です。
generate_audio任意
型boolean
デフォルトtrue
ドラフト動画の音声生成を制御します。
safety_tolerance任意
型integer
デフォルト2
0 – 4
動画の安全性許容度。最も寛容な設定は4、最も厳格な設定は0です。
keyframes必須
型object[]
≤ 10項目
最大10枚の画像のコレクション。各画像に異なる`frame_index`を割り当て、生成ドラフト内の位置を固定します。
keyframes[].image_url必須
型url · image
キーフレーム画像のURL。PNG、JPEG、WebPに対応します。
keyframes[].frame_index必須
型integer
≥ 0
キーフレームの配置には各キーフレームに異なるフレームインデックスを使用します。上限は`duration * 24`で、出力は24 fpsです。
必須

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3/keyframes-to-video/draft",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 300,
    "usd": "0.30",
    "charged": 300,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "keyframes": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
        "frame_index": 0
      }
    ]
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "draft_cache": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ファイルの保存期間を選択すべてのoutputs[].urlはストレージ上のコピーです。アカウント設定または?storage=により、永久保存(GB・月単位で有料)または無料で7日保存できます。
すべてのモデルで同じ形式画像、動画、音声のいずれでも、type、url、content_type、width、height、durationが含まれます。outputはモデル独自の結果オブジェクトです。
出力フィールド
video
object {url, content_type, file_name, file_size}ドラフトとして生成された動画。
draft_cache
object {url, content_type, file_name, file_size} | null`draft-enhance`でドラフトを完全な品質でレンダリングするためのキャッシュデータ。永続的な暗号化バンドルに保存されます。パートナーがドラフト用バンドルを返さなかった場合、この出力はありません。

その他のモデル: 画像から動画

AIエージェント向け:このページのMarkdown版はこちらです: https://doitong.com/ja/developers/models/blackforestlabs/flux-3/keyframes-to-video/draft.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt