Edit

Remove burned-in subtitles from your own video

A video with subtitles (or another line of text) burned into its picture in, the same video out with that text painted out: a text detector finds the lines inside region (shares of the frame; default the lower 40 %), an inpainting model fills the background in under them, and every pixel outside the text stays the source's own; the sound is copied untouched, the picture re-encoded once at quality. start / end limit the work to one stretch. The customer's OWN video only; not a watermark remover (a logo or someone else's mark is not removed). Runs on a render node: minutes, not seconds. The render's text_removal reports the band, the frames looked at and painted and the lines found (0 = nothing in the band). Asynchronous: poll GET /v1/executions/{id}.

Billing: Per second of output at the text-removal tier (clean_text: the inpainting's measured compute on a render node); a clip where no text was found in the band pays a plain re-encode (the hd tier) — the estimate assumes text. Failed renders are not charged. · Rate limit: 30/min · Asynchronous

post/v1/studio/clean-text

Request

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

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

x-wait-msinteger

Wait for the job inside this call (ms)

Request body

endnumber

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

startnumber

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)

quality'draft' | 'standard' | 'high'

The re-encode of the picture: high (default) = the best; draft renders fastest for a check

video_urlstring uri required

Public URL of the source video (mp4, mov, webm, mkv…) — or the url of a previous render

Response

Completed (or 202 while processing)

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
outputobject

Operation result (see each operation). While a Studio render is processing: stage (queued · transcribing · downloading · preparing · cleaning_voice · mixing_audio · rendering · finishing), phase (the engine's: download · prepare · voice · audio · encode · qa · upload, or null), progress (a percent, 0–100) and progress_fraction (0–1), eta_seconds (seconds left, never below 0) and estimate_seconds

errorstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.