Image model API

GPT Image 1 Mini API

gpt-image-1-mini is OpenAI's cost-efficient multimodal image generation model, designed for fast, affordable image creation and editing. It accepts both text and image inputs and generates high-quality images, making it suitable for creative applications, marketing assets, image editing, and AI-powered design workflows. While optimized for lower cost than the full GPT Image model, it still delivers strong instruction following and native image understanding. Built as a natively multimodal model, GPT Image 1 Mini can understand uploaded images alongside text prompts, enabling image editing, st

Model id
gpt-image-1-mini
Takes
Text (required)
Makes
Image
Endpoint
POST /api/v1/images/generations
Made by
OpenAI
Mode
Synchronous

Call GPT Image 1 Mini

Base URL https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.

Model gpt-image-1-mini

POST /api/v1/images/generations

curl https://payload.rentprompts.com/api/v1/images/generations \
  -H "Authorization: Bearer rp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-image-1-mini",
  "prompt": "A lighthouse at dusk, watercolor",
  "n": 1
}'

Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →

What a typical call costs

Worked out from GPT Image 1 Mini's published price (3.2 J / image). You pay only for successful results, from your Joule balance.
  • 1 image3.2 Joules
  • 4 images12.8 Joules

Send requests to POST /api/v1/images/generations. GPT Image 1 Mini answers synchronously: the result comes back in the response to the same request.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).
NameTypeDefaultRange / options
aspect_ratioselect——
output_formatselect——
GPT Image 1 Mini API — Pricing & Code Examples | RentPrompts