Back to tools

AI Agent Tool

GPT Image 1 API logo

GPT Image 1 API

OpenAI's multimodal image generation API supporting text-to-image and image editing.

Content CreationCommunity

openai.com

•

API Key

About GPT Image 1 API

GPT Image 1 is OpenAI's production image generation model available via API, accepting text and image inputs to produce images via text-to-image generation and inpainting/editing endpoints. It supports three resolutions (square, landscape, portrait), three quality tiers (low/medium/high), and output formats including PNG, JPEG, and WebP with optional transparency. It is the model underlying ChatGPT's image generation. Note: GPT Image 1 is scheduled for deprecation on October 23, 2026; the current flagship is GPT Image 2.

AI Agent Use Cases

- Text-to-image generation with prompt-following and style control

- Image editing and inpainting via a dedicated Edits endpoint

- Three quality tiers (low/medium/high) with per-image pricing

- Supports 1024x1024, 1536x1024, and 1024x1536 output sizes

- Accurate text rendering within generated images

- Configurable output format (PNG, JPEG, WebP) and background transparency

Available Actions

These are the specific actions that AI agents can perform with this tool

Inputs

Model

The identifier for the specific model to use

Prompt

The text input prompt for the assistant

MaxTokens

The maximum number of tokens to generate

Temperature

Controls the randomness of the output

Inputs

Prompt

Text input to guide image generation. Can be combined with an image input.

Image

Image input in binary format or as an image URL to guide the image generation. Can be combined with text input.

Model

Must be "gpt-image-1" to get this model’s behavior

quality

Resolution for the generated image.

Inputs

InputText

Text input for the model to generate an output from

InputImage

URL of an image for the model to process, if applicable

OutputFormat

The format in which the output should be returned

Quality

Specifies the quality of the output image

Inputs

Text

Text input for generating the response

APIKey

Your API key for authentication