コンテンツへスキップ

Wan v2.6 Image to Video

統合

モデルID wan/v2.6/image-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/wan/v2.6/image-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

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

このリクエスト: $0.75 750 APIクレジット · ≈ ₽80.68 このページで実行

APIキーを取得
Alibaba 画像から動画 5–15 s1080pまで #image-to-video

初期フレーム画像を720pまたは1080pの5、10、15秒クリップにアニメーション化。音声は任意

Alibaba · 動画

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

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

リクエストを作成

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

•必須

動画で希望する動きを指定するテキスト指示。1500文字以内。

•必須 image_url
ファイルをドロップ、または

公開アクセス可能なURLまたはbase64データURIで動画の開始画像を指定します。サイズは240~7680の範囲です。

duration 5 s

出力動画の長さ(秒)。5、10、15秒から選択できます。

resolution デフォルト 1080p

出力動画の解像度。720pまたは1080p。

詳細設定 negative_prompt · audio · seed · enable_prompt_expansion · multi_shots · enable_safety_checker
デフォルト

不要な内容を指定するネガティブプロンプト。500文字以内。

audio_url
ファイルをドロップ、または

BGM用の公開アクセス可能なWAVまたはMP3ファイルのURL。長さは3~30秒、サイズは15 MB以下です。選択した動画の長さ(5、10、15秒)により最初のN秒だけ再生され、超過した音声は破棄されます。音声が先に終わる場合、動画の残りは無音になります。たとえば音声が3秒、動画が5秒の場合、最初の3秒に音声が流れ、続く2秒は無音になります。

生成を再現可能にするシード。None に設定するとシードをランダムに選択します。

POST /run/wan/v2.6/image-to-video?wait=20 見積もり → $0.75
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/wan/v2.6/image-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

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

このリクエストを実行

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

Wan v2.6 Image to Videoについて

`image_url`を初期フレームとして使用し、最大1500文字のプロンプトで動きを指定します。`duration`は5、10、15秒、`resolution`は720pまたは1080pです。任意の`audio_url`でBGMを追加できます。プロンプト拡張と`multi_shots`分割に対応し、後者は拡張が有効な場合のみ使用できます。

パラメータ

正式名称またはネイティブ名のいずれか一方を送信してください。両方は送信しないでください。 正式名称

名前型 デフォルト許可される値 説明
prompt必須
型string
動画で希望する動きを指定するテキスト指示。1500文字以内。
image_url必須 image
型url · image
公開アクセス可能なURLまたはbase64データURIで動画の開始画像を指定します。サイズは240~7680の範囲です。
audio_url任意 audio
型url · audio
BGM用の公開アクセス可能なWAVまたはMP3ファイルのURL。長さは3~30秒、サイズは15 MB以下です。選択した動画の長さ(5、10、15秒)により最初のN秒だけ再生され、超過した音声は破棄されます。音声が先に終わる場合、動画の残りは無音になります。たとえば音声が3秒、動画が5秒の場合、最初の3秒に音声が流れ、続く2秒は無音になります。
resolution任意
型enum
デフォルト1080p
720p1080p
出力動画の解像度。720pまたは1080p。
duration任意
型enum
デフォルト5
51015
出力動画の長さ(秒)。5、10、15秒から選択できます。
negative_prompt任意
型string | null
デフォルト
不要な内容を指定するネガティブプロンプト。500文字以内。
enable_prompt_expansion任意
型boolean
デフォルトtrue
LLMがプロンプトを書き換えるかどうかを制御します。
multi_shots任意
型boolean
デフォルトfalse
trueの場合はインテリジェントなマルチショット分割が有効になり、falseの場合は単一ショットになります。enable_prompt_expansionがTrueの場合のみ有効です。
seed任意
型integer | null
生成を再現可能にするシード。None に設定するとシードをランダムに選択します。
enable_safety_checker任意
型boolean
デフォルトtrue
安全性チェックの切り替え。オフにするにはアカウント認証が必要です。認証がない場合、設定に関係なくすべてのリクエストがチェックされます。trueでチェッカーを有効にします。
必須 正式名称(こちらも使用可能)

ファイルパラメータには、公開されたhttps:// URL、10 MBまでのdata: URI、またはアップロードしたファイルのfile_urlを指定します。 ファイル

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.6/image-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": 750,
    "usd": "0.75",
    "charged": 750,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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,
    "actual_prompt": "A comedic cinematic scene where the creator interacts with AI-generated reality transformations."
  },
  "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://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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生成時に使用するシード値。
actual_prompt
string | null書き換えが有効な場合に実際に使用されるプロンプト。

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

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