infery
← All models

Ideogram

ideogram-v3-layerize-text

Image editby Ideogram

Ideogram Layerize takes an existing flat graphic, removes text, and returns structured text containers you can edit/recompose in html or json format.

images

Details

Accepts
image

Pricing

Price
11.25 cr / image

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedSeed for the random number generator.
promptOptional prompt to guide the layerization.
image_urlrequiredstringURL of the flat graphic image to layerize. Must be JPEG, PNG, or WebP (max 10MB).
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.
font_name_h1Name of the font to use for h1 text. Cannot be used with font_file_h1_url.
font_name_h2Name of the font to use for h2 text. Cannot be used with font_file_h2_url.
font_name_bodyName of the font to use for body text. Cannot be used with font_file_body_url.
font_name_smallName of the font to use for small text. Cannot be used with font_file_small_url.
font_file_h1_urlURL of the font file to use for h1 text. Cannot be used with font_name_h1.
font_file_h2_urlURL of the font file to use for h2 text. Cannot be used with font_name_h2.
font_file_body_urlURL of the font file to use for body text. Cannot be used with font_name_body.
font_file_small_urlURL of the font file to use for small text. Cannot be used with font_name_small.

Output

FieldTypeDescription
seedintegerSeed used for the random number generator.
imageThe background image with text removed.
promptstringThe prompt used for layerization. May differ from the input prompt if MagicPrompt expanded it.
text_htmlRendered overlay HTML for compositing text over the background image.
image_layersarrayImage layers extracted from the design.
text_containersStructured text containers with hierarchical text data (container -> items -> spans).