← 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
| Field | Type | Description |
|---|---|---|
| language | string | Language 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') |
| position | stringenum: top, center, bottom | Vertical position of subtitles |
| y_offset | integer | Vertical offset in pixels (positive = move down, negative = move up) |
| font_name | string | Any Google Font name from fonts.google.com (e.g., 'Montserrat', 'Poppins', 'BBH Sans Hegarty') |
| font_size | integer | Font size for subtitles (TikTok style uses larger text) |
| video_urlrequired | string | URL of the video file to add automatic subtitles to |
| font_color | stringenum: white, black, red, green, blue, yellow… | Subtitle text color for non-active words |
| font_weight | stringenum: normal, bold, black | Font weight (TikTok style typically uses bold or black) |
| stroke_color | stringenum: black, white, red, green, blue, yellow… | Text stroke/outline color |
| stroke_width | integer | Text stroke/outline width in pixels (0 for no stroke) |
| highlight_color | stringenum: white, black, red, green, blue, yellow… | Color for the currently speaking word (karaoke-style highlight) |
| background_color | stringenum: black, white, red, green, blue, yellow… | Background color behind text ('none' or 'transparent' for no background) |
| enable_animation | boolean | Enable animation effects for subtitles (bounce style entrance) |
| background_opacity | number | Background opacity (0.0 = fully transparent, 1.0 = fully opaque) |
| words_per_subtitle | integer | Maximum number of words per subtitle segment. Use 1 for single-word display, 2-3 for short phrases, or 8-12 for full sentences. |
Output
| Field | Type | Description |
|---|---|---|
| video | — | The video with automatic subtitles |
| words | — | Word-level timing information from transcription service |
| transcription | string | Full transcription text |
| subtitle_count | integer | Number of subtitle segments generated |
| transcription_metadata | — | Additional transcription metadata from ElevenLabs (language, segments, etc.) |