Gå til indhold

Wan 3.0 Image to Video

Integrer

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

Denne anmodning: 0,25 $ 250 API-kreditter Kør den på denne side

Hent API-nøgle
Alibaba Billede til video Indbygget lyd2–30 sop til 1080p #audio#first-last-frame#long-clips

Animerer en første frame, eventuelt mod en sidste frame, til et Wan 3.0-klip på 2 til 30 sekunder med lyd.

Eksempler

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

Opret en anmodning

Kontrollerne genereres fra modellens skema. Koden og prisen opdateres, når du ændrer dem.

158 / 20000

Tekstbeskrivelse af den bevægelse, der skal genereres.

•påkrævet start_image_url
Slip en fil, eller

Billede brugt som åbningsframe i outputvideoen.

resolution

Opløsningsniveau for den resulterende video.

aspect_ratio standard adaptive

Højde-bredde-forhold for output med mulighed for adaptivt valg.

Outputlængde: null aktiverer intelligent varighed baseret på prompten og referencemediet; ellers angiver den angivne værdi antal sekund.

Avanceret end_image · seed · enable_prompt_expansion · enable_thinking
end_image_url
Slip en fil, eller

Billede brugt som sidste frame i outputvideoen; start_image_url skal også angives.

POST /run/alibaba/wan-3.0/image-to-video?wait=20 pris → 0,25 $
# 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/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kør denne anmodning

Din nøgle forbliver i denne browser: Den sendes kun til Doitong API og gemmes kun i localStorage, hvis du markerer Husk. Hent en API-nøgle

Lavet på Doitong

Offentlige værker skabt med Wan 3.0 af Doitong-fællesskabet. Genbrug en prompt med ét klik.

Offentlige værker vist: 5
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... Video

Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video must feel like a real spontaneous phone...

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone vide... Video

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video...

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with na... Video

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with natural acting, realistic lighting and believable facial expressions. All dialogue is spoken naturally in French. **SCENE 1 — EXPENSIVE RESTAURANT, EVENING — 0–5 sec** A young man in his late 20s is...

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... Video

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...

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, c... Video

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, cinematic Christmas short film, high-quality realistic 3D animation. REFERENCE IMAGE — DASHA_001 Use the uploaded image as the exact character reference for Dasha. Preserve her recognizable face,...

Om Wan 3.0 Image to Video

Wan 3.0 image-to-video starter med dit billede og kan slutte med et andet, med genereret lyd som standard. Prompten er valgfri. Klip på 2 til 30 sekunder i 480p, 720p eller 1080p med adaptivt eller fast billedformat og et valgfrit ræsonneringstrin til kompleks bevægelse.

Parametre

Send enten det kanoniske navn eller det oprindelige navn, ikke begge. Kanoniske navne

NavnType StandardTilladt Beskrivelse
promptvalgfri
Typestring | null
≤ 20.000 tegn
Tekstbeskrivelse af den bevægelse, der skal genereres.
resolutionvalgfri
Typeenum
Standard1080p
480p720p1080p
Opløsningsniveau for den resulterende video.
aspect_ratiovalgfri
Typeenum
Standardadaptive
adaptive16:94:31:13:49:16
Højde-bredde-forhold for output med mulighed for adaptivt valg.
durationvalgfri
Typeinteger | null
Standard5
2 – 30
Outputlængde: null aktiverer intelligent varighed baseret på prompten og referencemediet; ellers angiver den angivne værdi antal sekund.
audiovalgfri generate_audio
Typeboolean
Standardtrue
Styrer, om genereret lyd inkluderes.
enable_prompt_expansionvalgfri
Typeboolean
Standardtrue
Styrer, om prompten omskrives intelligent før generering. Forvent sandsynlig kvalitetsreduktion, hvis omskrivning deaktiveres, til gengæld for cirka 20–60 sekund mindre latenstid.
enable_thinkingvalgfri
Typeboolean
Standardfalse
Aktiverer yderligere ræsonnering, før genereringen begynder.
seedvalgfri
Typeinteger | null
0 – 2.147.483.647
start_image_urlpåkrævet image
Typeurl · image
Billede brugt som åbningsframe i outputvideoen.
end_image_urlvalgfri end_image
Typeurl · image
Billede brugt som sidste frame i outputvideoen; start_image_url skal også angives.
påkrævet Kanonisk navn, også accepteret

Filparametre accepterer en offentlig https://-URL, en data:-URI på op til 10 MB eller file_url fra en upload. Filer

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Dine filer, dit valgHver outputs[].url er en kopi på vores lagring: gemt for altid (betales pr. GB-måned) eller 7 dage gratis, afhængigt af din kontoindstilling eller ?storage=.
Samme struktur for alle modellertype, url, content_type, width, height og duration for billeder, video og lyd. output er modellens eget resultatobjekt.
Outputfelter
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Videofil produceret ved generering.
seed
integerSeed-værdi anvendt under generering.
duration
numberLængden af den genererede video, målt i sekund.
actual_prompt
string | null

Flere modeller: Billede til video

Til AI-agenter: Denne side som Markdown findes på https://doitong.com/da/developers/models/alibaba/wan-3.0/image-to-video.md. Alle modeller og vejledninger: https://doitong.com/developers/llms.txt