コンテンツへスキップ

Flux 3 Image to Video · Keyframes to Video

統合

モデルID blackforestlabs/flux-3/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/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.85 850 APIクレジット このページで実行

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

設定したフレーム位置に最大10枚のキーフレームを配置し、5~20秒の固定時間で動画を生成します

Black Forest Labs · 動画

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

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

リクエストを作成

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

•必須

希望する動画のテキスト説明。

duration 5 s

キーフレーム位置を検証できるよう、動画の長さを秒単位で明示的に指定します。

aspect_ratio デフォルト auto

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

resolution デフォルト 720p

出力解像度。ピクセル寸法はアスペクト比で決まります。仕上げでは`1080p`、`1440p`(2K)、`2160p`(4K)に動画アップサンプラーを使用します。

•必須

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

詳細設定 safety_tolerance
デフォルト 2

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

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

固有の`frame_index`に固定した1~10枚のキーフレーム画像の間に動きを生成し、`prompt`に従って動画を作成します。キーフレーム位置の検証には5~20秒の明示的な`duration`が必要です。`resolution`は720p~2160pで、音声生成はオプションです。

パラメータ

名前型 デフォルト許可される値 説明
prompt必須
型string
希望する動画のテキスト説明。
aspect_ratio任意
型enum
デフォルトauto
auto21:92:116:94:31:13:49:16
出力動画のアスペクト比。`auto`ではモデルに選択を委ねます。
resolution任意
型enum
デフォルト720p
720p1080p1440p2160p
出力解像度。ピクセル寸法はアスペクト比で決まります。仕上げでは`1080p`、`1440p`(2K)、`2160p`(4K)に動画アップサンプラーを使用します。
duration任意
型enum
デフォルト5
567891011121314151617181920
キーフレーム位置を検証できるよう、動画の長さを秒単位で明示的に指定します。
generate_audio任意
型boolean
デフォルトtrue
動画に生成された音声を含めるかどうかを制御します。
safety_tolerance任意
型integer
デフォルト2
0 – 4
動画の安全性許容度。最も寛容な設定は4、最も厳格な設定は0です。
keyframes必須
型object[]
≤ 10項目
`frame_index`に従って出力動画に配置するキーフレーム画像。最大10枚まで指定でき、インデックスは重複させないでください。
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",
  "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": 850,
    "usd": "0.85",
    "charged": 850,
    "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
    },
    "seed": 42
  },
  "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}モデルが生成した動画。
seed
integer生成中に使用されたシード値。

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

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