Skip to content

Ideogram V4.0q Text to Image (LoRA)

Integrate

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

Files like the example: $0.023 23 API credits your files are measured before the run Run it on this page

Get API key
Ideogram Text to Image #realism#typography#stylized

Text-to-image generator with up to 3 LoRA weights applied, strong on typography and stylized work

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

Prompt that guides image generation.

image_size default square_hd

Resolution for the image being generated.

rendering_speed default BALANCED

Rendering speed setting; faster options perform fewer denoising steps.

num_images default 1

Count of images to produce.

Advanced expansion_model · acceleration · output_format · seed · enable_safety_checker · loras
expansion_model default Medium

Choose the prompt-expansion model: 'Large' provides the highest quality through Ideogram's Magic Prompt, while 'Medium' prioritizes speed. Select 'None' to leave the prompt unexpanded.

acceleration default none

Acceleration setting for generating images.

output_format default jpeg

File format for the resulting image.

Seed for generation, selected randomly unless you supply a value.

default []

LoRA weights to apply, limited to 3 entries.

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

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 V4.0q Text to Image (LoRA)

Generates images from a text prompt while applying up to three LoRA weights through `loras`. Choose from six `image_size` presets, request 1 to 4 images per call, and output JPEG or PNG. `rendering_speed` offers TURBO, BALANCED or QUALITY, and `expansion_model` can rewrite the prompt at Medium or Large level, or be turned off.

Parameters

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

NameType DefaultAllowed Description
promptrequired
Typestring
Prompt that guides image generation.
expansion_modeloptional
Typeenum
DefaultMedium
NoneMediumLarge
Choose the prompt-expansion model: 'Large' provides the highest quality through Ideogram's Magic Prompt, while 'Medium' prioritizes speed. Select 'None' to leave the prompt unexpanded.
image_sizeoptional
Typeobject
Defaultsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Resolution for the image being generated.
rendering_speedoptional
Typeenum
DefaultBALANCED
TURBOBALANCEDQUALITY
Rendering speed setting; faster options perform fewer denoising steps.
accelerationoptional
Typeenum
Defaultnone
nonelowregularhigh
Acceleration setting for generating images.
num_imagesoptional num_outputs
Typeinteger
Default1
1 – 4
Count of images to produce.
seedoptional
Typeinteger | null
Seed for generation, selected randomly unless you supply a value.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Safety-checking switch whose off setting requires account authorization. Without that authorization, every request is checked regardless of the setting; true enables the checker.
output_formatoptional
Typeenum
Defaultjpeg
jpegpng
File format for the resulting image.
lorasoptional
Typeobject[]
Default[]
≤ 3 items
LoRA weights to apply, limited to 3 entries.
loras[].pathrequired
Typestring
URL pointing to a .safetensors file containing Ideogram V4 LoRA weights.
loras[].scaleoptional
Typenumber
Default1
0 – 4
Multiplier applied to the LoRA weights.
required Canonical name, also accepted

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/v4/lora",
  "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": 23,
    "usd": "0.023",
    "charged": 23,
    "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
      }
    ],
    "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"
  }
}
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, width, height}Images produced by the model.
timings
object
seed
integerImage-generation seed, including the randomly chosen value if the input omitted a seed; otherwise, it repeats the supplied value.
has_nsfw_concepts
array of booleanIndicates whether NSFW concepts appear in the generated images.
prompt
stringPrompt used during image generation.

More models: Text to Image

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