Every image model, one endpoint

Image Generation

Generate and edit images through the OpenAI-compatible images API or conversationally through chat completions.

POST /v1/images/generations
A cute cat wearing a tiny top hat
A cute cat wearing a tiny top hat, generated image 1
A cute cat wearing a tiny top hat, generated image 2
A cute cat wearing a tiny top hat, generated image 3
A cute cat wearing a tiny top hat, generated image 4
gemini-3-pro-image · 4 generations
01

OpenAI format

Use the images API you know.

02

Edits

Change existing images with a prompt.

03

In chat

Generate images mid-conversation.

04

Many models

Swap image models with one string.

Built for

  • Marketing assets

    Heroes, thumbnails and ads

  • Product mockups

    Iterate on visuals fast

  • In-app creation

    Let users generate images

Generate an image
terminal
1curl https://api.llmgateway.io/v1/images/generations \2  -H "Authorization: Bearer $LLM_GATEWAY_API_KEY" \3  -H "Content-Type: application/json" \4  -d '{5    "model": "gemini-3-pro-image",6    "prompt": "A cute cat wearing a tiny top hat",7    "size": "1024x1024"8  }'
Read docs

More in models & modalities

All features

Start using Image Generation today

One API key. Every model. Live in minutes.