transcribe_video
Convert TikTok video speech into text with language, duration, and word-level timestamps, using an OpenAI-compatible speech-to-text API.
Instructions
Transcribe a TikTok video's speech with the server's speech-to-text API. Returns the full text, language, duration, and word-level timestamps when the API supports them. Takes 10-60 seconds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_url": "<video_url>"
},
"name": "transcribe_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Optional ISO-639-1 language code (e.g. 'en', 'es') to skip auto-detection. | |
| video_url | Yes | A TikTok video: full URL (tiktok.com, vm.tiktok.com short links accepted), '@user/video/<id>', or a bare numeric video id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | Yes | Speech-to-text model that produced this transcript. | |
| words | Yes | ||
| duration | Yes | Audio duration in seconds. | |
| language | Yes | ||
| video_url | Yes |