Skip to content

Ideogram Text to Image

Integrate

Model id ideogram/v3
# 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/ideogram/v3?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"

This request: $0.06 60 API credits · ≈ ₽6.33 Run it on this page

Get API key
Ideogram · Image

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required
rendering_speed default BALANCED

Speed setting for rendering.

image_size default square_hd

Resolution to use for the output image.

num_images default 1

Count of images to produce.

Advanced negative_prompt · images · style · style_preset · seed · expand_prompt · style_codes · color_palette
default

Specify unwanted image content, subject to the main prompt's descriptions taking priority over these negative-prompt descriptions.

image_urls
Drop a file, or

Style reference images in JPEG, PNG or WebP format. Their combined size must not exceed 10 MB.

style

Style type used for generation; mutually exclusive with style_codes.

Style preset whose selection guides image generation.

Seed value for random number generation.

Image-style codes, supplied as hexadecimal strings of 8 characters each; omit both style_reference_images and style when using this list.

Color palette used during generation. Specify either a preset through name or explicit hexadecimal colors through members, optionally including weights.

POST /run/ideogram/v3?wait=20 quote → $0.06
# 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/ideogram/v3?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"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Ideogram Text to Image

Generates images from a `prompt` with rendering speeds TURBO, BALANCED or QUALITY. Guide the look through style reference images (`image_urls`), `style_codes`, a `color_palette`, a `style` or one of 62 `style_preset` values. Supports up to 8 images per call, a negative prompt, optional prompt expansion and size presets.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
image_urlsoptional images
Typeurl[] · image
Style reference images in JPEG, PNG or WebP format. Their combined size must not exceed 10 MB.
rendering_speedoptional
Typeenum
DefaultBALANCED
TURBOBALANCEDQUALITY
Speed setting for rendering.
color_paletteoptional
Typeobject
Color palette used during generation. Specify either a preset through name or explicit hexadecimal colors through members, optionally including weights.
color_palette.membersoptional
Typeobject[]
Palette member list defining the palette's colors.
color_palette.members[].rgbrequired
Typeobject
Palette member's color expressed as RGB.
color_palette.members[].color_weightoptional
Typenumber | null
Default0.5
0.05 – 1
Weight assigned to this color within the palette.
color_palette.nameoptional
Typeenum
EMBERFRESHJUNGLEMAGICMELONMOSAICPASTELULTRAMARINE
Preset selection for the color palette.
style_codesoptional
Typestring[]
Image-style codes, supplied as hexadecimal strings of 8 characters each; omit both style_reference_images and style when using this list.
styleoptional
Typeenum
AUTOGENERALREALISTICDESIGN
Style type used for generation; mutually exclusive with style_codes.
expand_promptoptional
Typeboolean
Defaulttrue
MagicPrompt usage toggle for request generation.
num_imagesoptional num_outputs
Typeinteger
Default1
1 – 8
Count of images to produce.
seedoptional
Typeinteger | null
Seed value for random number generation.
style_presetoptional
Typeenum
80S_ILLUSTRATION90S_NOSTALGIAABSTRACT_ORGANICANALOG_NOSTALGIAART_BRUTART_DECOART_POSTERAURAAVANT_GARDEBAUHAUSBLUEPRINTBLURRY_MOTIONBRIGHT_ARTC4D_CARTOONCHILDRENS_BOOKCOLLAGE
+46 moreCOLORING_BOOK_ICOLORING_BOOK_IICUBISMDARK_AURADOODLEDOUBLE_EXPOSUREDRAMATIC_CINEMAEDITORIALEMOTIONAL_MINIMALETHEREAL_PARTYEXPIRED_FILMFLAT_ARTFLAT_VECTORFOREST_REVERIEGEO_MINIMALISTGLASS_PRISMGOLDEN_HOURGRAFFITI_IGRAFFITI_IIHALFTONE_PRINTHIGH_CONTRASTHIPPIE_ERAICONICJAPANDI_FUSIONJAZZYLONG_EXPOSUREMAGAZINE_EDITORIALMINIMAL_ILLUSTRATIONMIXED_MEDIAMONOCHROMENIGHTLIFEOIL_PAINTINGOLD_CARTOONSPAINT_GESTUREPOP_ARTRETRO_ETCHINGRIVIERA_POPSPOTLIGHT_80SSTYLIZED_REDSURREAL_COLLAGETRAVEL_POSTERVINTAGE_GEOVINTAGE_POSTERWATERCOLORWEIRDWOODBLOCK_PRINT
Style preset whose selection guides image generation.
promptrequired
Typestring
image_sizeoptional
Typeobject
Defaultsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Resolution to use for the output image.
negative_promptoptional
Typestring
Default
Specify unwanted image content, subject to the main prompt's descriptions taking priority over these negative-prompt descriptions.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/v3",
  "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": 60,
    "usd": "0.06",
    "charged": 60,
    "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
      }
    ],
    "seed": 42
  },
  "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"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
images
array of object {url, content_type, file_name, file_size}
seed
integerSeed value used for random number generation.

More models: Text to Image

For AI agents: this page as Markdown is at https://doitong.com/en-US/developers/models/ideogram/v3.md. All models and guides: https://doitong.com/developers/llms.txt