ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Nano Banana

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id nano-banana
# 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/nano-banana?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"
  }'

# 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.04 40 API ᠺᠷᡝᡩᡳᠲ ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Google ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᠠᠳᠠᠨ #image-generation

ᡩᠠ Nano Banana ᡥᡝᡵᡤᡝᠨ ᠴᡳ ᠨᡳᡵᡠᡤᠠ ᠪᠠᠨᠵᡳᠪᡠᡵᡝ ᠮᠣᡩᡝᠯ. ᠵᡠᠸᠠᠨ ᡴᡝᠮᡠᠨ ᠪᡝ ᡩᡠᡳᠨ ᠨᡳᡵᡠᡤᠠ ᠪᡝ ᠪᠠᡥᠠᠮᠪᡳ.

Google · ᡤᠠᠳᠠᠨ

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

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

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

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

•ᡴᠠᠷᠠᡴᡡ 88 / 50000

ᡤᠠᠳᠠᠨ ᠪᡠᠶᡝᠮᡝ ᡳ ᡥᡡᠯᠠᠨ。

aspect_ratio ᠵᡠᠯᡝ 1:1

ᠪᡠᠶᡝᠮᡝ ᠪᡠᠮᡝᠩᡤᡝ ᡤᠠᠳᠠᠨ ᡳ ᠵᠠᠯᠠᠨ。

num_images ᠵᡠᠯᡝ 1

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

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ output_format · safety_tolerance · seed · limit_generations
output_format ᠵᡠᠯᡝ png

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

safety_tolerance ᠵᡠᠯᡝ 4

ᠪᡠᠮᡝᠩᡤᡝ ᠪᡝᠶᡝ ᠮᡠᡵᡝᠨ ᡳ ᠠᠰᡠᡵᡝ ᠵᡠᠯᡝ,ᠵᡠᠯᡝ 6 ᠴᡳ ᠠᠮᠠᠰᡳ ᠰᡠᠯᡥᡝ 1 ᡩᡝ ᠪᡳ。

ᠰᡝᠨᡩᡝ ᡳ ᡝᠮᡠ ᠵᡠᠯᡝ ᠪᡠᠮᡝᠩᡤᡝ ᠰᡝᠨᡩᡝ。

POST /run/nano-banana?wait=20 ᠵᠠᠯᡳᠨ → $0.04
# 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/nano-banana?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"
  }'

# 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 ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

Nano Banana ᡠᡵᡝᠮᡝ

50000 ᡥᡝᡵᡤᡝᠨ ᡳ ᡩᠣᡵᡤᡳ ᠪᡳᠰᡳᡵᡝ `prompt` ᠴᡳ ᠨᡳᡵᡠᡤᠠ ᠪᠠᠨᠵᡳᠪᡠᠮᠪᡳ. `num_images` ᠪᡝ 1 ᠴᡳ 4 ᡳ ᡩᠣᡵᡤᡳ ᠰᡳᠨᡩᠠᠮᠪᡳ. `aspect_ratio` ᡩᡝ ᠵᡠᠸᠠᠨ ᡴᡝᠮᡠᠨ ᠪᡳᠰᡳᡵᡝ (21:9 ᠴᡳ 9:16). `output_format` ᠪᡝ jpeg, png ᡝᠪᡝᡵᡝ webp ᠪᡝ ᠰᠣᠨᠵᠣᠮᠪᡳ. `safety_tolerance` ᠪᡝ 1 ᠴᡳ 6 ᡳ ᡩᠣᡵᡤᡳ ᠰᡳᠨᡩᠠᠮᠪᡳ.

ᠵᠠᡴᡠᠨ

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

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
≤ 50,000 ᠵᡳᠪᡝᠨ≥ 3 ᠵᡳᠪᡝᠨ
ᡤᠠᠳᠠᠨ ᠪᡠᠶᡝᠮᡝ ᡳ ᡥᡡᠯᠠᠨ。
num_imagesᠵᡠᠯᡝ num_outputs
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1
1 – 4
ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠵᡠᠴᡝᠨ ᡳ ᠵᡠᠰᡝ ᡳ ᡩᡠᠯᠠᠨ᠉
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᠰᡝᠨᡩᡝ ᡳ ᡝᠮᡠ ᠵᡠᠯᡝ ᠪᡠᠮᡝᠩᡤᡝ ᠰᡝᠨᡩᡝ。
aspect_ratioᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1:1
21:916:93:24:35:41:14:53:42:39:16
ᠪᡠᠶᡝᠮᡝ ᠪᡠᠮᡝᠩᡤᡝ ᡤᠠᠳᠠᠨ ᡳ ᠵᠠᠯᠠᠨ。
output_formatᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝpng
jpegpngwebp
ᠪᡠᠶᡝᠮᡝ ᠵᡠᠴᡝᠨ ᡳ ᡶᡳᠯᡝ ᡳ ᠵᡠᠰᡝ᠉
safety_toleranceᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ4
123456
ᠪᡠᠮᡝᠩᡤᡝ ᠪᡝᠶᡝ ᠮᡠᡵᡝᠨ ᡳ ᠠᠰᡠᡵᡝ ᠵᡠᠯᡝ,ᠵᡠᠯᡝ 6 ᠴᡳ ᠠᠮᠠᠰᡳ ᠰᡠᠯᡥᡝ 1 ᡩᡝ ᠪᡳ。
limit_generationsᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ ᡳ ᠵᠠᠯᠠᠨ:`True` ᠪᡳᠮᡝ ᡥᡡᠯᠠᠨ ᡳ ᡤᠠᠳᠠᠨ ᠵᠠᠯᠠᠨ ᡳ ᠵᡠᠯᡝ ᠠᠰᡠᠪᡠᡵᡝᠮᠪᡳ,ᠨᡝᡵᡝ ᠬᠠᠯᠠᡵᠠᠨ ᡩᡝ 1 ᠪᡠᠶᡝᠮᡝ ᠠᠮᠠᠰᡳ。
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nano-banana",
  "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": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
      }
    ],
    "description": "string"
  },
  "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}ᠮᠣᡩᡝᠯ ᠪᡠᠶᡝᠮᡝᠨᡳ ᠤᠯᡥᠠᠨ ᠤᠨᠠᠰᡳᠨ᠉
description
stringᠪᡠᠶᡝᠮᡝᠩᡤᡝ ᡤᠠᠳᠠᠨ ᡩᡝ ᠵᡠᠯᡝ ᠪᡳᠰᡳᡵᡝᠩᡤᡝ ᡥᡡᠯᠠᠨ。

ᡝᠯᡤᡳ ᡩᠠᠯᡳᠨ: ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᠠᠳᠠᠨ

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