
Ideogram 4.0 was trained only on structured JSON captions. A caption describes the whole image, its style and each important object or line of text in its own entry, which is where the model's layout, typography and color control comes from. This guide covers the caption format, the rules that keep a caption close to what the model was trained on, and how to send one through the API or the local pipeline.
Know when you need JSON
On the hosted API, you can send plain prose: Magic Prompt rewrites it into a structured caption before generation. Write the JSON yourself when you need control that prose can't pin down reliably:
- exact copy in a specific place, such as a headline in the top third and a date at the bottom;
- several objects whose positions matter;
- a fixed brand palette.
The local reference pipeline is stricter. Ideogram's prompting documentation says plain-text prompts passed straight to the model won't work and are likely to trigger the safety filter. Run them through Magic Prompt first, or write the caption yourself.
Start from the three top-level fields
A caption is one JSON object with up to three fields, in this order: