Botnoi Gensub icon

Botnoi Gensub

Generate subtitles using Botnoi Voice API

Subtitle → Generate From URL

AI-generated

Overview

This node generates subtitles from an audio file accessible via a public URL using the Botnoi Voice API. It is useful for automatically transcribing audio content into subtitle formats, which can be used for video captioning, accessibility, or content indexing. For example, users can input a podcast or video audio URL and receive subtitle text segments with timing information.

Use Case Examples

  1. Generate subtitles from a podcast audio URL to create captions for a video.
  2. Automatically transcribe an interview audio file hosted online into subtitle text for accessibility.

Properties

Name Meaning
Audio URL Publicly accessible URL to the audio file to be transcribed.
Max Duration (Seconds) Maximum duration in seconds for each subtitle segment.
Max Silence (Seconds) Silence threshold in seconds used to split subtitles into segments.
Return SRT Boolean flag to determine whether to return subtitles in SRT text format.
Simplify Boolean flag to return a simplified version of the response instead of raw data.
Options Additional options such as request timeout in milliseconds.

Output

JSON

  • message - Status or informational message from the subtitle generation process.
  • subtitle - Generated subtitle text, either simplified or raw depending on the 'Simplify' option.
  • pointsUsed - Number of points used from the user's account for this request.
  • currentPoint - Current point balance of the user after the request.
  • monthlyPoint - Current monthly point usage of the user.

Dependencies

  • Botnoi Voice API with an API key credential

Troubleshooting

  • Ensure the 'Audio URL' is publicly accessible and not behind authentication or firewalls.
  • Verify that the API key used has access to the GenSub feature of the Botnoi Voice API.
  • Common error messages include request timeouts or access denied errors, which can be resolved by checking network accessibility and API key permissions.
  • If the node throws an 'Unsupported resource or operation' error, verify that the resource is set to 'Subtitle' and operation to 'Generate From URL'.

Links

  • Botnoi Voice API - Official website for the Botnoi Voice API used for subtitle generation.

Discussion