ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

FLUX.1 Kontext · Max · Multi

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id flux-pro/kontext/max/multi
# 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/flux-pro/kontext/max/multi?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.08 80 API ᠺᠷᡝᡩᡳᠲ ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Black Forest Labs · ᡤᠠᠳᠠᠨ

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

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

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

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

•ᡴᠠᠷᠠᡴᡡ

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

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

omni ᠮᠣᠳᡝᠯ ᡳ ᡥᡡᠯᠠᠨ ᡩᡝ ᠪᡠᠮᠪᡝᠩᡤᡝ ᡤᠠᠳᠠᠨ。

aspect_ratio

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

num_images ᠵᡠᠯᡝ 1

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

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ output_format · safety_tolerance · guidance_scale · seed · enhance_prompt
output_format ᠵᡠᠯᡝ jpeg

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

safety_tolerance ᠵᡠᠯᡝ 2

ᡳᠯᡳᠪᡠᡥᡝ ᠵᠠᠯᠠᠨ ᡳ ᡩᠠᠮᡠ ᠵᠠᠯᡳᠨ, 5 ᠠᠴᠠ 1 ᡥᡝᠴᡝ.

ᠵᡠᠯᡝ 3.5

ᡥᡡᠯᠠᠨ ᡩᡝ ᠵᠠᡴᡠᠨ ᠵᡠᠯᡝᠮᡝ ᠤᠯᠠᡥᠠᠨ, CFG (Classifier Free Guidance) ᡩᡝ ᠵᡠᠯᡝᠮᡝ.

ᡳᠨᠠᠩᡤᠠ ᡤᠠᠳᠠᠨ ᡳ ᡶᡳᠶᠠᠩᡤᠠ ᠪᡠᠶᡝᠮᡝ ᡳ ᡝᠮᡠ ᡝᠨᡝᠩᡤᡳ ᡥᡡᠯᠠᠨ ᡳ ᠰᡝᠮᡝ ᡳᠨᡠ ᡝᠮᡠ ᡤᠠᠳᠠᠨ ᠪᡠᠶᡝᠮᡝ, ᠮᠣᠳᡝᠯᡳ ᡥᡡᠯᠠᠨ ᡳ ᡝᠮᡠ ᠵᠠᠩ ᠪᠠᠶᠠᠨ ᠪᡠᠮᡝ.

POST /run/flux-pro/kontext/max/multi?wait=20 ᠵᠠᠯᡳᠨ → $0.08
# 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/flux-pro/kontext/max/multi?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 ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

FLUX.1 Kontext · Max · Multi ᡠᡵᡝᠮᡝ

`image_urls` ᡩᡝ ᡝᠮᡤᡝᠯᡝᠨ ᡳ ᠵᡠᠯᡤᠠᠨ ᠪᠠᠨᠵᡳᠮᠪᡳ᠂ `prompt` ᡳ ᠵᠠᠯᡳᠨ ᠵᠠᠰᡳᠮᠪᡳ᠃ `aspect_ratio` 21:9 ᡩᡝᡵᡳ 9:21᠂ `enhance_prompt`᠂ `safety_tolerance` 1 ᡩᡝᡵᡳ 6᠂ jpeg ᠠᠮᠪᠠᠨ png ᡳ 4 ᡳᠯᡤᠠᠨ᠃

ᠵᠠᡴᡠᠨ

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

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᡤᠠᠳᠠᠨ ᠪᡠᠶᡝᠮᡝᠨᡳ ᡥᡡᠯᠠᠨ᠉
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᡳᠨᠠᠩᡤᠠ ᡤᠠᠳᠠᠨ ᡳ ᡶᡳᠶᠠᠩᡤᠠ ᠪᡠᠶᡝᠮᡝ ᡳ ᡝᠮᡠ ᡝᠨᡝᠩᡤᡳ ᡥᡡᠯᠠᠨ ᡳ ᠰᡝᠮᡝ ᡳᠨᡠ ᡝᠮᡠ ᡤᠠᠳᠠᠨ ᠪᡠᠶᡝᠮᡝ, ᠮᠣᠳᡝᠯᡳ ᡥᡡᠯᠠᠨ ᡳ ᡝᠮᡠ ᠵᠠᠩ ᠪᠠᠶᠠᠨ ᠪᡠᠮᡝ.
guidance_scaleᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝnumber
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ3.5
1 – 20
ᡥᡡᠯᠠᠨ ᡩᡝ ᠵᠠᡴᡠᠨ ᠵᡠᠯᡝᠮᡝ ᠤᠯᠠᡥᠠᠨ, CFG (Classifier Free Guidance) ᡩᡝ ᠵᡠᠯᡝᠮᡝ.
num_imagesᠵᡠᠯᡝ num_outputs
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1
1 – 4
ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠵᡠᠴᡝᠨ ᡳ ᠵᡠᠰᡝ ᡳ ᡩᡠᠯᠠᠨ᠉
output_formatᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝjpeg
jpegpng
ᠪᡠᠶᡝᠮᡝ ᠵᡠᠴᡝᠨ ᡳ ᡶᡳᠯᡝ ᡳ ᠵᡠᠰᡝ᠉
safety_toleranceᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ2
123456
ᡳᠯᡳᠪᡠᡥᡝ ᠵᠠᠯᠠᠨ ᡳ ᡩᠠᠮᡠ ᠵᠠᠯᡳᠨ, 5 ᠠᠴᠠ 1 ᡥᡝᠴᡝ.
enhance_promptᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝfalse
ᡥᡡᠯᠠᠨ ᠪᡝ ᡴᠣᠴᠣᠪᡠᡵᡝ ᠪᡝ ᡩᠠᠰᠠᠮᠪᡳ᠉
aspect_ratioᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
21:916:94:33:21:12:33:49:169:21
ᠪᡠᠶᡝᠮᡝ ᠪᡠᠮᡝᠩᡤᡝ ᡤᠠᠳᠠᠨ ᡳ ᠵᠠᠯᠠᠨ。
image_urlsᡴᠠᠷᠠᡴᡡ images
ᡠᠯᠠᠮᡝurl[] · image
omni ᠮᠣᠳᡝᠯ ᡳ ᡥᡡᠯᠠᠨ ᡩᡝ ᠪᡠᠮᠪᡝᠩᡤᡝ ᡤᠠᠳᠠᠨ。
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

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

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "flux-pro/kontext/max/multi",
  "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": 80,
    "usd": "0.08",
    "charged": 80,
    "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",
        "width": 1024,
        "height": 768,
        "content_type": "image/jpeg"
      }
    ],
    "timings": {},
    "seed": 42,
    "has_nsfw_concepts": [
      false
    ],
    "prompt": "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://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, width, height, content_type}ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨᡳ ᡶᡳᠯᡝ ᡩᠠᠮᡠ.
timings
object
seed
integerᠪᡠᠶᡝᠮᡝᠨᡳ ᠰᡝᠨᡩᡝᠨᡳ ᠵᠠᠯᡳᠨ; ᡳᠨᡠ ᠪᡳᠰᡳᡵᡝᠨ ᠪᡝ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ᠉
has_nsfw_concepts
array of booleanᠪᡠᠶᡝᠮᡝᠨᡳ ᠤᠯᡥᠠᠨ ᠤᠨᠠᠰᡳᠨ ᠩᡝᠮᡝ ᠪᡳ ᠰᡝᠮᡝ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ᠉
prompt
stringᠪᡠᠶᡝᠮᡝᠨᡳ ᡥᡡᠯᠠᠨ᠉

ᡝᠯᡤᡳ ᡩᠠᠯᡳᠨ: ᡤᠠᠳᠠᠨ ᠵᠠᠰᡳᠨ

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