stream_add_caption
Add caption or subtitle tracks to videos in Bunny.net Stream libraries using SRT/VTT files. Specify language codes and display labels for accessibility and multilingual support.
Instructions
Add a caption/subtitle track to a video
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| libraryId | Yes | Stream library ID | |
| videoId | Yes | Video GUID | |
| srclang | Yes | Language code (e.g. en, id) | |
| label | Yes | Display label (e.g. English, Indonesian) | |
| captionsFile | Yes | Base64-encoded SRT/VTT caption file content |