Skip to main content
GET
Estimate the credit cost of rendering a Video
Returns what a render started right now would cost, without debiting or starting one. newBalance can be negative. The route still returns 200 so you can show the price before asking the user to buy credits.

Authorizations

x-api-key
string
header
required

API key to be included in the x-api-key header

Path Parameters

id
string<uuid>
required

The id of the Video to estimate

Response

Render quote and the workspace balance

videoCost
integer
required

Lipsync credits for a render started now

brollCost
integer
required

Image and stock b-roll credits

brollAnimationCost
integer
required

Seedance animation credits

totalCost
integer
required

Sum of the three buckets. This is what POST /videos/{id}/render debits.

currentBalance
integer
required

Workspace credit balance

newBalance
integer
required

currentBalance minus totalCost. May be negative.