ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Emu 3.5 Image · Edit Image

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id emu-3.5-image/edit-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/emu-3.5-image/edit-image?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",
    "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"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ: $0.30 300 API ᠺᠷᡝᡩᡳᠲ ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
BAAI ᡤᠠᠳᠠᠨ ᠵᠠᠰᡳᠨ 720p ᡩᡝ ᡳᠨᡝ

ᠪᡳᠴᡳᠪᡝ ᠵᠠᠰᠠᠮᠪᡳ ᡥᠠᠮᡳ ᡥᡡᠯᠠᠨ ᡳ ᠵᠠᡵᡤᠠᠨ᠂ 480p ᡥᠠᠮᡳ 720p ᠪᡝ ᠪᠠᡳᡨᠠᠯᠠᠮᠪᡳ ᡥᠠᠮᡳ auto ᠪᡝ ᠰᡳᠯᡤᠠᠮᠪᡳ

BAAI · ᡤᠠᠳᠠᠨ

ᡳᠨᡝ ᡝᠮᡠᠨᡳᠩᡤᡝ ᡝᡵᡝᠮᡝ ᡩᡝ

ᡝᡵᡝ ᠵᡠᠯᡝᠨ ᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠪᠠᠶᠠᠨᠠᠮᡝ ᠠᠮᡪᠠᠯᠠ ᡶᡳᠯᡝᠮᡝ ᠪᡝᠶᡝᠮᡝ᠃ API ᠵᡳᡵᡤᠠᡳ ᡤᠠᡳᡥᠠᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠵᠠᠯᠠᠨᠠᠮᡝ ᠪᡠᠶᡝᠮᡝ ᠮᡠᠰᡝᡳ ᠰᡠᠯᡠᠨᡩᡝ ᠪᠠᠶᠠᠨᠠᠮᡝ᠂ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠶᠠᠨ 7 ᡥᠠᠨ ᠰᠠᡳᠨᠠᠮᡝ᠃

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

ᠵᠠᡴᡠᠨᡳ ᠵᡠᠯᡝ ᡩᡝᡵᡤᡳ ᡩᡝᠪᡝᠰᡠᠮᡝ ᠵᡠᠯᡤᡝ ᠪᡠᠶᡝᠮᡝ᠈ ᡳᠨᡳ ᡤᡳᠰᡠᠨ ᠪᠠᡳ ᡝᠨᡝᠩᡤᡳ ᠠᠮᠪᡳ

•ᡴᠠᠷᠠᡴᡡ

ᡤᠠᠳᠠᠨ ᡳ ᡥᠠᠯᠠᠨ ᠪᡝ ᠰᠠᡵᡴᡳᠶᠠᡵᠠ ᡥᡡᠯᠠᠨ.

•ᡴᠠᠷᠠᡴᡡ image_url
ᠪᡠᠮᠪᡳ ᡝᠮᡠ ᡩᠠᡵᠠᠮᡝ

ᠵᠠᠯᡳᠨᠠᠮᠪᡳ ᡤᠠᠳᠠᠨ᠉

resolution ᠵᡠᠯᡝ 720p

ᡶᠠᡴᠵᡳᠨ ᡤᠠᠳᠠᠨ ᡳ ᠵᠠᠯᠠᠨ.

aspect_ratio ᠵᡠᠯᡝ auto

ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨ ᡳ ᡝᡵᡝᡤᡝᠨ ᠵᠠᠯᡳᠨ᠉

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ output_format · seed · enable_safety_checker
output_format ᠵᡠᠯᡝ png

ᡶᠠᡴᠵᡳᠨ ᡤᠠᠳᠠᠨ ᡳ ᡶᡳᠯᡝ ᡩᡠᡵᡠᠨ.

ᡠᠯᡥᡳᠰᡠ ᠪᠣᡩᠣᡵᠣᡩᡝ ᠪᠠᡳᡨᠠᠯᠠᡵᠠ ᡠᠰᡳᠨ.

POST /run/emu-3.5-image/edit-image?wait=20 ᠵᠠᠯᡳᠨ → $0.30
# 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/emu-3.5-image/edit-image?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",
    "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"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ ᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᡝ

ᡳᠨᡝ ᠵᠠᠯᠠᠨ ᡝᡵᡝ ᠪᡠᡵᡝᠪᡝᡵᡳ ᡩᡝ ᠪᡳᠮᡝ᠈ Doitong API ᡩᡝ ᠵᡝᠯᡤᡳ ᡩᠠᡵᠠᠮᡝ᠈ Remember ᠵᡠᠯᡝᠮᡝ ᡤᡳᠯᠠᠮᡝ localStorage ᡩᡝ ᠰᡠᠯᡝᠮᡝ ᠪᡳᠮᡝ API ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

Emu 3.5 Image · Edit Image ᡠᡵᡝᠮᡝ

`image_url` ᡥᠠᠮᡳ ᠵᠠᠰᠠᠮᠪᡳᠨᡳ `prompt` ᠪᡝ ᠠᠮᠠᠯᠠᠮᠪᡳ ᡥᠠᠮᡳ ᠵᠠᠰᠠᠯᠠᠮᠪᡳᠨᡳ ᠪᡳᠴᡳᠪᡝ ᠪᡝᠯᡝᠮᠪᡳ. `resolution` ᠪᡝ 480p ᡥᠠᠮᡳ 720p᠂ `aspect_ratio` ᠪᡝ auto ᡥᠠᠮᡳ 21:9 ᡩᡝ 9:21 ᠵᡝᠴᡝᠨ ᠪᡝ ᠵᠠᠰᠠᠮᠪᡳ. ᠵᠠᡵᡤᠠᠨ ᡳ ᠵᠠᠩᡤᡳᠨ png, jpeg ᡥᠠᠮᡳ webp ᠪᡳ᠂ `seed` ᠵᡠᠯᡤᡝ ᠠᠴᡳᠨ ᠪᡝ ᠠᠮᠪᠠᠨᠠᠮᠪᡳ.

ᠵᠠᡴᡠᠨ

ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ ᠵᡝᠯᡤᡳ ᠠᠪᠠᠮᠪᡳ᠈ ᠨᡝᠮᡝ ᠮᡠᠰᡝ ᡠᠯᠠᠮᠪᡳ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᡤᠠᠳᠠᠨ ᡳ ᡥᠠᠯᠠᠨ ᠪᡝ ᠰᠠᡵᡴᡳᠶᠠᡵᠠ ᡥᡡᠯᠠᠨ.
resolutionᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ720p
480p720p
ᡶᠠᡴᠵᡳᠨ ᡤᠠᠳᠠᠨ ᡳ ᠵᠠᠯᠠᠨ.
aspect_ratioᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝauto
auto21:916:94:33:21:12:33:49:169:21
ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨ ᡳ ᡝᡵᡝᡤᡝᠨ ᠵᠠᠯᡳᠨ᠉
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠮᠠᠯᠠᠮᡝ ᠰᠠᠬᡳᠶᠠᠨ ᡳ ᠵᠠᠯᡳᠨ ᠪᡳᠰᡳᡵᡝ ᠵᠠᡴᡠᠨᠠᠮᡝ᠉
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᡠᠯᡥᡳᠰᡠ ᠪᠣᡩᠣᡵᠣᡩᡝ ᠪᠠᡳᡨᠠᠯᠠᡵᠠ ᡠᠰᡳᠨ.
output_formatᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝpng
jpegpngwebp
ᡶᠠᡴᠵᡳᠨ ᡤᠠᠳᠠᠨ ᡳ ᡶᡳᠯᡝ ᡩᡠᡵᡠᠨ.
image_urlᡴᠠᠷᠠᡴᡡ image
ᡠᠯᠠᠮᡝurl · image
ᠵᠠᠯᡳᠨᠠᠮᠪᡳ ᡤᠠᠳᠠᠨ᠉
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

ᠪᡠᠮᠪᡳᠯᡝᠰᡝ ᡝᠮᡠ ᡤᡝᠮᡠᠨᡳ https:// URL᠈ 10 MB ᡩᡝ ᡩᡝᠷᡤᡳ data: URI ᠵᡝᡵᡤᡳ ᡝᠮᡝ᠈ ᡳᠨᡝ ᠪᡠᠮᠪᡳᠯᡝᠰᡝᠨᡳ file_url ᠠᠪᠠᠮᠪᡳ ᠪᡠᠮᠪᡳ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "emu-3.5-image/edit-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": 300,
    "usd": "0.30",
    "charged": 300,
    "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": {
    "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
  },
  "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"
  }
}
ᡤᡝᠯᡝᠮᡝ ᡥᡡᠯᡤᡠᠨᡳ ᡳᠨᡠᡝᠯᡝᡥᡝ outputs[].url ᠰᡠᠯᡠᠨ ᡩᡝ ᠰᡳᡵᡝ ᡶᡳᠯᡝ᠈ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠪᠠᠯᡳ ᠵᡝᠮᡤᡳᠨ GB-ᠪᡳᠶᠠ ᠵᡝᠮᡤᡳᠨ ᠪᡝ ᡝᠮᡠᠯᡝᠮᡝ ᠠᠪᠠᠯᡳ 7 ᡥᠠᠨ ᠰᡳᠯᡤᠠᠨ ᡩᡝ᠈ ᠰᡳᠨᡳ ᠪᠠᠯᠠᠨᠰᡳ ᠵᡠᠶᡝᡵᡝᠨ ᠠᠪᠠᠯᡳ ?storage= ᡩᡝ ᡝᠵᡝᠨ ᡥᠠᠯᠠᠮᡝ᠉
ᡝᠮᡠ ᡤᡳᠰᡠᠨ ᡝᠮᡠ ᠮᠣᡩᡝᠯ ᡩᡝtype, url, content_type, width, height ᠮᠠᠩᡤᡳ duration᠈ ᠵᠠᠯᠠᠨ᠈ ᠪᡠᠵᡠᠮᠪᡳ ᠮᠠᠩᡤᡳ ᠵᡝᡵᡤᡳ ᡩᡝᠨᡳ᠈ output ᠮᠣᡩᡝᠯᡳᠨᡳ ᡝᠮᡠ ᠵᠠᠯᠠᠨ
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᡳᠰᡠᠨ
images
array of object {url, content_type, file_name, file_size, width, height}ᠮᠠᠩᡤᡳᠯᠠᡥᠠ ᡤᠠᠳᠠᠨ᠈
seed
integerᡠᠯᡥᡳᠰᡠ ᠪᠣᡩᠣᡵᠣᡩᡝ ᠪᠠᡳᡨᠠᠯᠠᡵᠠ ᡠᠰᡳᠨ.

ᡝᠯᡤᡳ ᡩᠠᠯᡳᠨ: ᡤᠠᠳᠠᠨ ᠵᠠᠰᡳᠨ

AI ᠠᡤᡝᠨᡨᡳ ᡠᠴᡠᠷᡳ᠈ ᡝᡵᡝ ᡩᡝᠪᡝᡵᡳ Markdown ᠰᡳᠨᡩᠠᡵᡳ https://doitong.com/mnc/developers/models/emu-3.5-image/edit-image.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt