Estimate AI Video Credits

Send the same body as Generate an AI Video and get the credits it would cost, without generating anything.

Updated

POST
/v1/ai/video/estimate
curl -X POST "https://api.orshot.com/v1/ai/video/estimate" \
  -H "Authorization: Bearer <ORSHOT_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "<PROMPT>",
    "imageRef": "<IMAGE_REF>",
    "script": "<SCRIPT>",
    "duration": 1
  }'

Same body as Generate an AI Video. Returns what the request would cost so you can check it against the account's AI credits before spending.

Endpoint
POST https://api.orshot.com/v1/ai/video/estimate

Request Body#

Accepts every field of Generate an AI Video.

promptString

What to generate.

imageRefString

Reference image for animation or speech.

scriptString

Spoken text; its length decides the clip length for speech.

durationNumber

Any whole number of seconds from 3 to 15, capped by your plan.

fullHdBoolean

1080p output at 2x credits.

Request#

JavaScript
await fetch("https://api.orshot.com/v1/ai/video/estimate", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Authorization: "Bearer <ORSHOT_API_KEY>",
  },
  body: JSON.stringify({
    prompt: "a sneaker drops onto wet asphalt at night, neon reflections",
    duration: 10,
    fullHd: true,
  }),
});
JSON
{
  "data": {
    "capability": "t2v",
    "credits": 60,
    "seconds": 10,
    "tier": "fhd"
  }
}
Was this page helpful?

Ready to automate?

Start rendering images, PDFs and videos from your templates in under 2 minutes. Free plan, no credit card.

Get your API key
  • Image, PDF and video generation via API
  • Visual editor with AI and smart layouts
  • Zapier, Make, MCP and 50+ integrations
  • White-label embed for your own app
  • 30 free credits — no credit card required