---
title: "Price an action before running it."
method: POST
path: "/estimate"
tags: ["Account"]
---

# Price an action before running it.

`POST /estimate`

## Request

- Base URL: `https://wowreveal.com/api/v1`
- URL: `https://wowreveal.com/api/v1/estimate`
- Auth: HTTP bearer

## Request body

- object
  - `action` 'story' | 'transformation' | 'clips' | 'clipper_analysis' | 'clip' | 'compilation' | 'tts' | 'script' | 'post_kit' | 'cover' | 'trend_search' | 'studio', required
  - `params` object
    - `count` integer
    - `source_minutes` number
    - `text` string
    - `chars` integer
    - `model_key` string
    - `model_params` object

## Response `200`

Success

- object
  - `credits` integer
  - `balance` integer
  - `affordable` boolean

## Other responses

- `400`: Invalid request (VALIDATION_ERROR and other 400 codes).
- `401`: Missing or revoked API key (INVALID_API_KEY).
- `403`: The plan has no API access, or the account is blocked.
- `429`: Rate limit (RATE_LIMITED) — see the Retry-After header.

---

[API](https://skmtc.dev/wowreveal/apis/wowreveal-rest-api.md) · [All operations](https://skmtc.dev/wowreveal/apis/wowreveal-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wowreveal/apis/wowreveal-rest-api/revisions/9a8ee8f83b49?raw)
