Magic prompt (Ideogram 4.0)
ideogram_magic_promptRewrite natural-language prompts into Ideogram 4.0 structured JSON, optionally setting aspect ratio. Does not generate images.
Instructions
Rewrite a natural-language prompt into an Ideogram 4.0 structured JSON prompt (and the aspect ratio the model picks for it, or the one you pin). Nothing is generated; no price quote (the v1 operation offers no dry run).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text_prompt | No | The natural-language prompt to rewrite into an Ideogram 4.0 JSON prompt | |
| aspect_ratio | No | AUTO (default: the model picks the ratio and says it) or a ratio with an x as the generate tools take it — 1x1, 16x9, 9x16, 3x4, 4x3 … (the values listed in the variant) | |
| inline_images | No | true: each saved image is also returned as image content (base64; one over 3.75 MB, or past 10 MB in total, by path only), for a client without file access |