---
title: "Estimate AI Video Credits"
method: POST
path: "/ai/video/estimate"
tags: ["AI Generation"]
---

# Estimate AI Video Credits

`POST /ai/video/estimate`

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

## Request body

- object
  - `prompt` string — What to generate.
  - `imageRef` string — Reference image for animation or speech.
  - `script` string — Spoken text; its length decides the clip length for speech.
  - `duration` number — Any whole number of seconds from 3 to 15, capped by your plan.
  - `fullHd` boolean — 1080p output at 2x credits.

## Response `200`

Successful response

- object

## Other responses

- `400` — The request was malformed or a parameter was invalid.
- `401` — Authentication is required and was not supplied.
- `402` — The workspace has no credits left. Either the render needs credits it does not have, or the key was paused after repeatedly calling with none (`code: api_key_paused`). That one resumes by itself on the first request we can accept.
- `403` — The API key is missing, invalid, or not permitted to perform this action.
- `404` — The requested route or resource does not exist.
- `429` — The workspace rate limit was exceeded. Retry after the interval given by the Retry-After header.
- `500` — An unexpected error occurred on our side.

## Changes

- **2026-09-09** `5673eb45cfa7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/orshot/apis/orshot-api/changes/ai/video/estimate/post.md)

---

[API](https://skmtc.dev/orshot/apis/orshot-api.md) · [All operations](https://skmtc.dev/orshot/apis/orshot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/orshot/apis/orshot-api/revisions/5673eb45cfa7?raw)
