コンテンツへスキップ

FLUX 3 Max Keyframes to Video

統合

モデルID blackforestlabs/flux-3-max/keyframes-to-video
# 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-max/keyframes-to-video?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.425 425 APIクレジット このページで実行

APIキーを取得
Black Forest Labs 画像から動画 ネイティブ音声5–20 s1080pまで #keyframes#image-to-video#control

プロンプトと、フレーム位置に固定した最大10枚のキーフレーム画像から動画を生成し、音声にも対応します

Black Forest Labs · 動画

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

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

リクエストを作成

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

•必須

キーフレーム間の動画の動きを説明するテキスト。

duration 5 s

出力動画の長さ(秒)。

resolution デフォルト 720p

出力動画の解像度。

aspect_ratio デフォルト auto

生成動画のアスペクト比。`auto`は、入力がテキストプロンプトの場合は16:9を選択し、それ以外では最初の画像に合わせます。

•必須

`frame_index`に従って出力動画に配置するキーフレーム画像。最大10枚まで指定でき、インデックスは重複させないでください。

詳細設定 reasoning_level · seed
reasoning_level デフォルト high

推論の労力。生成速度と、ハーネスがプロンプトの理解に費やす処理量のトレードオフを制御します。労力を増やすと時間がかかります。

生成シード。省略時はランダム値を使用します。

POST /run/blackforestlabs/flux-3-max/keyframes-to-video?wait=20 見積もり → $0.425
# 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-max/keyframes-to-video?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 Max Keyframes to Videoについて

時間上のキーフレーム間を移動する動画を生成します。`keyframes`には固有の`frame_index`値を持つ1~10枚の画像を指定し、`prompt`で動きを説明します。`duration`は5~20秒、`resolution`は720pまたは1080pです。`aspect_ratio`は21:9~9:16またはautoに対応します。`reasoning_level`(lowまたはhigh)と`generate_audio`も利用できます。

パラメータ

名前型 デフォルト許可される値 説明
prompt必須
型string
キーフレーム間の動画の動きを説明するテキスト。
keyframes必須
型object[]
≤ 10項目
`frame_index`に従って出力動画に配置するキーフレーム画像。最大10枚まで指定でき、インデックスは重複させないでください。
keyframes[].image_url必須
型url · image
キーフレーム画像のURL。PNG、JPEG、WebPに対応します。
keyframes[].frame_index必須
型integer
≥ 0
キーフレームの配置には各キーフレームに異なるフレームインデックスを使用します。上限は`duration * 24`で、出力は24 fpsです。
duration任意
型enum
デフォルト5
567891011121314151617181920
出力動画の長さ(秒)。
resolution任意
型enum
デフォルト720p
720p1080p
出力動画の解像度。
reasoning_level任意
型enum
デフォルトhigh
lowhigh
推論の労力。生成速度と、ハーネスがプロンプトの理解に費やす処理量のトレードオフを制御します。労力を増やすと時間がかかります。
aspect_ratio任意
型enum
デフォルトauto
auto21:92:116:94:31:13:49:16
生成動画のアスペクト比。`auto`は、入力がテキストプロンプトの場合は16:9を選択し、それ以外では最初の画像に合わせます。
generate_audio任意
型boolean
デフォルトtrue
動画に生成された音声を含めるかどうかを制御します。
seed任意
型integer | null
生成シード。省略時はランダム値を使用します。
必須

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3-max/keyframes-to-video",
  "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": 425,
    "usd": "0.425",
    "charged": 425,
    "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "timings": {}
  },
  "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, width, height, fps, duration, num_frames}モデルが生成した動画。
seed
integer生成中に使用されたシード値。
timings
objectプロンプト拡張、デコード、アップロードを除外したタイミングデータ。`inference`にはモデルの動画ノイズ除去のみが秒単位で記録されます。

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

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