ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Bitdance

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id bitdance
# 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/bitdance?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ: ≈$0.01 10 API ᠺᠷᡝᡩᡳᠲ · ≈ ₽1.05 ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Open model ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᠠᠳᠠᠨ #text-to-image

ᠪᠠᠶᠢᠯᠭᠠᠯᠠᠬᡠ ᠮᡠᠵᡳᠯᡝᠨ ᡳ ᡝᠮᡤᡝᠯᡝᠮᡝ ᠪᠠᠶᠢᠯᠭᠠᠨ ᡳᠯᡳᡥᡝᠨ ᡩᡝ ᠣᠮᠣᠯᠣᠨᠠᠮᡝ, ᡝᠮᡠ ᠵᠠᠯᠠᠯᠭᠠᠨ ᡩᡝ ᠵᠠᠯᠠᠨ ᠵᠠᠯᠠᠨ 4 ᠵᠠᠯᠠᠨ

Open model · ᡤᠠᠳᠠᠨ

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

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

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

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

•ᡴᠠᠷᠠᡴᡡ

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

image_size ᠵᡠᠯᡝ square_hd

ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨᡳ ᠵᠠᠯᠠᠨ ᠵᠠᠯᠠᠯᠠᠮᠪᡳ, ᠮᠣᠳᡝᠯ ᡳᠯᡝᠨᡳ ᠵᠠᠯᠠᠨᡩᡝ ᠵᠠᠯᠠᠯᠠᠮᠪᡳ.

num_images ᠵᡠᠯᡝ 1

ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠮᠠᠨ.

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ output_format · num_inference_steps · guidance_scale · seed · enable_safety_checker
output_format ᠵᡠᠯᡝ jpeg

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

ᠵᡠᠯᡝ 25

ᡩᡳᡶᡶᡠᠰᡳᠣᠨ ᠰᠠᠮᠪᡳᠨᡳ ᡶᡳᠯᡝᠮᡝᠨᡳ ᠠᠯᡤᠠᠨ.

ᠵᡠᠯᡝ 7.5

ᡶᡳᠯᡝᠮᡝ ᡩᠠᠯᡤᠠᠨᡳ ᠵᠠᠯᡠᠮᡝ ᠪᡠᠶᡝᠮᡝ ᠠᠯᡳᠨᡩᠠᠮᠪᡳ.

ᠵᠠᠯᡠ ᠵᠠᠪᠰᡳᠨ, ᠵᠠᠯᡠ ᡥᡡᠯᠠᠨ ᠪᡳ ᡤᠠᠳᠠᠨ ᡝᡵᡝᠮᡝ ᠪᡠᠮᡝ ᡩᠠᠮᡠ ᠪᡠᠶᡝᠮᡝᠮᠪᡳ.

POST /run/bitdance?wait=20 ᠵᠠᠯᡳᠨ → $0.01
# 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/bitdance?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Bitdance ᡠᡵᡝᠮᡝ

`prompt` ᡳ BitDance ᠵᠠᠯᠠᠨ ᡳᠯᡳᡥᡝᠨ ᠪᠠᠶᠢᠯᠭᠠᠮᡝ. ᠵᠠᠯᠠᠨ `image_size` ᠵᠠᠯᠠᠯᠭᠠᠨ square_hd ᠪᡝ landscape_16_9 ᠵᠠᠯᠠᠨ ᠰᠣᠩᡤᠣᠯᠣᠮᡝ, `guidance_scale` (1 ᡩᡝ 15) ᠪᡝ `num_inference_steps` (10 ᡩᡝ 100) ᠵᠠᠯᠠᠨ ᠵᠠᠯᠠᠨ ᠵᠠᠬᠠᠮᡝ, `num_images` ᡳ 1 ᡩᡝ 4 ᠵᠠᠯᠠᠨ ᠵᠠᠯᠠᠯᠭᠠᠮᡝ. ᠠᠪᠠᠯᠠᠯ jpeg ᠪᡝ png ᠪᡳᠮᠪᡳ, `seed` ᡳ ᠵᠠᠯᠠᠨ ᠵᠠᠯᠠᠨ ᠠᠮᡤᠠᠨ ᠪᡳᠮᠪᡳ.

ᠵᠠᡴᡠᠨ

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

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᡤᠠᠳᠠᠨ ᠪᡠᠶᡝᠮᡝᠨᡳ ᡥᡡᠯᠠᠨ.
image_sizeᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝobject
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨᡳ ᠵᠠᠯᠠᠨ ᠵᠠᠯᠠᠯᠠᠮᠪᡳ, ᠮᠣᠳᡝᠯ ᡳᠯᡝᠨᡳ ᠵᠠᠯᠠᠨᡩᡝ ᠵᠠᠯᠠᠯᠠᠮᠪᡳ.
num_inference_stepsᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ25
10 – 100
ᡩᡳᡶᡶᡠᠰᡳᠣᠨ ᠰᠠᠮᠪᡳᠨᡳ ᡶᡳᠯᡝᠮᡝᠨᡳ ᠠᠯᡤᠠᠨ.
guidance_scaleᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝnumber
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ7.5
1 – 15
ᡶᡳᠯᡝᠮᡝ ᡩᠠᠯᡤᠠᠨᡳ ᠵᠠᠯᡠᠮᡝ ᠪᡠᠶᡝᠮᡝ ᠠᠯᡳᠨᡩᠠᠮᠪᡳ.
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᠵᠠᠯᡠ ᠵᠠᠪᠰᡳᠨ, ᠵᠠᠯᡠ ᡥᡡᠯᠠᠨ ᠪᡳ ᡤᠠᠳᠠᠨ ᡝᡵᡝᠮᡝ ᠪᡠᠮᡝ ᡩᠠᠮᡠ ᠪᡠᠶᡝᠮᡝᠮᠪᡳ.
num_imagesᠵᡠᠯᡝ num_outputs
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1
1 – 4
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠮᠠᠨ.
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠮᡤᠠᠨᡳ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ; ᠠᠮᡤᠠᠨ ᠪᡝ ᡠᠵᡠᠯᠠᠮᡝ ᡤᠠᠳᠠᠨ ᠪᡝ ᡴᠠᡵᠠ ᠪᡠᠶᡝᠮᡝᠮᠪᡳ᠉ true ᠪᡝ ᡠᠵᡠᠯᠠᠮᡝᠨᡳ ᡩᠠᠯᡳᠨ; false ᠪᡝ ᡩᠠᠯᡳᠨ ᠠᡴᡠᠯᠠᠮᠪᡳ᠂ ᠵᡠᠯᡝ ᠵᡠᠯᡝᠨᡳ ᠪᡝ ᠠᡴᡠᠯᠠᠮᠪᡳ᠉
output_formatᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝjpeg
jpegpng
ᠪᡠᠶᡝᠮᡝ ᠵᡠᠴᡝᠨ ᡳ ᡶᡳᠯᡝ ᡳ ᠵᡠᠰᡝ᠉
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bitdance",
  "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": 10,
    "usd": "0.01",
    "charged": 10,
    "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
      }
    ],
    "seed": 42,
    "has_nsfw_concepts": [
      false
    ],
    "prompt": "A close-up portrait of a cat wearing a tiny top hat, cinematic photography style"
  },
  "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.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 ᠮᠣᡩᡝᠯᡳᠨᡳ ᡝᠮᡠ ᠵᠠᠯᠠᠨ
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᡳᠰᡠᠨ
images
array of object {url, content_type, file_name, file_size, width, height}ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨᡳ ᡶᡳᠯᡝ ᡩᠠᠮᡠ.
seed
integerᡤᠠᠳᠠᠨ ᠪᡠᠶᡝᡥᠠᠨᡳ ᠵᠠᠪᠰᡳᠨ.
has_nsfw_concepts
array of booleanᠪᡠᠶᡝᠮᡝᠨᡳ ᠤᠯᡥᠠᠨ ᠤᠨᠠᠰᡳᠨ ᠩᡝᠮᡝ ᠪᡳ ᠰᡝᠮᡝ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ᠉
prompt
stringᠪᡠᠶᡝᠮᡝᠨᡳ ᡥᡡᠯᠠᠨ᠉

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