Op den Inhalt sprangen

Wan 3.0 Image to Video

Integréieren

Modell-ID alibaba/wan-3.0/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/alibaba/wan-3.0/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The hummingbird hovers in place with blurred wings, sips from the flower, then darts out of frame as the camera slowly racks focus to dew drops on the leaves.",
    "resolution": "480p",
    "duration": 5,
    "generate_audio": false,
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_8d2gi6xieif0cf518mbnx752/0-MBac_P_HYvIYfHDIWeUvA_IRELThrq.png"
  }'

# 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"

Dës Ufro: 0,25 $ 250 API-Kreditter · ≈ 26,89 ₽ Op dëser Säit ausféieren

API-Schlëssel kréien
Alibaba Bild zu Video Native Audio2–30 sbis zu 1080p #first-last-frame#long-clips

Animéiert en éischte Frame, optional a Richtung vun engem leschte Frame, zu engem 2 bis 30 Sekonne Wan 3.0 Clip mat Audio.

Beispiller

Input
Output · ~187 s

PromptThe hummingbird hovers in place with blurred wings, sips from the flower, then darts out of frame as the camera slowly racks focus to dew drops on the leaves.

5 s480p0,25 $ · 250 API-Kreditter

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

158 / 20000

Textbeschreiwung vun der Bewegung, déi generéiert soll ginn.

•obligatoresch start_image_url
Fichier erofzéien, oder

Bild, dat als Ufanksframe vum Output-Video benotzt gëtt.

resolution

Opléisungsstuf vum resultéierende Video.

aspect_ratio Standard adaptive

Bildformat vum Output, mat adaptiver Auswiel.

Output-Dauer: null aktivéiert eng intelligent Dauer op Basis vum Prompt an de Referenzmedien; soss spezifizéiert de geliwwerte Wäert d'Sekonnen.

Erweidert end_image · seed · enable_prompt_expansion · enable_thinking
end_image_url
Fichier erofzéien, oder

Bild, dat als Schlussframe vum Output-Video benotzt gëtt; start_image_url muss och uginn ginn.

POST /run/alibaba/wan-3.0/image-to-video?wait=20 Präis → 0,25 $
# 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/alibaba/wan-3.0/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The hummingbird hovers in place with blurred wings, sips from the flower, then darts out of frame as the camera slowly racks focus to dew drops on the leaves.",
    "resolution": "480p",
    "duration": 5,
    "generate_audio": false,
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_8d2gi6xieif0cf518mbnx752/0-MBac_P_HYvIYfHDIWeUvA_IRELThrq.png"
  }'

# 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"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Op Doitong erstallt

Ëffentlech Wierker, déi d'Doitong-Communautéit mat Wan 3.0 erstallt huet. Benotz e Prompt mat engem Klick nach eng Kéier.

Ëffentlech Wierker ugewisen: 2
Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Video

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, весёлый водитель в кепке, крупные машины, пастельные цвета. 0:00–0:10 приветствие под музыку; 0:10–0:30 песенка: "Машина едет би-би, би-би", "Поезд едет ту-ту, ту-ту". Бодрая детская музыка...

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Video

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, тот же весёлый водитель в кепке, самолёт. 0:00–0:15 песенка: "Самолёт летит вж-ж-ж, вж-ж-ж"; 0:15–0:25 интерактивная пауза: водитель спрашивает "Как гудит машина?", пауза; 0:25–0:30 финальный...

Iwwer Wan 3.0 Image to Video

Wan 3.0 Bild-zu-Video start mat Ärem Bild a kann mat engem zweeten ophalen; generéierten Audio ass par défaut aktiv. De Prompt ass optional. Clips vun 2 bis 30 Sekonnen an 480p, 720p oder 1080p, mat adaptivem oder fixe Bildformat an engem optionalen Reasoning-Schrëtt fir komplex Beweegungen.

Parameteren

Schéck entweder den kanoneschen Numm oder den natierlechen Numm, net béid. Kanonesch Nimm

NummTyp StandardErlaabt Beschreiwung
promptoptional
Typstring | null
≤ 20.000 Zeechen
Textbeschreiwung vun der Bewegung, déi generéiert soll ginn.
resolutionoptional
Typenum
Standard1080p
480p720p1080p
Opléisungsstuf vum resultéierende Video.
aspect_ratiooptional
Typenum
Standardadaptive
adaptive16:94:31:13:49:16
Bildformat vum Output, mat adaptiver Auswiel.
durationoptional
Typinteger | null
Standard5
2 – 30
Output-Dauer: null aktivéiert eng intelligent Dauer op Basis vum Prompt an de Referenzmedien; soss spezifizéiert de geliwwerte Wäert d'Sekonnen.
audiooptional generate_audio
Typboolean
Standardtrue
Bestëmmt, ob generéierten Audio abegraff gëtt.
enable_prompt_expansionoptional
Typboolean
Standardtrue
Bestëmmt, ob de Prompt virun der Generatioun intelligent ëmgeschriwwe gëtt. Wann d'Ëmschreiwung deaktivéiert gëtt, ass eng méiglech Qualitéitsreduktioun ze erwaarden, am Austausch géint ongeféier 20–60 Sekonne manner Latenz.
enable_thinkingoptional
Typboolean
Standardfalse
Aktivéiert zousätzlech Iwwerleeungen, ier d'Generatioun ufänkt.
seedoptional
Typinteger | null
0 – 2.147.483.647
start_image_urlobligatoresch image
Typurl · image
Bild, dat als Ufanksframe vum Output-Video benotzt gëtt.
end_image_urloptional end_image
Typurl · image
Bild, dat als Schlussframe vum Output-Video benotzt gëtt; start_image_url muss och uginn ginn.
obligatoresch Kanoneschen Numm, och akzeptéiert

Fichierparameter akzeptéieren eng ëffentlech https:// URL, eng data: URI bis zu 10 MB oder de file_url vun engem Upload. Fichieren

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "alibaba/wan-3.0/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": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "The fox leaps toward the fireflies and lands softly on the grass",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "duration": 5,
    "resolution": "720p"
  },
  "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,
    "duration": 5,
    "actual_prompt": "string"
  },
  "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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Video-Datei, déi duerch d'Generatioun erstallt gouf.
seed
integerSeed-Wäert, deen während der Generatioun applizéiert gouf.
duration
numberDauer vum generéierte Video, gemooss a Sekonnen.
actual_prompt
string | null

Méi Modeller: Bild zu Video

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/alibaba/wan-3.0/image-to-video.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt