You're looking at a specific version of this model. Jump to the model overview.
hjunior29 /video-text-generator:f293ba02
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
|
Video file to add captions to
|
|
| caption_style |
None
|
boxed
|
Caption style: 'classic' (text with stroke) or 'boxed' (words with background boxes)
|
| caption_size |
integer
|
60
|
Font size for the captions
|
| highlight_color |
string
|
#39E508
|
Color for the highlighted word (hex format)
|
| text_overlays |
string
|
|
JSON array of text overlays. Example: [{"text": "TITLE", "startMs": 0, "endMs": 3000, "position": 300, "fontSize": 80, "color": "#FFFFFF"}]. Fields: text (required), startMs (required), endMs (required), position (distance from bottom in pixels, default: 300), fontSize (default: 60), color (default: "#FFFFFF"), backgroundColor (optional, e.g. "rgba(0,0,0,0.5)")
|
| caption_position |
integer
|
150
|
Distance from the bottom of the video in pixels (150 = bottom, 300 = center, 500 = top)
|
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'}