ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

MoonDreamNext Batch

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id moondream-next/batch
# 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/moondream-next/batch?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images_data_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"
  }'

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

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Moondream ᡤᠠᠳᠠᠨ ᡤᡝᠯᡳᠮᡝ #multimodal

ᠠᠮᠪᠠᠨ ᡤᡝᠪᡠᠰᡳ ᠵᠠᠯᠠᠨ ᠮᡠᠯᡤᠠᠨᠪᡝ ᡳᠯᡳ ᠠᡶᡠᠯᠠᠮᠪᡳ᠂ ᡤᡝᠪᡠᠰᡳ ᠵᠠᠯᠠᠨᠪᡝ ᠮᡠᠯᡤᠠᠨ ᠵᠠᠯᠠᠨ ᠪᡝ ᠵᡠᠯᡤᡝ ᠵᡝᠴᡝ JSON ᠪᡳᠴᡳᡥᡝ ᠵᡠᠯᡤᡝᠨᠣᠮᠪᡳ

Moondream · ᡩᠠᡳᠯᠠᠮᡝ (JSON)

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

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

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

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

•ᡴᠠᠷᠠᡴᡡ

ᡳᠨᡝᠩᡤᡳ ᡤᠠ᳠ᠠᠨ ᡩᡝ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ ᡥᡡᠯᠠᠨ᠉

•ᡴᠠᠷᠠᡴᡡ

ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ ᡤᠠ᳠ᠠᠨ ᡳ URL; 32 ᡩᡝ ᠠᠴᡠᠯᠠᠨ ᡳᠨᡠ᠉

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ max_tokens
ᠵᡠᠯᡝ 64

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

POST /run/moondream-next/batch?wait=20 ᠵᠠᠯᡳᠨ → $0.002
# 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/moondream-next/batch?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images_data_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"
  }'

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

MoonDreamNext Batch ᡠᡵᡝᠮᡝ

`images_data_url` ᡩᡝ ᠠᠪᡠᡥᠠ ᡳᠯᡤᠠᠨ ᡠᠯᡥᠠᠨ ᡩᡝ ᡝᠮᡤᡳ `prompt` ᠪᡝ ᠵᡠᠯᡤᡝᠨ ᠵᡠᠯᡤᡝᠨ ᠠᠪᡠᠮᠪᡳ᠂ ᡝᠮᡤᡳ ᡩᠠᠯᡳᠨ ᡩᡝ 32 ᡳᠯᡤᠠᠨ ᠪᡳ᠉ `max_tokens` 1 ᡩᡝᡵᡳ 512᠂ ᡝᠨᡝ 64 ᠪᡳ᠉ ᡳᠯᡳᠪᡠᡥᠠ ᡳᠯᡤᠠᠨ ᡩᡝ ᡥᡡᠯᠠᡥᠠ ᠪᡝ JSON ᠵᡠᠯᡤᡝᠨ ᡩᡝ ᡥᡡᠯᠠᡥᠠ ᠪᡝ ᠵᠠᠯᡤᠠᠮᠪᡳ᠉

ᠵᠠᡴᡠᠨ

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
images_data_urlᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ ᡤᠠ᳠ᠠᠨ ᡳ URL; 32 ᡩᡝ ᠠᠴᡠᠯᠠᠨ ᡳᠨᡠ᠉
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᡳᠨᡝᠩᡤᡳ ᡤᠠ᳠ᠠᠨ ᡩᡝ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ ᡥᡡᠯᠠᠨ᠉
max_tokensᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ64
1 – 512
ᠪᡠᠶᡝᠮᡝ ᡩᡝᠪᡝᠯᡳ ᡳ ᠠᠯᡳᠨ ᠵᠠᠯᠠᠨ᠉
ᡴᠠᠷᠠᡴᡡ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "moondream-next/batch",
  "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": 2,
    "usd": "0.002",
    "charged": 2,
    "refunded": 0
  },
  "input": {
    "images_data_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": {
    "captions_file": {
      "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
    },
    "outputs": [
      "string"
    ]
  },
  "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.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 ᠮᠣᡩᡝᠯᡳᠨᡳ ᡝᠮᡠ ᠵᠠᠯᠠᠨ
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᡳᠰᡠᠨ
captions_file
object {url, content_type, file_name, file_size}ᠪᡠᠶᡝᠮᡝ JSON ᠵᡠᠯᡝ ᡳ ᡶᡳᠯᡝ ᡳ URL, ᡶᡳᠯᡝ ᡳ ᡤᡳᠰᡠᠨ ᠪᡝ ᡠᠨᡩᡝᠮᠪᡳ᠉
outputs
array of stringᠪᡠᠶᡝᠮᡝ ᡤᡳᠰᡠᠨ, ᡤᡝᠪᡠᠮᡝ ᡠᠯᠠᠮᠪᡳ᠉

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

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