---
title: "Remove burned-in subtitles from your own video — estimate"
method: POST
path: "/v1/studio/clean-text/estimate"
tags: ["Edit"]
---

# Remove burned-in subtitles from your own video — estimate

`POST /v1/studio/clean-text/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/studio/clean-text/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/studio/clean-text`.

## Request body

- object
  - `end` number: seconds: …to here (default: the end). The rest of the video is left exactly as it is
  - `model` 'lama' | 'sttn': The inpainting model: `lama` (big-lama, frame by frame — the default). `sttn` (video inpainting) is not installed yet
  - `start` number: seconds: paint text out only from here (default: the start)
  - `format` 'mp4' | 'mov' | 'webm': The container to write; the picture keeps the source's size and frame rate, the sound is copied as it is. Files up to 2 minutes — cut a longer one first (POST /v1/studio/convert with `trim`)
  - `region` object: Where the text sits, as shares of the frame's width and height (0–1): default the lower 40 % (`top: 0.6, bottom: 1, left: 0, right: 1`). Keep it tight: the whole band is searched for lines of text, and only text in it is painted out
    - `top` number
    - `left` number
    - `right` number
    - `bottom` number
  - `quality` 'draft' | 'standard' | 'high': The re-encode of the picture: high (default) = the best; draft renders fastest for a check
  - `video_url` string, uri, required: Public URL of the source video (mp4, mov, webm, mkv…) — or the `url` of a previous render

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
