---
title: "Price a video render before generating it"
method: POST
path: "/api/mcp/tools/estimate_video_cost"
tags: ["tools"]
---

# Price a video render before generating it

`POST /api/mcp/tools/estimate_video_cost`

## Request

- Base URL: `https://finestructure.ai`
- URL: `https://finestructure.ai/api/mcp/tools/estimate_video_cost`
- Auth: HTTP bearer

Price a video render before generating it. Returns the duration, resolution, and the exact charge in USD against the prepaid video wallet. Spends nothing.

## Request body

- object
  - `model` string: Model id from list_media_capabilities. Default 'seedance-2'.
  - `duration` integer: Seconds. Snapped to the model's allowed values.
  - `resolution` string: 480p, 720p, or 1080p (model dependent).

## Response `200`

Tool executed successfully

- ToolResult
  - `ok` boolean, required
  - `tool` string, required
  - `result` object, required

## Other responses

- `400`: Invalid arguments for this tool
- `401`: Missing or invalid bearer token
- `402`: Not enough credits on the account
- `403`: Token scope does not permit this tool
- `404`: Unknown tool name
- `429`: Rate limit exceeded, retry after the indicated delay
- `500`: Internal error while executing the tool

---

[API](https://skmtc.dev/finestructure/apis/fine-structure-api.md) · [All operations](https://skmtc.dev/finestructure/apis/fine-structure-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finestructure/apis/fine-structure-api/revisions/02c50ed5fd70?raw)
