Estimate the credit cost of rendering a Video

Changed on

Returns the credit cost of a render started right now, without debiting or starting one. The numbers match POST /videos/{id}/render. Creation costs (speech synthesis and other work already done while building the project) are not included. newBalance may be negative; this route still returns 200.

get/videos/{id}/estimate

Request

  • Base URL
    https://api.argil.ai/v1
  • Auth
    API key in header x-api-key

Path parameters

idstring uuid required

The id of the Video to estimate

Response

Render quote and the workspace balance

videoCostinteger required

Lipsync credits for a render started now

brollCostinteger required

Image and stock b-roll credits

brollAnimationCostinteger required

Seedance animation credits

totalCostinteger required

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

currentBalanceinteger required

Workspace credit balance

newBalanceinteger required

currentBalance minus totalCost. May be negative.

Changes