GPT Image 1

image/generation/openai/gpt-image-1 by OpenAI
Image Generation+ more tasksProvider defaultAsyncSyncPDF inputImage inputAudio inputVideo inputText inputURL inputEU hosting
Price from
$0.042 / image
Tasks
1
Image Generation
Regions
Global
Mode
sync
Input
Image, Text
Output
items

About OpenAI GPT Image 1

Image Generation is an advanced feature that generates compelling images based on a given text prompt. It can easily produce high-quality and original images in a matter of seconds, without the need for specialized design skills or software

OpenAI GPT Image 1 is a OpenAI model available on Eden AI for Image Generation, from $0.042 / image. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint, with processing in global regions.

Learn more about Image Generation APIs on Eden AI

Tasks and prices

OpenAI GPT Image 1 is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.

Task
Price
Regions
Mode
Docs
Playground
Image Generationimage/generation/openai/gpt-image-1
$0.042 / image
sync

Parameters

What you send and what you get back when you call OpenAI GPT Image 1 through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.

Input

  • text (required): text. Text prompt for image generation
  • resolution: text. Image resolution as a named size (e.g. '1024x1024'). Optional: providers may also accept native sizing knobs (width/height, aspect_ratio, image_size tier, etc.)
  • num_images: number. Number of images to generate
  • reference_images: file (images). Optional reference images. Plain file IDs/URLs are treated as ReferenceImage with kind=None. Support and per-model limits vary by model; models that do not acce
  • mask: file (images). Optional inpainting mask. Must be paired with at least one reference image (otherwise the request returns 422). Support varies by model; models that do not acce

Response

  • items

Estimate your monthly cost

Enter your monthly volume for Image Generation to compare OpenAI GPT Image 1 with its cheapest alternatives.

Call OpenAI GPT Image 1 with Eden AI

Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.

import requests

response = requests.post(
    "https://api.edenai.run/v3/universal-ai",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "",
        "input": {},
    },
)
print(response.json())

Questions about OpenAI GPT Image 1

On Eden AI, OpenAI GPT Image 1 costs $0.042 / image for Image Generation. The Tasks and prices table lists the price for each task, and you only pay for what you use.

On Eden AI, OpenAI GPT Image 1 is available for: Image Generation. Input: Image, Text. Output: items.

Yes. OpenAI GPT Image 1 is processed in Europe for at least one task: see the Regions column in the Tasks and prices table.

Asynchronous: you start a job, then get the result by polling it or through a webhook. This suits long files such as audio, video or multipage documents.

Eden AI offers Image Generation from 8 providers, all callable with the same API key. The cheapest models are compared just below.

Alternatives for Image Generation

Other Image Generation models you can call with the same key, cheapest first.

See all Generative AI models

More from OpenAI

Other OpenAI models on Eden AI, for every task.