Demeterics Image Gen icon

Demeterics Image Gen

Generate images from text prompts using multiple providers via Demeterics API

Demeterics Image Gen

AI-generated

Summary

Generate one or more images from a text prompt using a selectable AI image generation provider (OpenAI, Google, Stability AI, or Leonardo AI).

Inputs

  • Provider — Choose which image generation service to use from OpenAI, Google Imagen, Stability AI, or Leonardo AI.
  • Model (required) — Select the specific image generation model available for the chosen provider.
  • Prompt (required) — Provide the text description of the image you want to generate.
  • Negative Prompt — Specify undesired elements to exclude from the generated image (supported by Google and Stability providers).
  • Size — Select the resolution/dimensions for the output image, options depend on the provider.
  • Quality — Set the quality or generation mode of the image where supported (OpenAI and Leonardo providers).
  • Number of Images — Choose how many images (1 to 4) to generate for the given prompt.
  • Seed — Specify a seed number for reproducible image generation; 0 indicates random seeds.
  • Output — Determine the format to return the generated images: binary data, URL, or both.

Output shape

A list of generated image entries, each containing metadata and optionally binary image data and/or a signed URL.

Each returned item includes image metadata such as provider, model, resolution, cost, usage, and seed. Binary data is returned when requested, fetched either from base64 or by downloading the image from its URL. If binary download fails, the error is noted and image URL is returned instead. URLs expire after 15 minutes.

Links

Discussion