AnyAPI

Interact with 300+ AI models via AnyAPI.ai gateway

Actions4

Image → Generate

AI-generated

Summary

Generate images from text prompts using specified image generation models through AnyAPI.ai.

Inputs

  • Model (required) — Specify the image generation model ID to use, e.g., 'google/gemini-3-pro-image-preview'.
  • Prompt (required) — Provide a text description of the image you want to generate.
  • Image Options — Optional settings including image size (e.g., 256x256 to 1792x1024), quality level ('standard' or 'hd'), and the number of images to generate (1 to 10).

Output shape

A list of JSON objects, each containing the API's response for generated images.

The output JSON structure matches the AnyAPI image generation response. The number of returned items corresponds to the number of input items processed. If multiple images are requested, the response includes them accordingly.

Links

Discussion