Images, video, speech and 3D
One key for Nano Banana, GPT Image, Seedream, FLUX, Veo, Seedance, Kling, Wan, ElevenLabs and Tripo.
At the end of this guide you have one key that reaches every image and video generation API model on the list, plus speech and 3D. Image models answer OpenAI's image route, so the OpenAI SDK works as is. Everything, images included, takes the generations route, which sets the price in the 202 before anything renders and refunds a failed generation in full.
Every price on this page renders from GET /v1/catalog/media, so the figures are today's. Units differ per model: an image, a generation, a second of video or 1,000 characters of text. Each table says which.
Images: OpenAI’s image API
Image models answer POST /v1/images/generations the way OpenAI does: size maps to each model’s aspect ratio and resolution, and quality to its quality setting where it has one. Model-specific settings go in input(extra_body in the SDKs). The call waits for the image, usually 10 to 40 seconds.
from openai import OpenAI
client = OpenAI(base_url="https://api.uplinkswitch.com/v1", api_key="sk-uplink-live-...")
result = client.images.generate(
model="nano-banana-2",
prompt="A red paper boat on a calm blue pond, morning light",
size="1536x1024",
)
print(result.data[0].url)Add response_format: "b64_json" for the image bytes in the response instead of a URL.
Everything else: generations
Every media model, images included, takes POST /v1/generations with the model and its input. The answer comes back at once with the price already set; video takes one to five minutes.
curl https://api.uplinkswitch.com/v1/generations \
-H "Authorization: Bearer $UPLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "veo-3.1-fast",
"input": {
"prompt": "A paper boat drifting across a pond at sunrise",
"resolution": "1080p",
"aspect_ratio": "16:9"
}
}'{
"id": "gen_4f1c9a…",
"object": "generation",
"model": "veo-3.1-fast",
"kind": "video",
"status": "queued",
"outputs": [],
"charge": { "amount_usd": "0.5400", "units": 1, "unit": "generation", "refunded": false }
}Poll the generation until its status is succeeded or failed.
curl https://api.uplinkswitch.com/v1/generations/gen_4f1c9a… \
-H "Authorization: Bearer $UPLINK_API_KEY"{
"id": "gen_4f1c9a…",
"status": "succeeded",
"outputs": [
{ "url": "https://api.uplinkswitch.com/v1/files/2026-10-12/gen_4f1c9a…/0.mp4", "content_type": "video/mp4", "bytes": 4810213 }
],
"charge": { "amount_usd": "0.5400", "units": 1, "unit": "generation", "refunded": false }
}Speech is the same call with text in the input:
{
"model": "elevenlabs-v3",
"input": { "text": "Your order has shipped.", "voice": "Aria" }
}What an image costs
An image has one price per setting, charged per image. The table prints each image model at a comparable setting, the developer's own price where the catalog has it on record, and what 1,000 images come to. Our price sorts the rows.
| Model | Setting | Per image | Developer | 1,000 images |
|---|---|---|---|---|
| Kling O3 Image | 2K | $0.0219 | $0.028 | $21.90 |
| Seedream 4.5 | any size to 4K | $0.0313 | — | $31.30 |
| Seedream 5.0 Lite | 2K or 3K | $0.0313 | — | $31.30 |
| Nano Banana 2.1 | 2K | $0.0375 | $0.0504 | $37.50 |
| Qwen Image 3 | 2K | $0.045 | — | $45.00 |
| Nano Banana 2 | 2K | $0.056 | $0.101 | $56.00 |
| GPT Image 2 | 2K, medium | $0.056 | — | $56.00 |
| FLUX.2 Pro | 2K | $0.0563 | $0.075 | $56.30 |
| Nano Banana Pro | 2K | $0.08 | $0.134 | $80.00 |
USD, live from GET /v1/catalog/media, sorted by our price per image. Developer: the developer’s own price where it is on record.
Resolution sets the price. On Nano Banana 2 a 1K image is $0.0402, a 2K image $0.056 and a 4K image $0.072, against Google's own $0.067, $0.101 and $0.151, 40% under list at 1K. The default is 1K, so a request without resolution bills the 1K price.
GPT Image 2 prices by quality and resolution together: $0.024 an image at quality low, resolution 1K, its lowest tier, up to the high-quality 4K tier. OpenAI's own pricing page prices image output per token (read 2026-10-19); here each setting has one per-image price, known before the image renders. The Nano Banana Pro guide covers the 2K and 4K tiers of the larger Google model, and the media models by task page lists every image model with its editing twin.
What a video costs
Video is priced two ways. Veo 3.1 and Grok Imagine Video charge per generation, a clip of fixed length. Kling 3.0 Pro, Seedance 2 and Wan 3.0 charge per second of finished video, so the duration you send multiplies the price. The last column turns both into a minute of video.
| Model | Setting | Unit | Here | Developer's list | A minute of video |
|---|---|---|---|---|---|
| Veo 3.1 Fastveo-3.1-fast | 720p, 8 s | generation | $0.48 | $0.8040% under | $3.60 |
| Veo 3.1 Fastveo-3.1-fast | 1080p, 8 s | generation | $0.576 | $0.9640% under | $4.32 |
| Veo 3.1veo-3.1-quality | 720p, 8 s | generation | $1.92 | $3.2040% under | $14.40 |
| Veo 3.1 Liteveo-3.1-lite | 720p, 8 s | generation | $0.24 | $0.4040% under | $1.80 |
| Kling 3.0 Prokling-3.0-pro | sound false | second | $0.2438 | — | $14.63 |
| Seedance 2seedance-2 | 720p | second | $0.25 | — | $15.00 |
| Wan 3.0 Text to Videowan-3.0-text-to-video | 720p | second | $0.40 | — | $24.00 |
| Grok Imagine Videogrok-imagine-video | 6 s | generation | $0.2093 | $0.3030% under | $2.09 |
USD, live from GET /v1/catalog/media. A minute of video: the per-second price times 60, or the per-generation price times 60 over the clip length (8-second Veo clips, 6-second Grok clips). Developer's list: the developer's own price where it is on record, with how far under it ours sits.
A Veo 3.1 Fast clip is 8 seconds at every resolution; 1080p costs $0.576 against $0.48 at 720p, and 4k has its own tier. The Veo 3 API pricing and setup guide prints all three Veo models at 720p, 1080p and 4k next to Google's per-second rate.
Kling 3.0 Pro is $0.2438 a second at sound false and $0.3063 with sound; the Kling API guide covers multi-shot clips and the required settings. Seedance 2 prices by resolution from 480p to 4k, with a lower 1080p tier for a plain prompt at 16:9 or 9:16, in the Seedance API guide. Every video model, with its tiers, is on the media price list.
Speech, music and 3D
Speech bills per 1,000 characters of the text field. Music and 3D bill per generation. None of these carries a developer's price in the catalog today, so that column prints a dash.
| Model | Setting | Unit | Here | Developer's list |
|---|---|---|---|---|
| Eleven v3 (text to speech)elevenlabs-v3 | any voice | 1,000 characters | $0.10 | — |
| Eleven Turbo v2.5 (text to speech)elevenlabs-turbo-2.5 | any voice | 1,000 characters | $0.05 | — |
| Suno Musicsuno-music | any settings | generation | $0.40 | — |
| Tripo H3.1 Text to 3Dtripo-3.1-text-to-3d | standard texture (default) | generation | $0.1875 | — |
| Tripo H3.1 Image to 3Dtripo-3.1-image-to-3d | standard texture (default) | generation | $0.2813 | — |
USD per unit, live from GET /v1/catalog/media. Tripo: the default texture setting; texture off and detailed texture are separate tiers, and detailed geometry and quad meshes are add-ons on top.
A 10,000-character script is ten units of 1,000 characters: $1.00 on Eleven v3 and $0.50 on Eleven Turbo v2.5. The voice does not change the price; the ElevenLabs API guide lists the voices and the stability setting.
Suno Music is $0.40 a generation at any setting; the mv model version is required. Tripo H3.1 prices a textured model above an untextured one, and detailed texture above standard; send texture: false for geometry only.
Settings that set the price
Each model’s settings, their allowed values and the price of each combination are in the media price list and at GET /v1/catalog/media. A setting that changes the price and has no default must be sent. An unknown setting is refused before anything runs. Model guides: Nano Banana Pro, Veo 3.1.
Three settings move the price. resolution on the image models and on Veo, Seedance and Wan. duration on every per-second model, and on Grok Imagine Video where 6 and 10 seconds are separate tiers. quality on GPT Image 2, where low, medium and high each pair with a resolution.
The params block in the catalog lists each model's values and defaults. Veo 3.1 Fast's resolution takes 720p, 1080p, 4k, default 720p, read live. Seedance 2 and Kling 3.0 Pro mark duration as required with no default, so a request without it is refused with a 400 and nothing is charged.
Polling from Python
The generations route answers 202 with the id and the charge, then the clip renders. Poll every few seconds until the status is succeeded or failed, then download outputs[0].url. This example uses the requests library and a Veo 3.1 Lite clip at 720p.
import os, time, requests
BASE = "https://api.uplinkswitch.com/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['UPLINK_API_KEY']}"}
gen = requests.post(
f"{BASE}/generations",
headers=HEADERS,
json={
"model": "veo-3.1-lite",
"input": {
"prompt": "A paper boat drifting across a pond at sunrise",
"resolution": "720p",
"aspect_ratio": "16:9",
},
},
timeout=30,
).json()
print(gen["id"], "charged", gen["charge"]["amount_usd"]) # the price is set here, before the clip exists
while gen["status"] not in ("succeeded", "failed"):
time.sleep(5)
gen = requests.get(f"{BASE}/generations/{gen['id']}", headers=HEADERS, timeout=30).json()
if gen["status"] == "succeeded":
url = gen["outputs"][0]["url"] # served from https://api.uplinkswitch.com/v1/files for 30 days
with open("clip.mp4", "wb") as f:
f.write(requests.get(url, headers=HEADERS, timeout=120).content)
else:
print("failed and refunded:", gen["charge"]["refunded"])Status moves queued, running, finalizing, succeeded. On the image route, POST /v1/images/generations waits up to about 100 seconds for the image; past that it answers 504 with a generation id, and the same GET /v1/generations/{id} loop fetches the result.
Billing and refunds
The price is fixed when the request is accepted and is charged then. A generation that fails is refunded in full. Files are served from api.uplinkswitch.com and stay available for 30 days, so download what you want to keep.
The refund is automatic. A generation still unfinished after 6 hours is marked failed and refunded the same way. Finished files sit at /v1/files for those 30 days.
Every charge and every refund appears on the Usage page in the console and on the signed monthly statement, which you can check against our public key at /statements/verify in the browser. Each paid top-up locks your rates for 30 days, and billing takes the lower of the locked and the live rate.
Get a key in the console: prepaid credit, no subscription, 30-day price lock.