Pricing
Your request is billed for output video generation plus reference inputs above a shared allowance. All prices below are in USD.
Every request includes 4,096 reference tokens at no additional charge, shared across all reference images, videos, and audio clips. Additional reference tokens cost $0.02 per 1,000 tokens, prorated to the actual token count. The allowance covers reference processing; output generation is billed separately.
Output video
Output generation is billed using the requested duration (duration) and selected resolution.
| Output resolution | Per second | 5-second output | 10-second output | 15-second output |
|---|
| 480p | $0.05 | $0.25 | $0.50 | $0.75 |
| 768p | $0.08 | $0.40 | $0.80 | $1.20 |
| 1080p | $0.16 | $0.80 | $1.60 | $2.40 |
Add a reference surcharge only when the combined reference-token count exceeds 4,096.
Total cost
Output cost = requested output duration × resolution rate
Reference tokens = image tokens + video tokens + audio tokens
Reference cost = max(0, reference tokens − 4,096) × $0.02 / 1,000
Total cost = output cost + reference cost
Apply the allowance once per request to the combined references. It is not a separate allowance for each file or media type. Reference usage is not rounded up to blocks of 1,000 tokens.
Reference images
Reference-image token counts depend on the image's aspect ratio and are independent of the output-video resolution.
Square reference images, including 1024 × 1024 and 2048 × 2048 uploads, contribute 1,024 tokens each. When no video or audio references use the allowance, four square reference images are included; each additional square image adds $0.02048 (about $0.02).
Accepted reference-image aspect ratios range from 2:5 to 5:2. The following examples are within that range:
| Reference image shape | Tokens per image | Additional cost if the allowance is already exhausted |
|---|
| 1:1 | 1,024 | $0.02048 |
| 4:3 / 3:4 | 1,376 | $0.02752 |
| 16:9 / 9:16 | 1,824 | $0.03648 |
| 5:2 / 2:5 | 2,560 | $0.05120 |
The last column is the full marginal cost after the allowance has been used. With no other references, one image of any shape in this table has no reference surcharge.
The following table shows the total image-reference surcharge per request, after applying the allowance, when no video or audio references are supplied.
| Number of images | All square | All 4:3 or 3:4 | All 16:9 or 9:16 |
|---|
| 1 | $0 | $0 | $0 |
| 2 | $0 | $0 | $0 |
| 3 | $0 | $0.00064 | $0.02752 |
| 4 | $0 | $0.02816 | $0.06400 |
| 5 | $0.02048 | $0.05568 | $0.10048 |
| 8 | $0.08192 | $0.13824 | $0.20992 |
| 9 | $0.10240 | $0.16576 | $0.24640 |
For mixed image shapes, add their individual token counts before subtracting the allowance. The number of included images therefore depends on their shape and any other reference inputs.
Reference videos
Reference-video tokens depend on the clip's aspect ratio and frame count, as well as the selected output resolution.
- 480p output has lower reference-video token counts than 768p or 1080p output for the same reference clip.
- 768p and 1080p output use the same reference-video token counts.
- Each reference video's own aspect ratio affects its token count.
- Source frame rate matters: two clips with the same duration can contribute different numbers of frames and tokens.
- The number of reference-video frames counted is limited by the requested output duration. A longer uploaded clip may therefore contribute only part of its frames.
- Token counts increase in steps; a fixed tokens-per-second rate is only an approximation.
The examples below assume one 16:9 or 9:16 reference video at exactly 24 fps, with exactly the frame counts shown, a requested output duration at least as long as the reference, and no image or audio references. The 4,096-token allowance is already deducted from each surcharge.
| Reference duration (frames) | Tokens at 480p | Reference surcharge at 480p | Tokens at 768p / 1080p | Reference surcharge at 768p / 1080p |
|---|
| 2 seconds (48 frames) | 4,680 | $0.01168 | 12,096 | $0.16000 |
| 5 seconds (120 frames) | 12,480 | $0.16768 | 32,256 | $0.56320 |
| 10 seconds (240 frames) | 26,130 | $0.44068 | 67,536 | $1.26880 |
| 15 seconds (360 frames) | 39,780 | $0.71368 | 102,816 | $1.97440 |
These are reference charges only. Add output generation to obtain the total. Different aspect ratios, frame counts, or requested output durations can change the reference cost. Each reference video's token count is calculated individually; add the counts and apply the shared allowance once.
Reference audio
Audio supplied through reference_audio_urls contributes approximately 80 tokens per second, independent of output resolution. Exact usage can vary, so duration-based amounts below are estimates.
| Reference-audio duration | Approximate tokens | Approximate additional cost if the allowance is already exhausted |
|---|
| 2 seconds | 160 | $0.00320 |
| 5 seconds | 400 | $0.00800 |
| 10 seconds | 800 | $0.01600 |
| 15 seconds | 1,200 | $0.02400 |
These are marginal charges, not minimum fees. If the combined image, video, and audio references remain within 4,096 tokens, the reference surcharge is $0. An audio track embedded in a reference-video file is not counted as a separately supplied audio reference.
Combined pricing examples
These totals include output generation and the reference surcharge. Images are square and contribute 1,024 tokens each, whether uploaded at 1024 × 1024 or 2048 × 2048. Reference videos are 16:9 or 9:16 at exactly 24 fps, with the frame counts from the table above. No separate audio references are included.
| Output duration | Reference inputs | Total at 480p | Total at 768p | Total at 1080p |
|---|
| 5 seconds | 1 image | $0.25000 | $0.40000 | $0.80000 |
| 5 seconds | 5 images | $0.27048 | $0.42048 | $0.82048 |
| 10 seconds | 4 images | $0.50000 | $0.80000 | $1.60000 |
| 10 seconds | 5 images | $0.52048 | $0.82048 | $1.62048 |
| 5 seconds | 2 images + 5-second reference video | $0.45864 | $1.00416 | $1.40416 |
| 10 seconds | 1 image + 5-second reference video | $0.68816 | $1.38368 | $2.18368 |
| 10 seconds | 2 images + 10-second reference video | $0.98164 | $2.10976 | $2.90976 |
| 15 seconds | 4 images + 15-second reference video | $1.54560 | $3.25632 | $4.45632 |
For example, a 5-second 480p output with five 2048 × 2048 square reference images costs:
Output generation: 5 × $0.05 = $0.25
Reference tokens: 5 × 1,024 = 5,120
Billable reference tokens: 5,120 − 4,096 = 1,024
Reference surcharge: 1,024 × $0.02 / 1,000 = $0.02048
Total: $0.25 + $0.02048 = $0.27048
A 5-second 768p output with two square images and one 5-second reference video from the table above costs:
Output generation: 5 × $0.08 = $0.40
Reference tokens: 2 × 1,024 + 32,256 = 34,304
Billable reference tokens: 34,304 − 4,096 = 30,208
Reference surcharge: 30,208 × $0.02 / 1,000 = $0.60416
Total: $0.40 + $0.60416 = $1.00416
Examples use the rates above before display rounding.