Nodes/Ideogram 4 Prompter/Ideogram 4 Magic Prompt
ComfyUI Node

Ideogram 4 Magic Prompt

Generate an Ideogram 4 magic prompt JSON string from text. Get a free API key at https://ideogram.ai/manage-api, click Generate API key, and paste it into the api_key field. The request is sent to Ideogram's free Magic Prompt API and the returned json_prompt is output as JSON.

By Saganaki22·Created 3 months ago·Updated 3 months ago· 13
Ideogram 4 Magic Prompt
    • magic_prompt_json
    • aspect_ratio
    api_key
    prompt
    aspect_ratioAUTO
    seed0
    CategoryIdeogram

    Inputs (4)

    NameTypeDefaultDescription
    api_keySTRINGGet a free key at https://ideogram.ai/manage-api, click Generate API key, then paste it here.
    promptSTRINGText prompt to enhance with Ideogram 4 Magic Prompt.
    aspect_ratioCOMBOAUTOAUTO lets Ideogram choose. Other values are the exact Ideogram 4 aspect ratios.
    seedINT00–2147483647Cache buster only. Change this to rerun the same prompt for a different Magic Prompt output if the result is not to your liking. Not sent to Ideogram and not for reproducible results.

    Outputs (2)

    NameTypeDescription
    magic_prompt_jsonSTRINGThe free Ideogram Magic Prompt API json_prompt response as formatted JSON.
    aspect_ratioCOMBOResolved Ideogram 4 aspect ratio. Plug this into the Ideogram 4 Resolution Selector aspect_ratio input.