O
GPT Image 1
GPT Image 1, an image model from OpenAI.
imageModelOverride: { model: "gpt-image-1" }
OOpenAI·Released April 2025
Pricing
- Per generation
- $0.17
- Per generation
- $0.25
- Per generation
- $0.25
- Per generation
- $0.000010
- Input
- $10.00 / 1M
- Input
- $5.00 / 1M
- Per generation
- $0.011
- Per generation
- $0.016
- Per generation
- $0.016
- Per generation
- $0.042
- Per generation
- $0.063
- Per generation
- $0.063
- Per generation
- $0.000041
- Output
- $40.00 / 1M
- Output
- $0 / 1M
Specifications
- Context window
- 4,000 tokens
- Aspect ratios
- 3
- Released
- April 2025
Parameters
Model options, passed in
imageModelOverride.config.| Parameter | Type | Default | Range / options |
|---|---|---|---|
size | Select | 1024x1024 | 1024x10241536x10241024x1536 |
background | Select | auto | autoopaquetransparent |
source_imagesIf you want to edit an existing image, provide the URL(s) or variables | Image URLs | — | — |
Use this model
await mindstudio.generateImage({ prompt: "...", imageModelOverride: { model: "gpt-image-1", config: { size: "1024x1024", }, }, });