ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Recraft V4 Styles Pro Text to Vector

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id recraft/v4/style/pro/text-to-vector
# 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/recraft/v4/style/pro/text-to-vector?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.125 125 API ᠺᠷᡝᡩᡳᠲ · ≈ ₽13.32 ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Recraft ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᠠᠳᠠᠨ #stylized#transform#editing

Pro V4 ᡳ ᠵᠠᠯᡤᠠᠨ ᡳᠯᡳᡥᠠᠨ ᠵᠠᠯᡤᠠᠯᠠᠮᡝ ᠰᡳᠨᡝᠮᡝ ᠵᠠᠯᡤᠠᠨ ᡩᡝᠨ style ID ᠵᡝᠪᡝ ᠠᠮᠪᠠᠨ ᡳᠯᡳᡥᠠᠨ ᡳ ᠵᠠᠯᡤᠠᠨ ᡩᡝ ᠠᠪᠰᡳ ᠣᠮᠪᡳ

Recraft · ᡤᠠᠳᠠᠨ

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

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

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

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

•ᡴᠠᠷᠠᡴᡡ 88 / 10000
image_size ᠵᡠᠯᡝ square_hd

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

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ images · style_match · enable_safety_checker · colors · background_color
image_urls
ᠪᡠᠮᠪᡳ ᡝᠮᡠ ᡩᠠᡵᠠᠮᡝ · 10 ᡩᡝ ᡳᠨᡝ

1–10 ᠮᠠᠨᠵᡳᠮᡝ ᡳ ᠵᡠᠯᡤᠠᠨ ᠪᡝ ᡠᡵᡤᡠᠨ ᡩᡝ ᠵᠠᠯᠠᠨ᠉ PNG, JPG, ᠠᡵᠠᠮᡝ WEBP

style_match

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

ᠵᡠᠯᡝ []

ᠵᡠᠯᡝᠮᡝ ᠰᡳᠮᡝ ᡳ ᠠᡵᠠᠮᡝ ᠪᡝ ᠪᠠᠨᠵᡳᠨᡠᠨ᠉

ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨ ᡳ ᡤᠠᠳᠠᠨ ᡳ ᠵᡠᠯᡝ ᡳ ᠰᠣᠩᡤᠣᠮᡝ ᠵᠠᠯᠠᠨ᠉

POST /run/recraft/v4/style/pro/text-to-vector?wait=20 ᠵᠠᠯᡳᠨ → $0.125
# 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/recraft/v4/style/pro/text-to-vector?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 ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

Recraft V4 Styles Pro Text to Vector ᡠᡵᡝᠮᡝ

ᠰᡳᠨᡝᠮᡝ ᠵᠠᠯᡤᠠᠯᠠᠮᡝ ᠵᠠᠯᡤᠠᠨ ᡳ ᠮᡠᠰᡝᠩᡤᡝ ᠵᠠᠯᡤᠠᠨ ᡩᡝᠨ `style_id` ᠵᡝᠪᡝ `image_urls` ᡩᡝ 1 ᡩᡝ 10 ᠠᠮᠪᠠᠨ ᡳᠯᡳᡥᠠᠨ ᡳ ᠠᡵᠠᠨ ᠵᠠᠯᡤᠠᠨ ᠪᡝ ᠠᠪᠠᠮᡝ. `style_match` ᡩᡝ precise ᠵᡝᠪᡝ flexible ᠣᠮᠪᡳ. ᠵᡝᠪᡝ ᠠᡵᠠᠨ ᡳ `prompt` ᡳ 10000 ᡥᡡᠯᠠᠨ᠈ `image_size`᠈ `colors` ᠵᡝᠪᡝ `background_color` ᠪᡝ ᠠᠪᠠᠮᡝ. ᠵᠠᠯᡤᠠᠨ ᠵᡝᠪᡝ ᠠᠪᠠᠨ ᡳ ᠵᠠᠯᡤᠠᠨ ᠪᡝ ᠠᠪᠰᡳ ᠣᠮᠪᡳ.

ᠵᠠᡴᡠᠨ

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

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
≤ 10,000 ᠵᡳᠪᡝᠨ
image_sizeᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝobject
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
colorsᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝobject[]
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ[]
ᠵᡠᠯᡝᠮᡝ ᠰᡳᠮᡝ ᡳ ᠠᡵᠠᠮᡝ ᠪᡝ ᠪᠠᠨᠵᡳᠨᡠᠨ᠉
colors[].rᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ0
0 – 255
ᠵᠠᠯᠠᠨ ᡳ ᠰᡳᠮᡝ ᡳ ᠵᡠᠯᡝ
colors[].gᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ0
0 – 255
ᠵᠠᠯᠠᠨ ᡳ ᠰᡳᠮᡝ ᡳ ᠵᡠᠯᡝ
colors[].bᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ0
0 – 255
ᠪᡳᠮᡝ ᡳ ᠰᡳᠮᡝ ᡳ ᠵᡠᠯᡝ
background_colorᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝobject
ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨ ᡳ ᡤᠠᠳᠠᠨ ᡳ ᠵᡠᠯᡝ ᡳ ᠰᠣᠩᡤᠣᠮᡝ ᠵᠠᠯᠠᠨ᠉
background_color.rᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ0
0 – 255
ᠵᠠᠯᠠᠨ ᡳ ᠰᡳᠮᡝ ᡳ ᠵᡠᠯᡝ
background_color.gᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ0
0 – 255
ᠵᠠᠯᠠᠨ ᡳ ᠰᡳᠮᡝ ᡳ ᠵᡠᠯᡝ
background_color.bᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ0
0 – 255
ᠪᡳᠮᡝ ᡳ ᠰᡳᠮᡝ ᡳ ᠵᡠᠯᡝ
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠮᡠᠯᠠᠨ ᡶᡳᠯᡝᠮᡝᠨᡳ ᠵᠠᠰᡳᠮᡝ. ᠪᡝ ᠣᠴᡳ ᠪᠠᠯᠠᠨᠰᡳᠨᡳ ᠪᠠᠨᠵᡳᠨ ᠠᠰᡠᠮᠪᡳ. ᡝᡵᡝ ᠪᠠᠨᠵᡳᠨ ᠠᡴᡡ ᠣᠴᡳ ᠵᠠᡴᡠᠨ ᡶᡝᠨᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠪᡝ ᠪᠠᠨᠵᡳᠮᡝ; true ᠪᡝ ᠵᠠᠰᡳᠮᡝ.
style_idᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝstring | null
ᡳᠨᡳ ᠵᡠᠯᡝ ᠪᡠᠶᡝᠮᡝ ᡳ V4 ᠮᠠᠨᠵᡳᠮᡝ ᡳ ᠵᡠᠯᡝ
image_urlsᠵᡠᠯᡝ images
ᡠᠯᠠᠮᡝurl[] · image
≤ 10 ᡴᡝᠮᡠᠨ
1–10 ᠮᠠᠨᠵᡳᠮᡝ ᡳ ᠵᡠᠯᡤᠠᠨ ᠪᡝ ᡠᡵᡤᡠᠨ ᡩᡝ ᠵᠠᠯᠠᠨ᠉ PNG, JPG, ᠠᡵᠠᠮᡝ WEBP
style_matchᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
preciseflexible
ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠮᠠᠨᠵᡳᠮᡝ ᡳ ᠵᡠᠯᡝ ᡩᡝ ᠵᡠᠯᡝ ᠪᡝ ᠰᠣᠯᡥᠣᠨ ᡩᡝ ᠠᠮᠠᠯᠠᠮᡝ
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

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

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "recraft/v4/style/pro/text-to-vector",
  "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": 125,
    "usd": "0.125",
    "charged": 125,
    "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
      }
    ],
    "style_id": "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.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}
style_id
string | nullᡝᡵᡝᠮᡝ ᠪᡠᠶᡝᠮᡝ ᡳ ᡩᡝ ᠨᡝᠮᡝᡵᡝ ᡥᡝᡵᡤᡝᠨ ᡝᠮᡠ ᠣᠴᡳ ᠵᡠᠯᡝ ᠠᡳᠯᠠᠨᠠᠮᡝ᠂ ᡳᠨᡠ ᡝᠮᡠ ᡩᡝ ᡤᡝᠯᡳ ᡩᡝᠨ ᠪᡠᠶᡝᠮᡝ᠃

ᡝᠯᡤᡳ ᡩᠠᠯᡳᠨ: ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᠠᠳᠠᠨ

AI ᠠᡤᡝᠨᡨᡳ ᡠᠴᡠᠷᡳ᠈ ᡝᡵᡝ ᡩᡝᠪᡝᡵᡳ Markdown ᠰᡳᠨᡩᠠᡵᡳ https://doitong.com/mnc/developers/models/recraft/v4/style/pro/text-to-vector.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt