Peke ki ngā ihirangi

Wan · v2.2 A14b · Image to Image

Whakauru

id tauira wan/v2.2-a14b/image-to-image
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/wan/v2.2-a14b/image-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

Tēnei tono: $ 0.05 50 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Alibaba Whakatika Atahanga #image-to-image

Wan 2.2 A14B image-to-image me te kaha tango haruru ka taea te whakatika hei pupuri, hei hanga anō rānei i te taketake

Alibaba · Atahanga

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Ngā tohutohu kuputuhi hei ārahi i te atahanga kua whakaputaina.

•e hiahiatia ana image_url
Whakataka he kōnae,

He URL e tohu ana ki te atahanga tāuru.

aspect_ratio taunoa auto

Tautuhia ngā ōwehenga o te atahanga kua whakaputaina, kōwhiria rānei 'auto' kia whakatauhia aunoatia e te atahanga tāuru.

image_size
Arā atu negative_prompt · acceleration · image_format · strength · num_inference_steps · guidance_scale · guidance_scale_2 · shift · seed · enable_safety_checker · enable_output_safety_checker · enable_prompt_expansion
taunoa

Te tohutohu tōraro e whakamahia ana i te whakaputa ataata.

acceleration taunoa regular

Te tautuhinga whakatere, ko 'regular' te kōwhiringa e taunakitia ana. Mā te whakanui i te whakatere ka heke te kounga hei whakapoto i te wā whakaputa.

image_format taunoa jpeg

Hōputu kōnae mō te atahanga ka puta.

taunoa 0.5

Te kaha tango-haruru: mā te 1.0 ka hangaia anō katoatia te atahanga, ko te 0.0 ka pupuri i te taketake kia kaua e panoni.

taunoa 27

Te tatau kaupae tīpako, ka whakawhiti i te wā tukatuka roa mō te kounga pai ake ina piki te tatau.

taunoa 3.5

Te kaha o te arataki kore-whakarōpū.

taunoa 4

Te tauine ārahi e whakahaere ana i te tino whai a te tauira i te tohutohu i tana wāhanga tuarua.

taunoa 2

Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.

POST /run/wan/v2.2-a14b/image-to-image?wait=20 utu → $ 0.05
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/wan/v2.2-a14b/image-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Wan · v2.2 A14b · Image to Image

Ka ētita i tētahi atahanga tāuru (`image_url`) i runga i tētahi `prompt` kuputuhi. Mā `strength` mai i te 0 ki te 1 e whakarite te nui ka hanga anōhia, ko te 1 he hanga anō katoa, ko te 0 he pupuri i te taketake. Ka whai aunoa te ōwehenga āhuatanga i te tāuru, ka taea rānei te 16:9, 9:16, 1:1 rānei. E rua ngā tauine arataki mō ōna wāhanga e rua, ā, ko te putanga he png, jpeg rānei.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
image_urle hiahiatia ana image
Momourl · image
He URL e tohu ana ki te atahanga tāuru.
prompte hiahiatia ana
Momostring
Ngā tohutohu kuputuhi hei ārahi i te atahanga kua whakaputaina.
strengthkōwhiringa
Momonumber
Taunoa0.5
0 – 1
Te kaha tango-haruru: mā te 1.0 ka hangaia anō katoatia te atahanga, ko te 0.0 ka pupuri i te taketake kia kaua e panoni.
negative_promptkōwhiringa
Momostring
Taunoa
Te tohutohu tōraro e whakamahia ana i te whakaputa ataata.
seedkōwhiringa
Momointeger | null
Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.
aspect_ratiokōwhiringa
Momoenum
Taunoaauto
auto16:99:161:1
Tautuhia ngā ōwehenga o te atahanga kua whakaputaina, kōwhiria rānei 'auto' kia whakatauhia aunoatia e te atahanga tāuru.
num_inference_stepskōwhiringa
Momointeger
Taunoa27
2 – 40
Te tatau kaupae tīpako, ka whakawhiti i te wā tukatuka roa mō te kounga pai ake ina piki te tatau.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoafalse
Te tirotiro haumaru tāuru i mua i te tukatuka, ā, ko ngā pūkete whai mana anake ka taea te whakaweto. Ka tirotirohia tonutia ngā tono kāore he mana; ki te whai mana, mā true e whakahohe te tirotiro.
enable_output_safety_checkerkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere i te tirotiro haumaru o te ataata kua whakaputaina; mā te tautuhi true e whakahohe te tirotiro i muri i te whakaputanga.
enable_prompt_expansionkōwhiringa
Momoboolean
Taunoafalse
Tukua he tauira reo nui kia whakarangatira i te tohutohu ki ngā taipitopito. Mā tēnei whakawhānuitanga e noho pūmau ai te tikanga o te tohutohu.
accelerationkōwhiringa
Momoenum
Taunoaregular
noneregular
Te tautuhinga whakatere, ko 'regular' te kōwhiringa e taunakitia ana. Mā te whakanui i te whakatere ka heke te kounga hei whakapoto i te wā whakaputa.
guidance_scalekōwhiringa
Momonumber
Taunoa3.5
1 – 10
Te kaha o te arataki kore-whakarōpū.
guidance_scale_2kōwhiringa
Momonumber
Taunoa4
1 – 10
Te tauine ārahi e whakahaere ana i te tino whai a te tauira i te tohutohu i tana wāhanga tuarua.
shiftkōwhiringa
Momonumber
Taunoa2
1 – 10
image_sizekōwhiringa
Momoobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
image_formatkōwhiringa
Momoenum
Taunoajpeg
pngjpeg
Hōputu kōnae mō te atahanga ka puta.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.2-a14b/image-to-image",
  "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": 50,
    "usd": "0.05",
    "charged": 50,
    "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": {
    "image": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "prompt": "A cinematic portrait of a woman in natural light, 85mm look.",
    "seed": 42
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
image
object {url, content_type, file_name, file_size}Kōnae atahanga i whakaputaina.
prompt
stringTe tohutohu kuputuhi i whakamahia hei whakaputa i te atahanga.
seed
integerTe uara kākano i whakamahia i te whakaputanga.

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/wan/v2.2-a14b/image-to-image.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt