Skip to content

Wan · v2.2 A14b · Image to Image

Integrate

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

This request: $0.05 50 API credits Run it on this page

Get API key
Alibaba Image Editing #image-to-image

Wan 2.2 A14B image-to-image with adjustable denoising strength to keep or remake the original

Made on Doitong

Public works made with Wan v2.2 A14b by the Doitong community. Reuse a prompt in one click.

Public works shown: 2
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...

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

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

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required

Text instructions that guide the generated image.

•required image_url
Drop a file, or

URL pointing to the input image.

aspect_ratio default auto

Set the generated image's proportions explicitly, or choose 'auto' to let the input image determine them automatically.

image_size
Advanced 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
default

Negative prompt applied when generating a video.

acceleration default regular

Acceleration setting, with 'regular' as the recommended choice. Increasing acceleration sacrifices quality to shorten generation time.

image_format default jpeg

File format for the resulting image.

default 0.5

Denoising intensity: 1.0 recreates the image entirely, while 0.0 keeps the original unchanged.

default 27

Sampling step count, trading longer processing time for better quality as the count increases.

default 3.5

Strength of classifier-free guidance.

default 4

Guidance scale controlling how closely the model follows the prompt during its second stage.

default 2

Seed that makes generation reproducible. Setting it to None selects a seed randomly.

POST /run/wan/v2.2-a14b/image-to-image?wait=20 quote → $0.05
# 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/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://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Wan · v2.2 A14b · Image to Image

Edits an input image (`image_url`) following a text `prompt`. `strength` from 0 to 1 sets how much is remade, with 1 meaning a full remake and 0 preserving the original. Aspect ratio can follow the input automatically or be 16:9, 9:16 or 1:1. Two guidance scales cover its two stages, and output is png or jpeg.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
image_urlrequired image
Typeurl · image
URL pointing to the input image.
promptrequired
Typestring
Text instructions that guide the generated image.
strengthoptional
Typenumber
Default0.5
0 – 1
Denoising intensity: 1.0 recreates the image entirely, while 0.0 keeps the original unchanged.
negative_promptoptional
Typestring
Default
Negative prompt applied when generating a video.
seedoptional
Typeinteger | null
Seed that makes generation reproducible. Setting it to None selects a seed randomly.
aspect_ratiooptional
Typeenum
Defaultauto
auto16:99:161:1
Set the generated image's proportions explicitly, or choose 'auto' to let the input image determine them automatically.
num_inference_stepsoptional
Typeinteger
Default27
2 – 40
Sampling step count, trading longer processing time for better quality as the count increases.
enable_safety_checkeroptional
Typeboolean
Defaultfalse
Input safety screening before processing, which only authorized accounts may turn off. Requests lacking authorization are always screened; otherwise, true enables screening.
enable_output_safety_checkeroptional
Typeboolean
Defaultfalse
Controls safety screening of the generated video; setting true enables a check after generation.
enable_prompt_expansionoptional
Typeboolean
Defaultfalse
Allow a large language model to enrich the prompt with details. Enabling this expansion leaves the prompt's meaning unchanged.
accelerationoptional
Typeenum
Defaultregular
noneregular
Acceleration setting, with 'regular' as the recommended choice. Increasing acceleration sacrifices quality to shorten generation time.
guidance_scaleoptional
Typenumber
Default3.5
1 – 10
Strength of classifier-free guidance.
guidance_scale_2optional
Typenumber
Default4
1 – 10
Guidance scale controlling how closely the model follows the prompt during its second stage.
shiftoptional
Typenumber
Default2
1 – 10
image_sizeoptional
Typeobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
image_formatoptional
Typeenum
Defaultjpeg
pngjpeg
File format for the resulting image.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

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://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
image
object {url, content_type, file_name, file_size}Image file produced by generation.
prompt
stringText prompt used to generate the image.
seed
integerSeed value applied during generation.

For AI agents: this page as Markdown is at https://doitong.com/developers/models/wan/v2.2-a14b/image-to-image.md. All models and guides: https://doitong.com/developers/llms.txt