You're looking at a specific version of this model. Jump to the model overview.

myaiteam2 /add-subtitles-to-mp4:bb1fafb5

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
subtitles_text
string
Subtitles in JSON format as text
font
string
Arial-Bold
Font type for the subtitles
fontsize
integer
24
Font size for the subtitles
color
string
white
Font color for the subtitles
stroke_color
string
black
Stroke color for the subtitles
stroke_width
integer
1
Stroke width for the subtitles
align
string
center
Alignment for the subtitles
size
string
640,None
Size of the TextClip as 'width,height'

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'}