logo
RunComfy
  • ComfyUI
  • トレーナー新着
  • モデル
  • API
  • 価格
discord logo
モデル
探索
すべてのモデル
ライブラリ
生成履歴
モデルAPI
APIドキュメント
APIキー
アカウント
使用量

Wan 2.6 Flash:動きと音声が同期したリアルな画像からの動画生成 | RunComfy

wan-ai/wan-2-6/flash/image-to-video

1 枚の画像から、自然な動きと音声同期、映画的なストーリー性を備えた動画をすばやく生成できます。

目次

1. はじめに2. 認証3. API リファレンスリクエストの送信ステータスの確認結果の取得リクエストのキャンセル4. ファイル入力ホスト済みファイル(URL)5. スキーマ入力スキーマ出力スキーマ

1. はじめに

RunComfy の API で wan-ai/wan-2-6/flash/image-to-video を実行します。 受け付ける入出力はモデルの スキーマ。

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-6/flash/image-to-video \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "A quiet, cinematic two-shot scene in a warm, softly lit bedroom bathroom. Nostalgic, intimate, slightly comedic tone. Photorealistic, shallow depth of field, gentle camera movement. No subtitles.\n\nShot 1 [0–5s]\nContinue from the first frame. Medium two-shot at eye level. Two children sit facing each other in a white bathtub. The girl lifts a small green bar of soap to her mouth like a microphone and whispers as if singing. The boy watches closely, curious and still. Warm tungsten light, cozy bedroom softly visible in the background. Subtle water ripples.\n\nShot 2 [5–10s]\nSlow push-in to a wider side angle revealing more of the room. The girl finishes, lowers the soap, then suddenly laughs. The boy relaxes and smiles back. The tension breaks into quiet laughter. Camera holds steady as the water gently moves. End on a calm, frozen childhood moment.",
    "img_url": "https://playgrounds-storage-public.runcomfy.net/tools/7313/media-files/input-1-1.png"
  }'

2. 認証

環境変数 YOUR_API_TOKEN に API キーを設定してください( プロフィールでキー管理)。すべてのリクエストの Authorization ヘッダーに Bearer トークンとして付与: Authorization: Bearer $YOUR_API_TOKEN。

3. API リファレンス

リクエストの送信

非同期の生成ジョブを送信すると、すぐに request_id と、ステータス確認・結果取得・キャンセル用の URL が返ります。

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-6/flash/image-to-video \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "A quiet, cinematic two-shot scene in a warm, softly lit bedroom bathroom. Nostalgic, intimate, slightly comedic tone. Photorealistic, shallow depth of field, gentle camera movement. No subtitles.\n\nShot 1 [0–5s]\nContinue from the first frame. Medium two-shot at eye level. Two children sit facing each other in a white bathtub. The girl lifts a small green bar of soap to her mouth like a microphone and whispers as if singing. The boy watches closely, curious and still. Warm tungsten light, cozy bedroom softly visible in the background. Subtle water ripples.\n\nShot 2 [5–10s]\nSlow push-in to a wider side angle revealing more of the room. The girl finishes, lowers the soap, then suddenly laughs. The boy relaxes and smiles back. The tension breaks into quiet laughter. Camera holds steady as the water gently moves. End on a calm, frozen childhood moment.",
    "img_url": "https://playgrounds-storage-public.runcomfy.net/tools/7313/media-files/input-1-1.png"
  }'

ステータスの確認

request_id の現在の状態を取得します("in_queue"、"in_progress"、"completed"、"cancelled")。

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
  --header "Authorization: Bearer <token>"

結果の取得

指定した request_id の最終出力とメタデータを取得します。ジョブが未完了の場合は現在の状態が返るため、ポーリングを続けられます。

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
  --header "Authorization: Bearer <token>"

リクエストのキャンセル

request_id でキュー中のジョブをキャンセルします。実行中のジョブはキャンセルできません。

curl --request POST \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
  --header "Authorization: Bearer <token>"

4. ファイル入力

ホスト済みファイル(URL)

公開到達可能な HTTPS URL を指定してください。サーバー側からの取得が可能で、ログイン不要であること、レート制限やボット遮断がないことを確認してください。目安:画像 ≤ 50 MB(約 4K)、動画 ≤ 100 MB(720p で約 2~5 分)。非公開アセットは安定した URL またはプリサイン URL を推奨します。

5. スキーマ

入力スキーマ

{
  "type": "object",
  "title": "入力スキーマ",
  "required": [
    "prompt",
    "img_url"
  ],
  "properties": {
    "prompt": {
      "title": "プロンプト",
      "description": "長さは 1500 文字未満にする必要があります。",
      "type": "string",
      "default": "A quiet, cinematic two-shot scene in a warm, softly lit bedroom bathroom. Nostalgic, intimate, slightly comedic tone. Photorealistic, shallow depth of field, gentle camera movement. No subtitles.\n\nShot 1 [0–5s]\nContinue from the first frame. Medium two-shot at eye level. Two children sit facing each other in a white bathtub. The girl lifts a small green bar of soap to her mouth like a microphone and whispers as if singing. The boy watches closely, curious and still. Warm tungsten light, cozy bedroom softly visible in the background. Subtle water ripples.\n\nShot 2 [5–10s]\nSlow push-in to a wider side angle revealing more of the room. The girl finishes, lowers the soap, then suddenly laughs. The boy relaxes and smiles back. The tension breaks into quiet laughter. Camera holds steady as the water gently moves. End on a calm, frozen childhood moment."
    },
    "img_url": {
      "title": "画像",
      "description": "画像形式は jpg、jpeg、png、bmp、webp である必要があります。ファイルサイズは 10 MB 未満である必要があります。",
      "type": "string",
      "validations": [
        {
          "validation_rule": "width_pixels>",
          "validation_value": 360,
          "validation_error": "アップロードする画像の幅と高さは、どちらも360ピクセルを超えている必要があります。"
        },
        {
          "validation_rule": "height_pixels>",
          "validation_value": 360,
          "validation_error": "アップロードする画像の幅と高さは、どちらも360ピクセルを超えている必要があります。"
        },
        {
          "validation_rule": "width_pixels<",
          "validation_value": 2000,
          "validation_error": "アップロードする画像の幅と高さは、どちらも2000ピクセル以下である必要があります。"
        },
        {
          "validation_rule": "height_pixels<",
          "validation_value": 2000,
          "validation_error": "アップロードする画像の幅と高さは、どちらも2000ピクセル以下である必要があります。"
        }
      ],
      "default": "https://playgrounds-storage-public.runcomfy.net/tools/7313/media-files/input-1-1.png"
    },
    "audio_url": {
      "title": "音声",
      "description": "音声形式は wav、mp3 である必要があります。この音声の長さは 3 秒から 30 秒の間である必要があります。ファイルサイズは 15 MB 未満である必要があります。",
      "type": "string"
    },
    "duration": {
      "title": "動画の長さ",
      "description": "",
      "type": "integer",
      "enum": [
        5,
        10,
        15
      ],
      "default": 5
    },
    "resolution": {
      "title": "解像度",
      "description": "",
      "type": "string",
      "enum": [
        "720P",
        "1080P"
      ],
      "default": "720P"
    },
    "shot_type": {
      "title": "ショットタイプ",
      "description": "shot_type は prompt より優先されます。たとえば shot_type を \"single\" にすると、prompt で複数ショットを指定していても、1 ショットの動画が生成されます。",
      "type": "string",
      "enum": [
        "multi",
        "single"
      ],
      "default": "multi"
    },
    "negative_prompt": {
      "title": "ネガティブプロンプト",
      "description": "",
      "type": "string"
    },
    "seed": {
      "title": "シード",
      "description": "",
      "type": "integer",
      "maximum": 2147483647,
      "minimum": 0
    },
    "prompt_extend": {
      "title": "プロンプトを拡張",
      "description": "動画生成用のプロンプトを自動的に拡張するかどうかを指定します。",
      "type": "boolean",
      "default": true
    },
    "audio": {
      "title": "音声生成",
      "description": "",
      "type": "boolean",
      "default": true
    }
  }
}

出力スキーマ

{
  "output": {
    "type": "object",
    "properties": {
      "image": {
        "type": "string",
        "format": "uri",
        "description": "単一画像 URL"
      },
      "video": {
        "type": "string",
        "format": "uri",
        "description": "単一動画 URL"
      },
      "images": {
        "type": "array",
        "description": "複数画像 URL",
        "items": {
          "type": "string",
          "format": "uri"
        }
      },
      "videos": {
        "type": "array",
        "description": "複数動画 URL",
        "items": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}
フォローする
  • LinkedIn
  • Facebook
  • Instagram
  • Twitter
サポート
  • Discord
  • メール
  • システムステータス
  • アフィリエイト
ビデオモデル
  • MiniMax H3 Max
  • MiniMax H3 Max Reference to video
  • MiniMax H3 Max text to video
  • MiniMax H3 Open Reference To Video
  • Wan 3.0 Prime
  • Wan 2.7 Image to Video
  • すべてのモデルを見る →
画像モデル
  • Wan 2.6 Image to Image
  • Flux 2 Flash Edit
  • Nano Banana Pro
  • GPT Image 2 Image Edit
  • Qwen Image 3.0 Edit
  • Qwen Image 3.0 Pro Edit
  • すべてのモデルを見る →
法的情報
  • 利用規約
  • プライバシーポリシー
  • Cookieポリシー
RunComfy
著作権 2026 RunComfy. All Rights Reserved.

RunComfyは最高の ComfyUI プラットフォームです。次のものを提供しています: ComfyUIオンライン 環境とサービス、および ComfyUIワークフロー 魅力的なビジュアルが特徴です。 RunComfyはまた提供します AI Models, アーティストが最新のAIツールを活用して素晴らしいアートを作成できるようにする。