コンテンツへスキップ

Wan 2.5 Image to Video

統合

モデルID wan-25-preview/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.com/v1/run/wan-25-preview/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

APIキーを取得
Alibaba 画像から動画 5–10 s1080pまで

Wan 2.5の画像から動画生成。480p-1080p、5秒または10秒、任意のバックグラウンド音声

Doitongで作成

DoitongコミュニティがWan 2.5で作成した公開作品です。ワンクリックでプロンプトを再利用できます。

公開作品:2件
Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... 動画

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кух... 動画

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кухне, мужчина — в комнате и прихожей. Атмосфера обычной советской семьи перед приходом гостей. Голоса: все персонажи говорят по-русски с естественным, выразительным одесским говором. Характерная...

リクエストを作成

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

•必須

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

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

動画の最初のフレームとして、公開アクセス可能な画像URLまたはbase64データURIを指定します。

duration 5 s

出力動画の長さ。5秒または10秒から選択できます。

resolution デフォルト 1080p

出力動画の解像度。480p、720p、1080pから選択します。

詳細設定 negative_prompt · audio · seed · enable_prompt_expansion · enable_safety_checker

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

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

公開アクセス可能な音声URLから提供するBGM。WAVまたはMP3形式で、長さは3~30秒、サイズは15 MB以下です。選択した5秒または10秒の長さで切り捨て位置が決まり、超過した音声は破棄されます。音声が短い場合、動画の残りの部分は無音になります。たとえば、3秒の音声と5秒の動画では、最初の3秒に音声が流れ、最後の2秒は無音になります。

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

POST /run/wan-25-preview/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.com/v1/run/wan-25-preview/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエストを実行

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

Wan 2.5 Image to Videoについて

`image_url`の静止画を最初のフレームとして、最大1500文字の動き用`prompt`に従いアニメーション化します。480p、720p、1080pと、`duration`は5秒または10秒から選択できます。任意の`audio_url`でサウンドトラックを指定でき、クリップより長い場合は切り詰められます。プロンプト拡張、ネガティブプロンプト、seedに対応します。

パラメータ

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

名前型 デフォルト許可される値 説明
prompt必須
型string
動画で希望する動きを指定するテキスト指示。1500文字以内。
image_url必須 image
型url · image
動画の最初のフレームとして、公開アクセス可能な画像URLまたはbase64データURIを指定します。
audio_url任意 audio
型url · audio
公開アクセス可能な音声URLから提供するBGM。WAVまたはMP3形式で、長さは3~30秒、サイズは15 MB以下です。選択した5秒または10秒の長さで切り捨て位置が決まり、超過した音声は破棄されます。音声が短い場合、動画の残りの部分は無音になります。たとえば、3秒の音声と5秒の動画では、最初の3秒に音声が流れ、最後の2秒は無音になります。
resolution任意
型enum
デフォルト1080p
480p720p1080p
出力動画の解像度。480p、720p、1080pから選択します。
duration任意
型enum
デフォルト5
510
出力動画の長さ。5秒または10秒から選択できます。
negative_prompt任意
型string | null
不要な内容を指定するネガティブプロンプト。500文字以内。
enable_prompt_expansion任意
型boolean
デフォルトtrue
LLMがプロンプトを書き換えるかどうかを制御します。
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-25-preview/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": "The white dragon warrior stands still in a grand cathedral-like structure, its glowing golden eyes fixed forward. The camera slowly moves closer, focusing on the warrior's armored chest and face. It then begins to circle around the warrior, capturing the intricate details of the white scale armor with gold accents. The warrior maintains a strong, determined posture. Ambient sounds and soft choral tones fill the background, enhancing the majestic atmosphere. The camera continues its slow circular motion, emphasizing the warrior's heroic presence before ending with a close-up of the face."
  },
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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-25-preview/image-to-video.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt