Describe with Ideogram 4.0
Describe an image with Ideogram 4.0 and return a structured
V4JsonPrompt. The returned json_prompt is a working JSON prompt
that can be passed directly as json_prompt to the
/v1/ideogram-v4/generate family of endpoints.
Supported image formats include JPEG, PNG, and WebP.
Authentication
API key for access control. Use in the header with the name “Api-Key”
Request
An image binary (max size 10MB); only JPEG, WebP and PNG formats are supported at this time.
When true (default), the response preserves bounding boxes on each
element so the prompt can be pasted into /v1/ideogram-v4/generate
as json_prompt and reproduce the source layout. Set to false to
drop bounding boxes and let the sampler place elements freely.
Response
Structured prompt for Ideogram 4.0 generation. When json_prompt is
supplied, magic-prompt is disabled and the diffusion model consumes
the JSON contract directly. Mutually exclusive with text_prompt
and the legacy prompt field.