API Overview This realtime endpoint extracts subtitle or spoken-text output from a video and returns the result in a nearly ready-to-read text format. It is built for turning video content into analyzable language rather than for measuring performance.Recommended Use Cases
Extract scripts or spoken content from a video
Archive caption text for content analysis
Review messaging and talking points in a video
Support rewriting, summarization, or AI-assisted content workflows
Notes
Subtitle extraction quality depends on whether the video has captions, as well as on audio clarity and speech-recognition quality
Realtime endpoints may hit risk control; if the API returns code=500, keep retrying (code=500 does not consume your current usage quota)
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Query Params
Responses
🟢200成功
application/json
Bodyapplication/json
Example
{"msg":"success","code":0,"data":[{"data":"WEBVTT\n\n\n00:00:00.060 --> 00:00:03.500\nIt's Thursday, which means it's time to take care of the bathrooms.\n\n00:00:03.501 --> 00:00:05.781\nWipe those mirrors down, clean your toilet,\n\n00:00:05.782 --> 00:00:08.341\nbath sink, vacuum and mop the floor.\n\n00:00:08.342 --> 00:00:09.781\nStock up on toilet paper. Oh,\n\n00:00:09.782 --> 00:00:12.781\nI need to do that. Replace towels and rugs,\n\n00:00:12.782 --> 00:00:15.021\nempty the trash, clean mirrors,\n\n00:00:15.022 --> 00:00:19.781\nand check for spills. Those are your tasks for the day. Again,\n\n00:00:19.782 --> 00:00:22.241\nI love this planner.\n\n00:00:22.300 --> 00:00:25.940\nIf you struggle with all of your word cleaning tasks on the weekend,\n\n00:00:25.941 --> 00:00:28.781\nyou gotta get the ADHD cleaning planner.\n\n00:00:28.782 --> 00:00:30.681\nThis has been a lifesaver.\n\n00:00:30.780 --> 00:00:35.137\nDo a few tasks every day and you'll have a clean house.\n","lang":"eng-US"}]}