Images, video and audio

On the same key as the text models. Each price is what one image, second or minute costs, worked out from the rates you are billed: the provider’s price plus 10%.

Images

Text to image. Priced per image, by size and quality. Endpoint /v1/images/generations.

OpenAI: GPT Image 2.6 Sunburst

gpt-image-2-6-sunburst

$0.027159 per 1024×1024, low

OpenAI’s GPT Image 2.6: images from a prompt, priced by size and quality.

1024×1024, medium
$0.047817
1024×1024, high
$0.057948
1024×1024, xhigh
$0.103026
1024×1024, max
$0.231792

BilledPrompt $5.50 / 1M tokensCached prompt $1.375 / 1M tokensImage output $33.00 / 1M tokens

Set size and quality; auto is refused1 to 4 images a requestNo reference images

OpenAI: GPT Image 2.6 Flare

gpt-image-2-6-flare

$0.027159 per 1024×1024, low

The second GPT Image 2.6 variant at the same price: a different look from the same prompt.

1024×1024, medium
$0.047817
1024×1024, high
$0.057948
1024×1024, xhigh
$0.103026
1024×1024, max
$0.231792

BilledPrompt $5.50 / 1M tokensCached prompt $1.375 / 1M tokensImage output $33.00 / 1M tokens

Set size and quality; auto is refused1 to 4 images a requestNo reference images

Google: Nano Banana 2.1

nano-banana-2-1

$0.03696 per 1K image

Google’s image model: one image a request at 1K, 2K or 4K, priced by size.

2K image
$0.05544
4K image
$0.12474

BilledPrompt $1.65 / 1M tokensImage output $33.00 / 1M tokensText and thinking output $8.25 / 1M tokens

One image a requestPreset aspect ratios, up to 4096 pxNo transparent background

Request

curl

curl https://api.tokens.pay/v1/images/generations \
  -H "Authorization: Bearer $TOKENS_PAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-image-2-6-sunburst", "prompt": "A lighthouse at dawn, ink on paper", "size": "1024x1024", "quality": "medium"}'

Video

Text to video, made in the background. Priced per second, from the video tokens the provider bills. Endpoint /v1/videos.

ByteDance: Seedance 2.5

seedance-2-5

about $0.2776 per second at 720p (1280×720)

ByteDance’s video model: 4 to 15 seconds from a prompt, with sound, up to 1080p.

Second at 1080p (1920×1080)
about $0.6245

BilledVideo output $12.849075 / 1M tokens

Asynchronous: create, poll, downloadName the end user in safety_identifierPrompt only; no reference images

How a video request works

  1. Create. POST /v1/videos with model (seedance-2-5), prompt, seconds and size, and safety_identifier: a stable id for the person the video is for. A request without one is refused. Send an Idempotency-Key so a retried create returns the same job. You get a job back at once, status: "queued".
  2. Poll. GET /v1/videos/{id} until status is completed or failed.
  3. Download. GET /v1/videos/{id}/content returns the MP4. The provider keeps it for 24 hours; after that it answers 410. We never store it.

When a video starts, the most it could cost is held from your balance; when it finishes you pay for the video tokens the provider bills, and a failed video costs nothing. Prompts only: reference images are refused.

Request

curl

curl https://api.tokens.pay/v1/videos \
  -H "Authorization: Bearer $TOKENS_PAY_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "seedance-2-5", "prompt": "A paper boat drifting down a rainy street", "seconds": "5", "size": "1280x720", "safety_identifier": "user_1234"}'
# → {"id": "video_…", "status": "queued", …}

curl https://api.tokens.pay/v1/videos/video_… -H "Authorization: Bearer $TOKENS_PAY_KEY"
curl https://api.tokens.pay/v1/videos/video_…/content -H "Authorization: Bearer $TOKENS_PAY_KEY" -o boat.mp4

Speech

Text to speech. Priced by the length of the text. Endpoint /v1/audio/speech.

Fish Audio S2.1 Pro

fish-s2-1-pro

$0.0165 per 1,000 bytes of text

Fish Audio’s speech model: 83 languages, with delivery cues written into the text.

BilledText $16.50 / 1M UTF-8 bytes

Billed per UTF-8 byte: most non-Latin characters are 2 to 3Up to 4,000 characters a request

Request

curl

curl https://api.tokens.pay/v1/audio/speech \
  -H "Authorization: Bearer $TOKENS_PAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "fish-s2-1-pro", "input": "Your order has shipped.", "voice": "alloy"}' \
  -o shipped.mp3

Speech to text

Audio to text. Priced per minute of audio. Endpoint /v1/audio/transcriptions.

OpenAI: GPT Transcribe

gpt-transcribe

$0.00495 per minute of audio

OpenAI’s newest speech to text, billed by the length of the audio.

BilledAudio $0.0825 / 1M milliseconds

Up to 5 minutes of audio a fileFiles up to 18 MBJSON response only

Fish Audio Transcribe 1 Pro

fish-transcribe-1-pro

$0.0066 per minute of audio

Fish Audio’s speech to text, with speaker turns and emotion cues in the transcript.

BilledAudio $0.11 / 1M milliseconds

Files up to 18 MBJSON response only

Request

curl

curl https://api.tokens.pay/v1/audio/transcriptions \
  -H "Authorization: Bearer $TOKENS_PAY_KEY" \
  -F model="gpt-transcribe" \
  -F file="@meeting.mp3"

One balance for all of it

Text, images, video, speech and speech to text all spend the same prepaid credit. A key from a top-up made before these were on sale gets them with your next top-up or a new key from your Profile.