Models / Images / OpenAI

GPT Image 1.5 Edit API

GPT Image 1.5 Edit API through UplinkSwitch: $0.0125 per image, prepaid, no subscription. OpenAI's image model on one key with every other model; a generation that fails is not charged.

gpt-image-1.5-editImagesper image

Price · per image, USD

SettingsUplinkSwitch
any settings$0.0125
Charged when the request is accepted; refunded in full if the generation fails.

Call it · POST /v1/images/generations or POST /v1/generations

Python, OpenAI SDK
from openai import OpenAI

client = OpenAI(base_url="https://api.uplinkswitch.com/v1", api_key="sk-uplink-live-...")
result = client.images.generate(
    model="gpt-image-1.5-edit",
    prompt="A red paper boat on a calm blue pond, morning light",
    extra_body={"input": {"image_urls":["https://example.com/input.png"]}},
)
print(result.data[0].url)

Settings · in input

NameTypeValuesDefault
prompt requiredstring——
image_urls requiredurls——
sizestring1024x1024, 1024x1536, 1536x10241024x1024
ninteger1, 2, 3, 4—
mask_urlurl——

Questions

How much does the GPT Image 1.5 Edit API cost?
From $0.0125 per image. The price depends on the settings in the table and is fixed when the request is accepted.
Is there a subscription?
No. You add credit and each request is paid from it. There is no monthly fee and no minimum per request.
What happens if a generation fails?
It is refunded in full, automatically. You pay only for files you receive.
How long are the files kept?
Thirty days, at a URL on api.uplinkswitch.com. Download what you want to keep.
Can I use the same key for other models?
Yes. The same key calls every image, video, speech and 3D model and every chat model in the catalog.
GPT Image 1.5 Edit API: from $0.0125 per image | UplinkSwitch