ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Kling O1 Image

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id kling-image/o1
# 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/kling-image/o1?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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Kling ᡤᠠᠳᠠᠨ ᠵᠠᠰᡳᠨ ᡩᠠᠯᡳᠨ ᡳ ᠠᠯᡳᠨ2K ᡩᡝ ᡳᠨᡝ #edit#realism#typography

ᠵᡠᠯᡤᠠᠨ ᠪᡝ ᠠᠰᠠᠯᠠᡥᠠᠩᡤᡝ ᠵᡠᠯᡤᠠᠨ ᠵᠠᠰᠠᡵᠠ, 10 ᡩᡝ ᠣᠴᡳ ᠵᡠᠯᡤᠠᠨ, @Image ᠲᠠᠭᠠᠯᠠᡵᠠ ᠪᠠᡳ ᠵᡠᠯᡤᠠᠨ, 1K ᠪᠠᡳ 2K, 9 ᡩᡝ ᠣᠴᡳ ᠪᡳᠯᡠᠮᡝ

Kling · ᡤᠠᠳᠠᠨ

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

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

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

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

•ᡴᠠᠷᠠᡴᡡ 88 / 2500

ᠤᠷᠠᠯᠠᠬᡳ ᡥᡡᠯᠠᠨ 2500 ᡥᡝᠪᡝᠯᡳᠨᡩᡝ ᠵᠠᠯᠠᠨ᠈ @Image1, @Image2, ᡝᠮᡝ @Image ᠪᡝ ᡤᠠᠳᠠᠨ ᡩᡝ ᠵᠠᠯᠠᠨ᠈

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

ᠠᠰᡠᡥᠠᡳ ᡤᠠᠳᠠᠨᡳ ᡩᠠᠯᡳᠨᡳ ᠵᠠᠯᠠᠨ 10; ᡥᡡᠯᠠᠨᡩᡝ @Image1, @Image2 ᠵᠠᠯᠠᠨ᠈ ᡝᠮᡝ ᡶᡳᠯᡝ 10.0 MB ᡩᡝ ᡝᠮᡝ ᠪᡠᠮᡝᠨᡳ ᡝᡵᡝᠨᡳ ᠵᠠᠯᠠᠨ 300px, ᠵᠠᠯᠠᠨᡳ ᠵᠠᠯᠠᠨ 0.40 ᡩᡝ 2.50᠈

resolution ᠵᡠᠯᡝ 1K

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

aspect_ratio ᠵᡠᠯᡝ auto

ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠳᠠᠨᡳ ᠵᠠᠯᠠᠨᡳ ᠵᠠᠯᠠᠨ; 'auto' ᠪᡝ ᠰᠣᠩᡤᠣᠪᡠᠮᡝ ᡝᡵᡝᠮᡝ ᠪᡠᠮᡝᠨᡳ ᠮᡝᠨᡳ ᠰᠣᠩᡤᠣᠮᡝ᠈

num_images ᠵᡠᠯᡝ 1

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

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

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

ᡝᠯᡝᠮᡝ ᠣᠮᡳᠰᡳ ᠪᡠᠮᡝ ᡩᠠᠯᡳᠨ ᠪᡝ ᠪᠠᠨᠵᡳᠨ᠈ @Element1, @Element2 ᠪᡝ ᠵᠠᠯᠠᠨᡳ ᡥᡡᠯᠠᠨᡩᡝ ᠵᡝᠯᡝᠨ᠈

POST /run/kling-image/o1?wait=20 ᠵᠠᠯᡳᠨ → $0.028
# 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/kling-image/o1?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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Kling O1 Image ᡠᡵᡝᠮᡝ

2500 ᡤᡝᠵᡝᠨ ᡳ ᡩᡝᠯᡤᡝᠷᡝᠩᡤᡝ ᡳᠨᡩᡠᡵᡳ ᡩᡝᠯᡤᡝᠮᡝ ᠵᡠᠯᡤᡝᡵᡝ ᠪᡝ᠈ `prompt` ᡩᡝ ᠪᡝᠯᡝᡵᡝᠩᡤᡝ ᡳᠨᡩᡠᡵᡳ ᡩᡝᠯᡤᡝᠮᡝ ᡳᠯᡝᠪᡠᠮᡝ ᠵᡠᠯᡤᡝᠵᡝᠮᡝ. @Image1, @Image2 ᡳ ᡠᠰᡳᡥᠠ ᠵᡠᠯᡤᡝᠨᡩᡝ ᡤᡝᠯᡝᠮᡝ ᠪᡠᠮᡝ᠈ `image_urls` ᡩᡝ ᡝᠮᡠ 10 ᡩᡝ ᠣᠴᡳ ᠣᠮᠪᡳ. `elements` ᠵᡠᠯᡤᡝ ᠵᡠᠯᡝ ᡩᠣᠪᡝᠯᡳᠮᡝ᠈ ᡤᠠᡩᠠᠯᠠ ᠵᡠᠯᡤᡝᠨ ᡳ ᠵᡠᠯᡤᡝ 10 ᠣᠴᡳ ᠣᠮᠪᡳ. `resolution` 1K ᠠᠨᡠ 2K ᠣᠴᡳ ᠣᠮᠪᡳ᠈ `num_images` 1 ᠰᡝᡵᡝ 9 ᡩᡝ ᠣᠴᡳ ᠣᠮᠪᡳ᠈ `aspect_ratio` ᡩᡝ auto, 21:9 ᠠᠨᡠ 3:2 ᠪᠠᡳᠮᠪᡳ. ᡩᡝᠯᡤᡝᠮᡝ ᠪᡠᠮᠪᡳ png, jpeg ᠠᠨᡠ webp.

ᠵᠠᡴᡠᠨ

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

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
≤ 2,500 ᠵᡳᠪᡝᠨ
ᠤᠷᠠᠯᠠᠬᡳ ᡥᡡᠯᠠᠨ 2500 ᡥᡝᠪᡝᠯᡳᠨᡩᡝ ᠵᠠᠯᠠᠨ᠈ @Image1, @Image2, ᡝᠮᡝ @Image ᠪᡝ ᡤᠠᠳᠠᠨ ᡩᡝ ᠵᠠᠯᠠᠨ᠈
image_urlsᡴᠠᠷᠠᡴᡡ images
ᡠᠯᠠᠮᡝurl[] · image
ᠠᠰᡠᡥᠠᡳ ᡤᠠᠳᠠᠨᡳ ᡩᠠᠯᡳᠨᡳ ᠵᠠᠯᠠᠨ 10; ᡥᡡᠯᠠᠨᡩᡝ @Image1, @Image2 ᠵᠠᠯᠠᠨ᠈ ᡝᠮᡝ ᡶᡳᠯᡝ 10.0 MB ᡩᡝ ᡝᠮᡝ ᠪᡠᠮᡝᠨᡳ ᡝᡵᡝᠨᡳ ᠵᠠᠯᠠᠨ 300px, ᠵᠠᠯᠠᠨᡳ ᠵᠠᠯᠠᠨ 0.40 ᡩᡝ 2.50᠈
elementsᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝobject[]
ᡝᠯᡝᠮᡝ ᠣᠮᡳᠰᡳ ᠪᡠᠮᡝ ᡩᠠᠯᡳᠨ ᠪᡝ ᠪᠠᠨᠵᡳᠨ᠈ @Element1, @Element2 ᠪᡝ ᠵᠠᠯᠠᠨᡳ ᡥᡡᠯᠠᠨᡩᡝ ᠵᡝᠯᡝᠨ᠈
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
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝauto
auto16:99:161:14:33:43:22:321:9
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠳᠠᠨᡳ ᠵᠠᠯᠠᠨᡳ ᠵᠠᠯᠠᠨ; 'auto' ᠪᡝ ᠰᠣᠩᡤᠣᠪᡠᠮᡝ ᡝᡵᡝᠮᡝ ᠪᡠᠮᡝᠨᡳ ᠮᡝᠨᡳ ᠰᠣᠩᡤᠣᠮᡝ᠈
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/o1",
  "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_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
      }
    ]
  },
  "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"
  }
}
ᡤᡝᠯᡝᠮᡝ ᡥᡡᠯᡤᡠᠨᡳ ᡳᠨᡠᡝᠯᡝᡥᡝ 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/o1.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt