You're looking at a specific version of this model. Jump to the model overview.
hjunior29 /video-text-remover:e7851abe
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| video |
string
|
Input video file with subtitles to remove. Supports MP4, AVI, MOV, and other common video formats.
|
|
| method |
None
|
hybrid
|
Subtitle removal algorithm. 'hybrid' (recommended): Best quality using context-aware inpainting. 'inpaint': Fast TELEA inpainting. 'inpaint_ns': Navier-Stokes inpainting. 'blur': Gaussian blur. 'black': Fill with black. 'background': Fill with surrounding color.
|
| conf_threshold |
number
|
0.25
Max: 1 |
Detection confidence threshold (0.0-1.0). Lower values detect more subtitles but may include false positives. Recommended: 0.25
|
| iou_threshold |
number
|
0.45
Max: 1 |
Intersection-over-Union threshold for removing duplicate detections (0.0-1.0). Higher values keep more overlapping boxes. Recommended: 0.45
|
| margin |
integer
|
5
Max: 20 |
Extra pixels to expand around detected subtitle regions (0-20). Higher values ensure complete removal but may remove more content. Recommended: 5
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}