---
title: "Subtitle Generator"
slug: "dataflow-nodes-subtitle-generator"
updated: 2025-05-27T14:18:58Z
published: 2025-05-27T14:18:58Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.knovvu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Subtitle Generator

A node that generates subtitles, using any input event with a ```Text``` attribute.
 
## Parameters
| <div style="width:170px">name</div> | description | <div style="width:120px">default</div> |
|---|---|---|
|Character Limit Per Line | The maximum number of characters that are visible in one line of the subtitle | 40 |
| Subtitle Display Buffer Time (Msec) | Buffer time increases the time subtitles are displayed on screen | 0 |
 
## Inputs
 
### Audio: 
&emsp;none 
 
### Events: 
| name | description | known nodes that generate this event |
|---|---|---|
| * | all events containing a 'Text' field | SR Http, SR WebSocket, Translate, ... |

 
## Outputs
 
### Audio: 
&emsp;none
 
### Events: 
| name | description |
|---|---|
| [Subtitle Generated](/v1/docs/events#subtitle-generated) | Contains the text, formatted into a subtitle file **.srt** format, in ```Data.Text``` field. |
 
## Remarks 
 
### Project Structure 

The node expects events that have the ```Text``` field. Which means the node can be used with any and all SR nodes. A minimum viable project that utilizes Subtitle Generator node can be built as such: 
<center>
    
![image.png](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/image%28999%29.png){height="" width=""}

</center>

Taking this a step further, one can construct a project with Translator Node and Subtitle Generator Node to create subtitles in any desired language:

<center>
    
![image.png](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/image%281000%29.png){height="" width=""}
</center>
    
Another project that manipulates the SR output so that is translated, punctuated, filtered, normalized then formatted into a Subtitle Format.

<center>
    
![image.png](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/image%281001%29.png){height="" width=""}


</center>

:::(Warning) (Important Note)
Using Subtitle Generator with an [SR Http Node](/v1/docs/dataflow-nodes-speech-recognition-sr-http) that has the `Produce Recognized Words` parameter enabled results in significantly better and more in-sync results.
:::
 
### Supported flow types
Batch




## Release Notes 

<div style="max-height: 200px; overflow-y: auto; overflow-x: hidden"> 
    <details>
        <summary> <strong> v3.4.0</strong> </summary>
        <ul>
            <li>Introduced node.</li>
        </ul>
    </details>
</div>
