ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Nucleus Image

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id nucleus-image
# 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/nucleus-image?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.01 10 API ᠺᠷᡝᡩᡳᠲ ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Open model ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᠠᠳᠠᠨ #stylized#transform#typography

ᡥᡝᡵᡤᡝᠨ ᠴᡳ ᠨᡳᡵᡠᡤᠠ ᠪᠠᠨᠵᡳᠪᡠᡵᡝ ᠮᠣᡩᡝᠯ. ᠨᠠᡩᠠᠨ `aspect_ratio` ᠪᡳᠰᡳᡵᡝ.

Open model · ᡤᠠᠳᠠᠨ

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

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

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

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

•ᡴᠠᠷᠠᡴᡡ

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

aspect_ratio ᠵᡠᠯᡝ 1:1

ᠪᡠᠶᡝᠮᡝ ᠵᠠᠯᡳᠨᠠᡥᠠ ᡤᠠᡳᠳᠠᠨ ᡳ ᠠᠮᡠᠷᡤᡳ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ᠉ Nucleus-Image ᡳ ᠵᠠᠯᡳᠨᠠᡥᠠ ᠰᠣᠩᡤᠣᠮᠪᡳ᠉

num_images ᠵᡠᠯᡝ 1

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

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

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

output_format ᠵᡠᠯᡝ png

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

ᠵᡠᠯᡝ 50

ᠶᠠᠪᡠᠯᠠᡵᠠ ᡠᠯᡥᡳᠰᡠ ᠪᠣᡩᠣᡵᠣ ᠠᠯᡥᠠ ᡳ ᡨᠣᠨ.

ᠵᡠᠯᡝ 8

classifier-free guidance ᡳ ᠵᠠᠯᡳᠨᠠᡥᠠ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ᠉

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

POST /run/nucleus-image?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.com/v1/run/nucleus-image?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 ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

Nucleus Image ᡠᡵᡝᠮᡝ

`prompt` ᠴᡳ ᠨᡳᡵᡠᡤᠠ ᠪᠠᠨᠵᡳᠪᡠᠮᠪᡳ. `negative_prompt` ᠪᡝ ᠪᠠᡳᡨᠠᠯᠠᠮᠪᡳ. `aspect_ratio` ᠪᡝ ᠨᠠᡩᠠᠨ ᡶᡝᠶᡝᡵᡝ ᠴᡳ ᠰᠣᠨᠵᠣᠮᠪᡳ. `num_inference_steps` (1 ᠴᡳ 100), `guidance_scale` (0 ᠴᡳ 20) ᠵᠠᡳ `seed` ᠪᡝ ᡴᠠᡩᠠᠯᠠᠮᠪᡳ.

ᠵᠠᡴᡠᠨ

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

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᠤᠯᠠᠨ ᡥᡡᠯᠠᠨ ᠪᡝ ᡤᠠᠳᠠᠨ ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ᠉
negative_promptᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝstring
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ
ᠪᡠᠶᡝᠮᡝ ᡳ ᡠᠯᠠᡥᠠ ᡤᠠᡵᡤᠠ ᡥᡡᠯᠠᠨ᠉
aspect_ratioᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1:1
1:116:99:164:33:43:22:3
ᠪᡠᠶᡝᠮᡝ ᠵᠠᠯᡳᠨᠠᡥᠠ ᡤᠠᡳᠳᠠᠨ ᡳ ᠠᠮᡠᠷᡤᡳ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ᠉ Nucleus-Image ᡳ ᠵᠠᠯᡳᠨᠠᡥᠠ ᠰᠣᠩᡤᠣᠮᠪᡳ᠉
num_inference_stepsᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ50
1 – 100
ᠶᠠᠪᡠᠯᠠᡵᠠ ᡠᠯᡥᡳᠰᡠ ᠪᠣᡩᠣᡵᠣ ᠠᠯᡥᠠ ᡳ ᡨᠣᠨ.
guidance_scaleᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝnumber
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ8
0 – 20
classifier-free guidance ᡳ ᠵᠠᠯᡳᠨᠠᡥᠠ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ᠉
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᠪᡠᠶᡝᠮᡝ ᠵᠠᠯᡳᠨᠠᠮᠪᡝ ᠠᠮᡝᠮᡝ ᠪᡠᠶᡝᠮᡝ᠉
num_imagesᠵᡠᠯᡝ num_outputs
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1
1 – 2
ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠵᡠᠴᡝᠨ ᡳ ᠵᡠᠰᡝ ᡳ ᡩᡠᠯᠠᠨ᠉
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠮᡤᠠᠨᡳ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ; ᠠᠮᡤᠠᠨ ᠪᡝ ᡠᠵᡠᠯᠠᠮᡝ ᡤᠠᠳᠠᠨ ᠪᡝ ᡴᠠᡵᠠ ᠪᡠᠶᡝᠮᡝᠮᠪᡳ᠉ true ᠪᡝ ᡠᠵᡠᠯᠠᠮᡝᠨᡳ ᡩᠠᠯᡳᠨ; false ᠪᡝ ᡩᠠᠯᡳᠨ ᠠᡴᡠᠯᠠᠮᠪᡳ᠂ ᠵᡠᠯᡝ ᠵᡠᠯᡝᠨᡳ ᠪᡝ ᠠᡴᡠᠯᠠᠮᠪᡳ᠉
output_formatᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝpng
jpegpng
ᠪᡠᠶᡝᠮᡝ ᠵᡠᠴᡝᠨ ᡳ ᡶᡳᠯᡝ ᡳ ᠵᡠᠰᡝ᠉
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nucleus-image",
  "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",
        "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://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, width, height, content_type}ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨᡳ ᡶᡳᠯᡝ ᡩᠠᠮᡠ.
timings
object
seed
integerᠪᡠᠶᡝᠮᡝᠨᡳ ᠰᡝᠨᡩᡝᠨᡳ ᠵᠠᠯᡳᠨ; ᡳᠨᡠ ᠪᡳᠰᡳᡵᡝᠨ ᠪᡝ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ᠉
has_nsfw_concepts
array of booleanᠪᡠᠶᡝᠮᡝᠨᡳ ᠤᠯᡥᠠᠨ ᠤᠨᠠᠰᡳᠨ ᠩᡝᠮᡝ ᠪᡳ ᠰᡝᠮᡝ ᠵᠠᠯᡳᠨᠠᠮᠪᡳ᠉
prompt
stringᠪᡠᠶᡝᠮᡝᠨᡳ ᡥᡡᠯᠠᠨ᠉

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