← All models
Gemini 3.1 Flash Image · 1K/2K — image model on LumeAPI

Gemini 3.1 Flash Image · 1K/2K

gemini-3.1-flash-image-preview

Cheaper. More stable. One-stop API aggregation.

Introduction

Gemini 3.1 Flash Image (1K) generates images quickly for product mockups, thumbnails, and creative drafts.

On LumeAPI the recommended path is OpenAI-compatible image or chat calls with model id `gemini-3.1-flash-image-preview`.

Portal price is $0.05 per image versus ~$0.0735 official reference.

For 2K output, switch to the dedicated 2K model id.

Pricing

Official$0.0735
LumeAPI$0.05
per image

Endpoint

Base URL: https://api.lumeapi.site/v1

Auth: Authorization: Bearer <your-lumeapi-key>

Developer docs

Open the integration notes for this model, or the modality guide for request fields and polling.

Call examplegemini-3.1-flash-image-preview
curl https://api.lumeapi.site/v1/images/generations \
  -H "Authorization: Bearer $LUMEAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-image-preview",
    "prompt": "A golden hour city skyline",
    "size": "16:9"
  }'