ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Kling Image · v3 · Image to Image

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id kling-image/v3/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/kling-image/v3/image-to-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.028 28 API ᠺᠷᡝᡩᡳᠲ ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Kling ᡤᠠᠳᠠᠨ ᠵᠠᠰᡳᠨ ᡩᠠᠯᡳᠨ ᡳ ᠠᠯᡳᠨ2K ᡩᡝ ᡳᠨᡝ #image-to-image

v3 ᡩᡝ ᡳᠨᡩᡠᡵᡳ ᠵᡠᠯᡤᡝᠨᡳ ᡩᡝᠯᡤᡝᠮᡝ ᠰᡠᠯᠠᠨ ᡩᡝ ᠵᡠᠯᡤᡝᠮᡝ᠈ 1K ᠠᠨᡠ 2K ᡩᡝ ᠣᠴᡳ ᠣᠮᠪᡳ᠈ 9 ᡩᡝ ᠣᠴᡳ ᠣᠮᠪᡳ ᠵᡠᠯᡤᡝᠨ

Doitong ᡩᡝ ᠪᡠᠶᡝᠮᡝ

Doitong ᡤᡝᠮᡠᠨᡳ Kling Image ᡩᡝ ᠵᠠᠯᠠᠨ ᠪᡠᠶᡝᠮᡝ᠈ ᡳᠨᡳ ᡤᡳᠰᡠᠨ ᡝᠮᡠ ᡤᡳᠯᠠᠨ ᡩᡝ ᡩᠠᡵᠠᠮᡝ

ᡤᡝᠮᡠᠨᡳ ᠵᡠᠯᡤᡝ ᠵᠠᠯᠠᠨ: 16
**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ᠰᡠᠨᡤᠠ

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ᠰᡠᠨᡤᠠ

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ᠰᡠᠨᡤᠠ

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... ᠰᡠᠨᡤᠠ

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ᠰᡠᠨᡤᠠ

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... ᠰᡠᠨᡤᠠ

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... ᠰᡠᠨᡤᠠ

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... ᠰᡠᠨᡤᠠ

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

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

•ᡴᠠᠷᠠᡴᡡ 88 / 2500

ᠤᠷᠠᠯᠠᠬᡳ ᡥᡡᠯᠠᠨ 2500 ᡥᡝᠪᡝᠯᡳᠨᡩᡝ ᠵᠠᠯᠠᠨ᠈

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

ᠤᠷᠠᠯᠠᠬᡳ ᡤᠠᠳᠠᠨ; ᡶᡳᠯᡝ 10.0MB; ᠵᠠᠯᠠᠨ 300px; ᠵᠠᠯᠠᠨᡳ 0.40 ᡩᡝ 2.50; ᠰᡳᠨᡝᠮᡝ 20.0s᠈

resolution ᠵᡠᠯᡝ 1K

ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠳᠠᠨᡳ ᠵᠠᠯᠠᠨ: 1K ᡝᠮᡝ 2K᠈

aspect_ratio ᠵᡠᠯᡝ 16:9

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

num_images ᠵᡠᠯᡝ 1

ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠳᠠᠨᡳ ᠵᠠᠯᠠᠨ 1 ᡩᡝ 9᠈

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

ᠪᡠᠶᡝᠮᡝ ᠵᡠᠴᡝᠨ ᡳ ᡶᡳᠯᡝ ᡳ ᠵᡠᠰᡝ᠉

ᡝᠯᡝᠮᡝ ᠠᠮᡤᠠᠯᠠᠨ ᡩᡠᠯᡝᠮᡝ ᠪᡠᠮᡝᠨᡳ ᡤᠠᠳᠠᠨᡩᡝ ᠣᠮᡳᠰᡳᠮᡝ᠈

POST /run/kling-image/v3/image-to-image?wait=20 ᠵᠠᠯᡳᠨ → $0.028
# 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/kling-image/v3/image-to-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 ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

Kling Image · v3 · Image to Image ᡠᡵᡝᠮᡝ

ᡝᠮᡠ ᡳᠯᡤᠠᠨ ᡳ ᡩᡝᠪᡝᠯᡳ ᡤᠠᠳᠠᠨ ᡳ (`image_url`) ᡥᡡᠯᠠᠨ ᠵᠠᠯᡳᠨ ᠵᡝᠪᡝᠯᡝᠮᡝ ᡝᡵᡝᠮᡝ ᠠᡳᠯᠠᠮᠪᡳ᠉ ᡤᠠᠳᠠᠨ ᠵᠠᠯᠠᠨ ᡳ ᠵᡝᠷᡤᡳ ᡝᠮᡠ ᠵᡝᠷᡤᡳ 300px ᠣᠴᡳᠨᠠᡴᡳ᠂ ᠵᠠᠯᠠᠨ ᡳ ᠵᡝᠷᡤᡳ 0.40 ᡝᠴᡳ 2.50 ᡩᡝ ᠠᠮᠠᠯᡤᠠᠨ᠂ 10MB ᡳ ᠠᡴᡡᠨ᠉ `resolution` ᠣᠴᡳ 1K ᡝᠴᡳ 2K᠂ `num_images` ᠣᠴᡳ 1-9᠂ `elements` ᠣᠴᡳ ᡩᡝᠯᡤᡳ ᠵᠠᠯᡳᠨ ᡳ ᠵᡠᠰᡝᠨ ᠣᠯᡥᠣᠮᠪᡳ᠉ ᠪᡠᠶᡝᠮᡝ ᡳ ᡶᡳᠯᡝ ᠠᠮᠠᠯᡤᠠᠨ ᠣᠴᡳ jpeg, png ᠠᡳᠰᡳ webp᠉

ᠵᠠᡴᡠᠨ

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

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
≤ 2,500 ᠵᡳᠪᡝᠨ
ᠤᠷᠠᠯᠠᠬᡳ ᡥᡡᠯᠠᠨ 2500 ᡥᡝᠪᡝᠯᡳᠨᡩᡝ ᠵᠠᠯᠠᠨ᠈
image_urlᡴᠠᠷᠠᡴᡡ image
ᡠᠯᠠᠮᡝurl · image
ᠤᠷᠠᠯᠠᠬᡳ ᡤᠠᠳᠠᠨ; ᡶᡳᠯᡝ 10.0MB; ᠵᠠᠯᠠᠨ 300px; ᠵᠠᠯᠠᠨᡳ 0.40 ᡩᡝ 2.50; ᠰᡳᠨᡝᠮᡝ 20.0s᠈
elementsᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝobject[]
ᡝᠯᡝᠮᡝ ᠠᠮᡤᠠᠯᠠᠨ ᡩᡠᠯᡝᠮᡝ ᠪᡠᠮᡝᠨᡳ ᡤᠠᠳᠠᠨᡩᡝ ᠣᠮᡳᠰᡳᠮᡝ᠈
elements[].frontal_image_urlᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝurl · image
ᠵᡝᠯᡝᠨᡳ ᡝᠯᡝᠮᡝᠨᡳ ᠵᠠᠯᠠᠨ ᠪᡝ ᠮᡝᠨᡳ ᡤᠠᠳᠠᠨ; ᡶᡳᠯᡝ 10.0 MB ᡩᡝ ᡝᠮᡝ ᠪᡠᠮᡝᠮᡝ᠈ ᠵᠠᠯᠠᠨ 300px, 0.40 ᡩᡝ 2.50᠈
elements[].reference_image_urlsᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝurl[] · image
ᠵᡝᠯᡝᠨᡳ 0–3 ᠵᠠᠯᠠᠨ ᠠᠰᡠᡥᠠᡳ ᡤᠠᠳᠠᠨ᠈ ᡶᡳᠯᡝ 10.0 MB, ᠵᠠᠯᠠᠨᡳ ᠵᠠᠯᠠᠨ 300px, 0.40 ᡩᡝ 2.50᠈
resolutionᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1K
1K2K
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠳᠠᠨᡳ ᠵᠠᠯᠠᠨ: 1K ᡝᠮᡝ 2K᠈
num_imagesᠵᡠᠯᡝ num_outputs
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1
1 – 9
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠳᠠᠨᡳ ᠵᠠᠯᠠᠨ 1 ᡩᡝ 9᠈
aspect_ratioᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ16:9
16:99:161:14:33:43:22:321:9
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠳᠠᠨᡳ ᡝᡵᡝᠨᡳ ᠵᠠᠯᠠᠨᡳ ᡩᠠᠯᡳᠨᡳ ᠵᠠᠯᠠᠨᡳ ᠵᠠᠯᠠᠨ᠈
output_formatᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝpng
jpegpngwebp
ᠪᡠᠶᡝᠮᡝ ᠵᡠᠴᡝᠨ ᡳ ᡶᡳᠯᡝ ᡳ ᠵᡠᠰᡝ᠉
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠰᡠᡵᠠᠮᡝ ᠠᠨᡩᠠ ᠪᡳᠮᡝ ᠰᠠᡳᠨ᠈ ᠵᡠᠴᡝᠨ ᠵᡠᠰᡝ ᠠᠰᡠᡵᠠᠮᡝ᠉
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

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

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-image/v3/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": 28,
    "usd": "0.028",
    "charged": 28,
    "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
      }
    ]
  },
  "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}ᠮᠣᡩᡝᠯ ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠳᠠᠨ.

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

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