Neidio i'r cynnwys

Wan Effects

Integreiddio

ID y model wan-effects
# 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-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "fox",
    "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"

Y cais hwn: $0.35 350 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
Alibaba Delwedd i Fideo #motion#effects

Model effeithiau Wan 2.1 sy'n cymhwyso effaith weledol a ddewisir, fel cakeify neu hulk, i ddelwedd

Wedi'i wneud ar Doitong

Gwaith cyhoeddus a wnaed gyda Wan 2.1 gan gymuned Doitong. Ailddefnyddiwch anogwr mewn un clic.

Gwaith cyhoeddus wedi'i ddangos: 4
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... Fideo

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

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

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

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

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol image_url
Gollyngwch ffeil, neu

URL sy'n pwyntio at y ddelwedd fewnbwn.

aspect_ratio rhagosodedig 16:9

Cymhareb lled-i-uchder y fideo allbwn.

•gofynnol

Testun pwnc ar gyfer effaith: caiff ei dempled anogiad rhagosodedig ei lenwi â'r gwerth hwn.

Uwch effect_type · num_frames · frames_per_second · num_inference_steps · lora_scale · seed · turbo_mode · enable_safety_checker
rhagosodedig cakeify

Math o effaith a gymhwysir i'r fideo.

rhagosodedig 81

Cyfrif fframiau ar gyfer cynhyrchu.

rhagosodedig 16

Cyfradd fframiau fideo'r allbwn, wedi'i mesur mewn fframiau yr eiliad.

rhagosodedig 30

Cyfrif camau samplu, sy'n cyfnewid amser prosesu hirach am ansawdd gwell wrth i'r cyfrif gynyddu.

rhagosodedig 1

Ffactor graddio pwysau LoRA sy'n rheoli cryfder ei effaith.

Hadau sy'n gwneud cynhyrchu'n atgynhyrchadwy. Mae ei osod i None yn dewis hedyn ar hap.

POST /run/wan-effects?wait=20 dyfynbris → $0.35
# 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-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "fox",
    "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"

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Wan Effects

Yn animeiddio `image_url` gydag effaith a ddewisir drwy `effect_type` (rhagosodedig cakeify, 43 opsiwn), gan fewnosod eich `subject` yn nhempled anogiad yr effaith. Mae `num_frames` yn 81-100, `frames_per_second` yn 5-24, ac `aspect_ratio` yn 16:9, 9:16 neu 1:1. Mae `lora_scale` (0.1-2) yn gosod dwyster ac mae `turbo_mode` yn cyfnewid ansawdd am gyflymder.

Paramedrau

Anfonwch naill ai'r enw canonaidd neu'r enw brodorol, nid y ddau. Enwau canonaidd

EnwMath RhagosodedigCaniateir Disgrifiad
subjectgofynnol
Mathstring
Testun pwnc ar gyfer effaith: caiff ei dempled anogiad rhagosodedig ei lenwi â'r gwerth hwn.
image_urlgofynnol image
Mathurl · image
URL sy'n pwyntio at y ddelwedd fewnbwn.
effect_typedewisol
Mathenum
Rhagosodedigcakeify
squishmuscleinflatecrushrotategun-shootingdeflatecakeifyhulkbabybrideclassypuppysnow-whitedisney-princessmona-lisa
+27 yn rhagorpaintingpirate-captainprincessjunglesamuraivipwarriorzenassassintimelapsetsunamifirezoom-calldoom-fpsfus-ro-dahhug-jesusrobot-face-revealsuper-saiyanjumpscarelaughingcartoon-jaw-dropcryingkissingangry-faceselfie-younger-selfanimeifyblast
Math o effaith a gymhwysir i'r fideo.
num_framesdewisol
Mathinteger
Rhagosodedig81
81 – 100
Cyfrif fframiau ar gyfer cynhyrchu.
frames_per_seconddewisol
Mathinteger
Rhagosodedig16
5 – 24
Cyfradd fframiau fideo'r allbwn, wedi'i mesur mewn fframiau yr eiliad.
seeddewisol
Mathinteger | null
Hadau sy'n gwneud cynhyrchu'n atgynhyrchadwy. Mae ei osod i None yn dewis hedyn ar hap.
aspect_ratiodewisol
Mathenum
Rhagosodedig16:9
16:99:161:1
Cymhareb lled-i-uchder y fideo allbwn.
num_inference_stepsdewisol
Mathinteger
Rhagosodedig30
2 – 40
Cyfrif camau samplu, sy'n cyfnewid amser prosesu hirach am ansawdd gwell wrth i'r cyfrif gynyddu.
lora_scaledewisol
Mathnumber
Rhagosodedig1
0.1 – 2
Ffactor graddio pwysau LoRA sy'n rheoli cryfder ei effaith.
turbo_modedewisol
Mathboolean
Rhagosodedigfalse
Modd turbo, sy'n cyfnewid ansawdd fideo am gynhyrchu cyflymach pan gaiff ei alluogi.
enable_safety_checkerdewisol
Mathboolean
Rhagosodedigtrue
Gellir llacio'r sgrinio drwy osod false, ar yr amod bod y galwr wedi'i awdurdodi.
gofynnol Enw canonaidd, derbyniol hefyd

Mae paramedrau ffeil yn derbyn URL cyhoeddus https://, URI data: hyd at 10 MB, neu file_url uwchlwythiad. Ffeiliau

Allbwn

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-effects",
  "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": 350,
    "usd": "0.35",
    "charged": 350,
    "refunded": 0
  },
  "input": {
    "subject": "fox",
    "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
    },
    "seed": 42
  },
  "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"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
video
object {url, content_type, file_name, file_size}Fideo a gynhyrchir gan y model.
seed
integer

Mwy o fodelau: Delwedd i Fideo

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/wan-effects.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt