Skip to content

Hy Wu Edit

Integrate

Model id hy-wu-edit
# 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/hy-wu-edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: $0.15 150 API credits · ≈ ₽15.70 Run it on this page

Get API key
Open model Image Editing #image-to-image

Reference-guided image editor for outfit transfer, face swaps and texture blending from 2-3 input images

Open model · Image

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

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

•required

Edit instructions written in English or Chinese. Be specific, for example: 'Replace the clothing on figure 1 with the outfit from figure 2'.

•required image_urls
Drop a file, or

Editing input URLs, limited to 3 images. The usual setup uses 2 images paired as a base and a reference.

image_size default auto

Output image dimensions, either requested explicitly or chosen by the model when set to auto.

num_images default 1

Image count requested for generation.

Advanced output_format · num_inference_steps · seed · enable_safety_checker
output_format default png

File format for the resulting image.

default 30

Count of denoising steps used in diffusion.

Reproducibility seed; None lets the system choose one at random instead of using a caller-specified value.

POST /run/hy-wu-edit?wait=20 quote → $0.15
# 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/hy-wu-edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "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.ru/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 Hy Wu Edit

Edits a base picture using a text instruction plus reference pictures. `image_urls` takes up to 3 images, typically a base image and a reference. Prompts can be in English or Chinese. You can request 1 to 4 outputs, choose png or jpeg, and switch off `enable_thinking` to speed up simple edits.

Parameters

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

NameType DefaultAllowed Description
promptrequired
Typestring
Edit instructions written in English or Chinese. Be specific, for example: 'Replace the clothing on figure 1 with the outfit from figure 2'.
image_urlsrequired images
Typeurl[] · image
Editing input URLs, limited to 3 images. The usual setup uses 2 images paired as a base and a reference.
image_sizeoptional
Typeobject
Defaultauto
autosquare_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Output image dimensions, either requested explicitly or chosen by the model when set to auto.
num_inference_stepsoptional
Typeinteger
Default30
1 – 100
Count of denoising steps used in diffusion.
seedoptional
Typeinteger | null
Reproducibility seed; None lets the system choose one at random instead of using a caller-specified value.
num_imagesoptional num_outputs
Typeinteger
Default1
1 – 4
Image count requested for generation.
enable_thinkingoptional
Typeboolean
Defaulttrue
Controls thinking mode; turning it off speeds up simple edits.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Safety checker activation; true enables checking.
output_formatoptional
Typeenum
Defaultpng
jpegpng
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": "hy-wu-edit",
  "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": 150,
    "usd": "0.15",
    "charged": 150,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "images": [
      {
        "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,
        "width": 1024,
        "height": 768
      }
    ],
    "seed": 42,
    "timings": {}
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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
images
array of object {url, content_type, file_name, file_size, width, height}List containing images produced through generation or editing.
seed
integerSeed value applied during generation.
timings
objectTiming details for individual performance stages.

For AI agents: this page as Markdown is at https://doitong.com/en-US/developers/models/hy-wu-edit.md. All models and guides: https://doitong.com/developers/llms.txt