You're looking at a specific version of this model. Jump to the model overview.
fictions-ai /autocaption:f740fb3d
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_file_input |
string
|
Video file
|
|
transcript_file_input |
string
|
Transcript file, if provided will use this for words rather than whisper.
|
|
output_video |
boolean
|
True
|
Output video, if true will output the video with subtitles
|
output_transcript |
boolean
|
True
|
Output transcript json, if true will output a transcript file that you can edit and use for the next run in transcript_file_input
|
subs_position |
string
(enum)
|
bottom75
Options: bottom75, center, top, bottom, left, right |
Subtitles position
|
color |
string
|
white
|
Caption color
|
highlight_color |
string
|
yellow
|
Highlight color
|
fontsize |
number
|
7
|
Font size. 7.0 is good for videos, 4.0 is good for reels
|
MaxChars |
integer
|
20
|
Max characters space for subtitles. 20 is good for videos, 10 is good for reels
|
opacity |
number
|
0
|
Opacity for the subtitles background
|
font |
string
(enum)
|
Poppins/Poppins-ExtraBold.ttf
Options: Poppins/Poppins-Bold.ttf, Poppins/Poppins-BoldItalic.ttf, Poppins/Poppins-ExtraBold.ttf, Poppins/Poppins-ExtraBoldItalic.ttf, Poppins/Poppins-Black.ttf, Poppins/Poppins-BlackItalic.ttf, Atkinson_Hyperlegible/AtkinsonHyperlegible-Bold.ttf, Atkinson_Hyperlegible/AtkinsonHyperlegible-BoldItalic.ttf, M_PLUS_Rounded_1c/MPLUSRounded1c-ExtraBold.ttf, Arial/Arial_Bold.ttf, Arial/Arial_BoldItalic.ttf, Tajawal/Tajawal-Bold.ttf, Tajawal/Tajawal-ExtraBold.ttf, Tajawal/Tajawal-Black.ttf |
Font
|
stroke_color |
string
|
black
|
Stroke color
|
stroke_width |
number
|
2.6
|
Stroke width
|
kerning |
number
|
-5
|
Kerning for the subtitles
|
right_to_left |
boolean
|
False
|
Right to left subtitles, for right to left languages. Only Arial fonts are supported.
|
translate |
boolean
|
False
|
Translate the subtitles to English
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}