infery
← All models

Workflow Utilities Auto Subtitle

workflow-utilities-auto-subtitle

Video generationby infery

Add automatic subtitles to videos

Example

Details

Accepts
video

Pricing

Price
3.75 cr / minute

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
languagestringLanguage code for transcription (e.g., 'en', 'es', 'fr', 'de', 'it', 'pt', 'nl', 'ja', 'zh', 'ko') or 3-letter ISO code (e.g., 'eng', 'spa', 'fra')
positionstringenum: top, center, bottomVertical position of subtitles
y_offsetintegerVertical offset in pixels (positive = move down, negative = move up)
font_namestringAny Google Font name from fonts.google.com (e.g., 'Montserrat', 'Poppins', 'BBH Sans Hegarty')
font_sizeintegerFont size for subtitles (TikTok style uses larger text)
video_urlrequiredstringURL of the video file to add automatic subtitles to
font_colorstringenum: white, black, red, green, blue, yellowSubtitle text color for non-active words
font_weightstringenum: normal, bold, blackFont weight (TikTok style typically uses bold or black)
stroke_colorstringenum: black, white, red, green, blue, yellowText stroke/outline color
stroke_widthintegerText stroke/outline width in pixels (0 for no stroke)
highlight_colorstringenum: white, black, red, green, blue, yellowColor for the currently speaking word (karaoke-style highlight)
background_colorstringenum: black, white, red, green, blue, yellowBackground color behind text ('none' or 'transparent' for no background)
enable_animationbooleanEnable animation effects for subtitles (bounce style entrance)
background_opacitynumberBackground opacity (0.0 = fully transparent, 1.0 = fully opaque)
words_per_subtitleintegerMaximum number of words per subtitle segment. Use 1 for single-word display, 2-3 for short phrases, or 8-12 for full sentences.

Output

FieldTypeDescription
videoThe video with automatic subtitles
wordsWord-level timing information from transcription service
transcriptionstringFull transcription text
subtitle_countintegerNumber of subtitle segments generated
transcription_metadataAdditional transcription metadata from ElevenLabs (language, segments, etc.)