ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Bagel · Understand

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id bagel/understand
# 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/bagel/understand?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ: $0.05 50 API ᠺᠷᡝᡩᡳᠲ · ≈ ₽5.27 ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
ByteDance ᡤᠠᠳᠠᠨ ᡤᡝᠯᡳᠮᡝ #image-to-text#vlm

ᡳᠮᠠᡤᡝ ᡳ ᠵᠠᠯᠠᠨ ᡩᡝ ᡠᠮᡝᠰᡳ ᡥᡝᠯᡝᠮᡝ ᠵᠠᠯᠠᠨ ᠵᠠᡤᠠᠨ ᠪᡝ ᠵᠠᠯᠠᠨ ᠪᡝ ᠪᡠᠯᡝᠮᡝ ᠪᡠᠶᡝᠮᠪᡳ

ByteDance · ᡥᡡᠯᠠᠨ

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

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

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

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

•ᡴᠠᠷᠠᡴᡡ

ᡤᠠᠳᠠᠨ ᡥᡡᠯᠠᠨᡳ ᡥᡡᠯᠠᠨ᠉

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

ᡥᡡᠯᠠᠯᠠᠮᠪᡳ ᡤᠠᠳᠠᠨ᠉

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

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

POST /run/bagel/understand?wait=20 ᠵᠠᠯᡳᠨ → $0.05
# 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/bagel/understand?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Bagel · Understand ᡠᡵᡝᠮᡝ

ᠵᡠᠸᡝ ᠵᠠᠯᠠᠨ ᡤᡝᠰᡳᡥᡝᠨ ᡳ ᠮᠠᠰᡳᠯᠠᠨ: `image_url` ᠮᡠᠰᡝᠨ ᠮᡠᠰᡝᠨ ᡳ ᠵᠠᠯᠠᠨ ᠪᡝ ᠪᡠᡴᡩᠠᠮᡝ᠂ `prompt` ᡳ ᠵᡠᠸᡝᠨ ᠵᠠᠯᠠᠨ ᠵᡠᡶᠠᠨ ᡩᡝ ᠪᡠᠯᡝᠮᡝ᠂ ᡳᠯᡥᠠᠮᡝ `text` ᡳ ᠪᠠᡳᠮᠪᡳ᠉ `seed` ᠪᡝ ᠵᠠᠯᠠᠨ ᠣᠴᡳᠪᡠᡵᡝ ᠵᠠᠮᡳ ᠪᠠᡳᠮᠪᡳ᠉ ᡳᠮᠠᡤᡝ ᡳ ᠵᠠᠯᠠᠨ ᠪᡝ ᠠᠰᡠᡵᠠᠮᡝ ᠠᠮᠠᠯᠠᠨ ᠵᠠᠯᠠᠨ ᠪᡝ ᠵᠠᠯᠠᠨ ᠪᡝ ᠪᡠᠯᡝᠮᡝ ᠪᡝᠯᡝᠨᠵᡝᠮᡝ ᠪᡝ ᠪᡠᠶᡝᠮᡝ ᡝᠮᡠ ᠵᠠᠯᠠᠨ ᠪᡝ ᠪᡠᠯᡝᠮᡝ ᠪᠠᡳᠮᠪᡳ᠉

ᠵᠠᡴᡠᠨ

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

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
image_urlᡴᠠᠷᠠᡴᡡ image
ᡠᠯᠠᠮᡝurl · image
ᡥᡡᠯᠠᠯᠠᠮᠪᡳ ᡤᠠᠳᠠᠨ᠉
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᡤᠠᠳᠠᠨ ᡥᡡᠯᠠᠨᡳ ᡥᡡᠯᠠᠨ᠉
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠪᡠᠶᡝᠮᡝᠨᡳ ᠰᡝᠨᡩᡝᠨᡳ ᠵᠠᠯᡳᠨ᠉
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠰᡠᡵᠠᠮᡝ ᠠᠨᡩᠠ ᠪᡳᠮᡝ ᠰᠠᡳᠨ᠈ ᠵᡠᠴᡝᠨ ᠵᡠᠰᡝ ᠠᠰᡠᡵᠠᠮᡝ᠉
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

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

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bagel/understand",
  "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": 50,
    "usd": "0.05",
    "charged": 50,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "text": "string",
    "seed": 42,
    "prompt": "string",
    "timings": {}
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "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"
  }
}
ᡤᡝᠯᡝᠮᡝ ᡥᡡᠯᡤᡠᠨᡳ ᡳᠨᡠᡝᠯᡝᡥᡝ outputs[].url ᠰᡠᠯᡠᠨ ᡩᡝ ᠰᡳᡵᡝ ᡶᡳᠯᡝ᠈ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠪᠠᠯᡳ ᠵᡝᠮᡤᡳᠨ GB-ᠪᡳᠶᠠ ᠵᡝᠮᡤᡳᠨ ᠪᡝ ᡝᠮᡠᠯᡝᠮᡝ ᠠᠪᠠᠯᡳ 7 ᡥᠠᠨ ᠰᡳᠯᡤᠠᠨ ᡩᡝ᠈ ᠰᡳᠨᡳ ᠪᠠᠯᠠᠨᠰᡳ ᠵᡠᠶᡝᡵᡝᠨ ᠠᠪᠠᠯᡳ ?storage= ᡩᡝ ᡝᠵᡝᠨ ᡥᠠᠯᠠᠮᡝ᠉
ᡝᠮᡠ ᡤᡳᠰᡠᠨ ᡝᠮᡠ ᠮᠣᡩᡝᠯ ᡩᡝtype, url, content_type, width, height ᠮᠠᠩᡤᡳ duration᠈ ᠵᠠᠯᠠᠨ᠈ ᠪᡠᠵᡠᠮᠪᡳ ᠮᠠᠩᡤᡳ ᠵᡝᡵᡤᡳ ᡩᡝᠨᡳ᠈ output ᠮᠣᡩᡝᠯᡳᠨᡳ ᡝᠮᡠ ᠵᠠᠯᠠᠨ
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᡳᠰᡠᠨ
text
stringᡥᡡᠯᠠᠨᡳ ᡩᠠᠯᡳᠨ᠉
seed
integerᠪᡠᠶᡝᠮᡝᠨᡳ ᠰᡝᠨᡩᡝᠨᡳ ᠵᠠᠯᡳᠨ᠉
prompt
stringᠪᡠᠶᡝᠮᡝ ᠵᡠᠯᡝᠮᡝᠨᡳ ᡥᡡᠯᠠᠨ᠉
timings
objectᠪᡠᠶᡝᠮᡝᠨᡳ ᠮᡝᠨᡩᡝ ᠵᠠᠯᡳᠨ᠉

ᡝᠯᡤᡳ ᡩᠠᠯᡳᠨ: ᡤᠠᠳᠠᠨ ᡤᡝᠯᡳᠮᡝ

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