← Back to all generators
fictions-ai/autocaption
OfficialView on Replicate →
Automatically add captions to a video
Capabilities
No capability data available
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
video_file_input* | string(uri) | Video file | — | — |
color | string | Caption color | "white" | — |
font | string | Font | "Poppins/Poppins-ExtraBold.ttf" | Poppins/Poppins-Bold.ttfPoppins/Poppins-BoldItalic.ttfPoppins/Poppins-ExtraBold.ttfPoppins/Poppins-ExtraBoldItalic.ttfPoppins/Poppins-Black.ttfPoppins/Poppins-BlackItalic.ttfAtkinson_Hyperlegible/AtkinsonHyperlegible-Bold.ttfAtkinson_Hyperlegible/AtkinsonHyperlegible-BoldItalic.ttfM_PLUS_Rounded_1c/MPLUSRounded1c-ExtraBold.ttfArial/Arial_Bold.ttfArial/Arial_BoldItalic.ttfTajawal/Tajawal-Bold.ttfTajawal/Tajawal-ExtraBold.ttfTajawal/Tajawal-Black.ttf |
fontsize | number | Font size. 7.0 is good for videos, 4.0 is good for reels | 7 | — |
highlight_color | string | Highlight color | "yellow" | — |
kerning | number | Kerning for the subtitles | -5 | — |
MaxChars | integer | Max characters space for subtitles. 20 is good for videos, 10 is good for reels | 20 | — |
opacity | number | Opacity for the subtitles background | 0 | — |
output_transcript | boolean | Output transcript json, if true will output a transcript file that you can edit and use for the next run in transcript_file_input | true | — |
output_video | boolean | Output video, if true will output the video with subtitles | true | — |
right_to_left | boolean | Right to left subtitles, for right to left languages. Only Arial fonts are supported. | false | — |
stroke_color | string | Stroke color | "black" | — |
stroke_width | number | Stroke width | 2.6 | — |
subs_position | string | Subtitles position | "bottom75" | bottom75centertopbottomleftright |
transcript_file_input | string(uri) | Transcript file, if provided will use this for words rather than whisper. | — | — |
translate | boolean | Translate the subtitles to English | false | — |
video_file_inputrequiredstringVideo file
colorstringCaption color
Default:
"white"fontstringFont
Default:
"Poppins/Poppins-ExtraBold.ttf"Poppins/Poppins-Bold.ttfPoppins/Poppins-BoldItalic.ttfPoppins/Poppins-ExtraBold.ttfPoppins/Poppins-ExtraBoldItalic.ttfPoppins/Poppins-Black.ttfPoppins/Poppins-BlackItalic.ttfAtkinson_Hyperlegible/AtkinsonHyperlegible-Bold.ttfAtkinson_Hyperlegible/AtkinsonHyperlegible-BoldItalic.ttfM_PLUS_Rounded_1c/MPLUSRounded1c-ExtraBold.ttfArial/Arial_Bold.ttfArial/Arial_BoldItalic.ttfTajawal/Tajawal-Bold.ttfTajawal/Tajawal-ExtraBold.ttfTajawal/Tajawal-Black.ttf
fontsizenumberFont size. 7.0 is good for videos, 4.0 is good for reels
Default:
7highlight_colorstringHighlight color
Default:
"yellow"kerningnumberKerning for the subtitles
Default:
-5MaxCharsintegerMax characters space for subtitles. 20 is good for videos, 10 is good for reels
Default:
20opacitynumberOpacity for the subtitles background
Default:
0output_transcriptbooleanOutput transcript json, if true will output a transcript file that you can edit and use for the next run in transcript_file_input
Default:
trueoutput_videobooleanOutput video, if true will output the video with subtitles
Default:
trueright_to_leftbooleanRight to left subtitles, for right to left languages. Only Arial fonts are supported.
Default:
falsestroke_colorstringStroke color
Default:
"black"stroke_widthnumberStroke width
Default:
2.6subs_positionstringSubtitles position
Default:
"bottom75"bottom75centertopbottomleftright
transcript_file_inputstringTranscript file, if provided will use this for words rather than whisper.
translatebooleanTranslate the subtitles to English
Default:
falseVersion:
18a45ff0d95fUpdated: 7/25/202690.1K runs
cinemasetfree.com