> For the complete documentation index, see [llms.txt](https://docs.connected.events/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.connected.events/cookbook/build-your-event-driven-community/connect-through-livestream-streams/generate-captions-for-stream-replays.md). Agents can also search and read this documentation through its [MCP server](https://docs.connected.events/~gitbook/mcp).

# Generate Captions for Stream Replays

Reach wider audiences by generating or uploading captions for Stream Replays.

## Introduction

Ensure your Stream replays are accessible and engaging for all audiences by generating captions. Providing text-based alternatives accommodates diverse audience needs, creating a more inclusive viewing experience for your community. Whether you need to automatically generate AI-driven captions in the language spoken in your video, or prefer to integrate your own prepared transcripts and translations by uploading a custom VTT file, Connected’s on-demand subtitle management provides you with the flexible tools you need. Best of all, once configured at the storage level, these captions will automatically synchronize and display in all compatible areas where your video is attached. This guide will walk you through the simple steps to generate or upload captions for your Stream replays.

## How to Generate Captions

Captions can be generated with AI in the language spoken in the video.

{% stepper %}
{% step %}

#### Access the Stream Replay

* Select the waffle icon **(**<img src="https://285465303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrgCqXYXfIqcyaNSQwMZ%2Fuploads%2F0XbXnlX25yGrDe9qGywc%2FUntitled%20(100%20x%20100%20px)%20(2).png?alt=media&amp;token=0266f5e9-62b2-45ff-bd47-a970b2354353" alt="" data-size="line">**)** at the top of the Admin Portal.
* Select **"Streams"** under the Event Management category.
* Select the stream you want to generate captions for.&#x20;
* Select **"Replays"** from the left-hand menu.&#x20;
* Select the replay you want to generate captions for.&#x20;
  * You will be taken to the video in the storage module.&#x20;
    {% endstep %}

{% step %}

#### Generate Captions

* Select **"Captions"** from the left-hand menu.
* Select **"Generate Captions+"** on the top right of the page.
* Select a language for your captions.
* Select **"Start"** to generate the captions.
  {% endstep %}
  {% endstepper %}

<figure><img src="https://285465303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrgCqXYXfIqcyaNSQwMZ%2Fuploads%2FDL35FVc7q5sK8wuiyCpt%2Fstreamcaptions.gif?alt=media&amp;token=7b19d9b4-9d70-44ec-b79d-90a7fa3ec4c7" alt=""><figcaption></figcaption></figure>

## How to Upload Captions

Admins can upload VTT caption files in any language to display on the video.

{% stepper %}
{% step %}

#### Access the Stream Replay

* Follow [Step 1](#access-the-stream-replay) in the How to Generate Captions section of this guide.&#x20;
  {% endstep %}

{% step %}

#### Upload Captions

* Select **"Captions"** from the left-hand menu.
* Select **"Upload Captions"** on the top right of the page.
* Upload the VTT file.
* Select the language of the uploaded captions.
* Select **"Add"** to finalize the captions.&#x20;
  * Generated or Uploaded captions will now be an option for viewers who are watching the Stream Recording.&#x20;
    {% endstep %}
    {% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.connected.events/cookbook/build-your-event-driven-community/connect-through-livestream-streams/generate-captions-for-stream-replays.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
