Models / Media / Image editing

Image editing API. 18 models from Google, OpenAI, ByteDance, Black Forest Labs and Kling on one key, priced per image.

Prepaid credit, no subscription. A generation that fails is not charged. The list below comes from the live catalog, so it changes as models are added.

Models · lowest price per image, USD, next to the developer's own price where on record

ModelUplinkSwitchDeveloper price
Nano Banana 2 Editnano-banana-2-edit
from $0.0402 / image$0.067
Nano Banana Pro Editnano-banana-pro-edit
from $0.0804 / image$0.134
Nano Banana Editnano-banana-edit
from $0.0313 / image—
Nano Banana 2 Lite Editnano-banana-2-lite-edit
from $0.0313 / image$0.034
GPT Image 2 Editgpt-image-2-edit
from $0.024 / image—
GPT Image 1.5 Editgpt-image-1.5-edit
from $0.0125 / image—
GPT-4o Image Editgpt-4o-image-edit
from $0.06 / image$0.10
Seedream 5.0 Pro Editseedream-5.0-pro-edit
from $0.0938 / image$0.0938
Seedream 5.0 Lite Editseedream-5.0-lite-edit
from $0.0313 / image—
Seedream 5.0 Flash Editseedream-5.0-flash-edit
from $0.06 / image—
Seedream 4.5 Editseedream-4.5-edit
from $0.0313 / image—
Seedream 4 Editseedream-4-edit
from $0.075 / image—
FLUX.2 Pro Editflux-2-pro-edit
from $0.0563 / image—
FLUX.2 Flex Editflux-2-flex-edit
from $0.1688 / image—
FLUX.1 Kontext Pro Editflux-kontext-pro-edit
from $0.12 / image—
FLUX.1 Kontext Max Editflux-kontext-max-edit
from $0.24 / image—
Kling O3 Image Editkling-o3-image-edit
from $0.0219 / image—
Kling O1 Image Editkling-o1-image-edit
from $0.0219 / image—
Each model's page lists the price for every setting. Live from GET https://api.uplinkswitch.com/v1/catalog/media.

How to call it · POST /v1/generations

Every model here takes POST /v1/generations with the model id and its settings in input. The answer comes back at once with the price and a generation id to poll. Image models also answer POST /v1/images/generations the way OpenAI does. The media guide has the full flow. This request uses Nano Banana 2 Edit; swap the model id for any row above.

curl
curl https://api.uplinkswitch.com/v1/generations \
  -H "Authorization: Bearer $UPLINK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "nano-banana-2-edit",
  "input": {
    "prompt": "Replace the sky with a clear sunset, keep everything else",
    "image_urls": [
      "https://example.com/input.png"
    ]
  }
}'

# then poll until "status" is "succeeded":
curl https://api.uplinkswitch.com/v1/generations/gen_... -H "Authorization: Bearer $UPLINK_API_KEY"

Questions

What does image editing cost?
From $0.0125 per image (GPT Image 1.5 Edit). Each model's page lists its price for every setting. The price is fixed when the request is accepted, and there is no subscription.
How long does it take?
Usually 10 to 40 seconds. A call to POST /v1/images/generations waits for the image; POST /v1/generations answers at once with a generation id to poll.
What if a generation fails, and how long are files kept?
A generation that fails is refunded in full, automatically. Files stay downloadable for 30 days at a URL on api.uplinkswitch.com.