Edit

Remove burned-in subtitles from your own video — estimate

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

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

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

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

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