AI Subtitle Generator
AI generates timestamped subtitles with high accuracy using top AI models. It also supports translations in multiple languages.
1. Generate Subtitles: Creates timestamped subtitles in JSON format.
2. Synthesize Video: Adds subtitles to a video and returns it as an MP4 file.
1.1 Generate Subtitles (Create Task)
Request Params
- url * string
File URL: The file URL must be a valid HTTP URL. If the URL lacks a file extension, specify the extension parameter (e.g., extension=mp3). The maximum length is 512 characters. The download timeout is 5 minutes (failure if not completed in that time). The file duration is 3 hours and size is 4GB.
- type * int
Mode: Enter 4
- extension string
File Extension: Required if the URL path lacks a file extension.
- language string
The output subtitle language is optional. By default, the system detects the audio and video languages automatically. You can specify a language for subtitle translation.Supported languages .
- speaker_recognition int
Speaker Recognition: Detect different speakers, 0 - do not recognize (default), 1 - recognize.
Response Params
- task_id string
Task ID: Required for subsequent progress queries.