Models / Media / Image tools

Image tools API. 4 tools on the same key as every image model, 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

Get a key
ModelUplinkSwitchDeveloper price
Background Removerbackground-remover
from $0.0054 / image—
Image Upscalerimage-upscaler
from $0.002 / image—
Image Resizerimage-resizer
from $0.002 / image—
Image Extenderimage-extender
from $0.0402 / 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. The media guide has the full flow. This request uses Background Remover; 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": "background-remover",
  "input": {
    "image_url": "https://example.com/input.png"
  }
}'

# the answer is already "succeeded", with the file at outputs[0].url

Questions

From $0.002 per image (Image Upscaler). Each model's page lists its price for every setting. The price is fixed when the request is accepted, and there is no subscription.

The background remover, upscaler and resizer answer POST /v1/generations with the finished file, usually in a few seconds. The extender takes 10 to 40 seconds: it answers with a generation id to poll.

A generation that fails is refunded in full, automatically. Files stay downloadable for 30 days at a URL on api.uplinkswitch.com.
Join on Telegram
Help