SEEDANCE 2.5 IS NOW LIVE!

GENERATE YOUR VIDEOS WITH UNLIMITED SEEDANCE 2.5 TODAY.

NO EXTRA SUBSCRIPTION
REVIRAL
Get API key
Browse API docs

Endpoints

calculate-credits

Was this page helpful?

Estimate the credits for a complete render without authentication or a debit.

GET

/api/v1/calculate-credits

Describe the credit estimate contract

Authentication: Public

curl "https://reviral.ai/api/v1/calculate-credits"

Responses

200
Credit estimate contract
POST

/api/v1/calculate-credits

Estimate full-render credits

Validates and estimates a full render without authentication, a database write, or a credit debit.

Authentication: Public

curl -X POST "https://reviral.ai/api/v1/calculate-credits" \
  -H "Content-Type: application/json" \
  --data '{"tier":"pro","mediaType":"ai-video","durationSec":30,"presetId":"stock"}'

Request body

FieldTypeRequiredDescription
tierstring: base | pro | ultraNo
mediaTypestring: ai-video | ai-moving | motion-graphics | stock-videos | user-upload | static-images | ai-actionNo
durationSecinteger (min 15, max 300)No
presetIdstringNo
nbGenerationsinteger (min 1, max 10)No

Responses

200
Estimated credits and customer-safe breakdown
400
Invalid body