Ideogram 4 supports structured JSON prompts, which provide significantly more control over composition, color palettes, typography, and spatial layout compared to plain-text prompts. Using this schema allows you to explicitly define high-level descriptions, stylistic attributes, and a detailed compositional deconstruction of the scene.
The JSON schema consists of three primary keys:
high_level_description: A prose description of the overall scene.style_description: An object defining the aesthetic properties of the image.compositional_deconstruction: An object detailing the background and specific elements within the scene.
Within compositional_deconstruction, you can define:
background: A description of the environment.elements: An array of objects representing specific items, people, or text. Each element can have a type (e.g., obj or text), a bbox (bounding box), a desc (description), and for text elements, the specific text content.
{
"high_level_description": "A medium-shot photograph of Formula 1 driver Max Verstappen...",
"style_description": {
"aesthetics": "saturated primary colors, rule of thirds, joyful and triumphant",
"lighting": "overcast daylight, diffused, soft subtle shadows",
"photo": "shallow depth of field, sharp focus, eye-level, telephoto",
"medium": "photograph"
},
"compositional_deconstruction": {
"background": "The background is an out-of-focus racing paddock...",
"elements": [
{
"type": "obj",
"bbox": [55, 642, 1000, 937],
"desc": "An older man standing in profile..."
},
{
"type": "text",
"bbox": [657, 0, 755, 142],
"text": "F1",
"desc": "Large, stylized red logo..."
}
]
}
}