# Estimate AI Video Credits

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

- **URL**: https://orshot.com/docs/api-reference/ai-video-estimate

---

Same body as [Generate an AI Video](https://orshot.com/docs/api-reference/ai-video-generate). Returns what the request would cost so you can check it against the account's AI credits before spending.

```markdown tab="Endpoint"
POST https://api.orshot.com/v1/ai/video/estimate
```

## Request Body

Accepts every field of [Generate an AI Video](https://orshot.com/docs/api-reference/ai-video-generate#request-body).

## Request

**Request**
```js
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,
  }),
});
```

**Response**
```json
{
  "data": {
    "capability": "t2v",
    "credits": 60,
    "seconds": 10,
    "tier": "fhd"
  }
}
```