Skip to content

Ideogram text-to-image ​

Ideogram text-to-image is suitable for the generation of posters, packaging, text layouts, styled illustrations and pictures with clear visual themes.

API Path ​

MethodologyPathReturns by
POST/ideogram/generateReturns image-generation results; follow the actual response.

Example request ​

bash
curl https://moonnexai.com/ideogram/generate \
  -H "Authorization: Bearer <MOONNEXAI_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A premium coffee cup package design, clean background.",
    "aspect_ratio": "1:1"
  }'

Common field ​

fieldAnnotations
promptPicture description.
aspect_ratioPicture aspect ratio, e.g. 1:1, 16:9, 9:16.
style_typestyle type, as in API Reference.

Results-based processing ​

sceneTreatment
Return picture URLSaves pictures of URL, prompt, aspect ratio and operational uses.
We need to keep this going.Passs the result URL to Ideogram Zoom in or Ideogram Mixed Chart.
Failed to generateKeeps request body and track information to facilitate the sorting of models, aspect ratio and input content.

Access Recommendations ​

  • When a clear text is required, the file and layout requirements are entered in the programt.
  • Suggests to save prompt, aspect ratio, result URL and operational uses.
  • Ideogram Mixed Chart needs to be used when retrofitting the original map.

Relevant Pages ​