GPT Image 1 Mini AI Image Editing Model

OpenAI's cost-effective image generation model for when image quality isn't the top priority

GPT Image 1 Mini API OpenAI-compatible

Integrate GPT Image 1 Mini into your application for automated text-to-image generation and image editing via the Lumenfall OpenAI-compatible API. This standardized endpoint allows developers to programmatically generate and modify media using simple POST requests.

Base URL
https://api.lumenfall.ai/openai/v1
Model
gpt-image-1-mini

Text to Image Generate

Create images from text descriptions

curl -X POST \
  https://api.lumenfall.ai/openai/v1/images/generations \
  -H "Authorization: Bearer $LUMENFALL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-1-mini",
    "prompt": "A serene mountain landscape at sunset",
    "size": "1024x1024"
  }'
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }

Image Editing Edit

Transform existing images with text instructions

curl -X POST \
  https://api.lumenfall.ai/openai/v1/images/edits \
  -H "Authorization: Bearer $LUMENFALL_API_KEY" \
  -F "model=gpt-image-1-mini" \
  -F "[email protected]" \
  -F "prompt=Add a starry night sky to this image" \
  -F "size=1024x1024"
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }