Transcribe (Unified Transcription)
A single endpoint for all transcription needs — URL-based (YouTube, X, Twitch, Kick, TikTok, X Spaces) and file uploads (audio & video). Replaces vid2txt, aud2txt, videofile2txt, and audiofile2txt with automatic source detection.
slug, check specific limits and features.How it works
Provide exactly one of:source_url— a URL to transcribe (YouTube, X/Twitter, Twitch, Kick, TikTok, or X Spaces)source_file— an uploaded audio or video file
Supported file formats
Inline results
Setreturn_result_in_response: true to receive the transcription text directly in the API response instead of a download URL. Useful for short content or real-time integrations.
vid2txt, aud2txt, videofile2txt, audiofile2txt) remain fully operational. The unified /transcribe endpoint is the recommended path for new integrations.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
application/json Body
Transcription parameters. Provide exactly one of source_url or source_file.
- Option 1
- Option 2
URL of video/audio to transcribe (YouTube, Twitter/X, Twitch, Kick, TikTok, Twitter Spaces). Mutually exclusive with source_file. A TikTok URL is only accepted with model: WhisperLargeV3Ct2 — paired with any other model it is rejected with 422.
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
Should transcription include timestamps. Required - send false for plain text or true for timestamped segments.
false
The model to use for transcription. Available models can be retrieved via the GET /api/v1/client/models endpoint.
"WhisperLargeV3"
If true, the result will be returned directly in the response instead of only download url.
Optional HTTPS URL to receive webhook notifications for job status changes.
2048"https://your-server.com/webhooks/deapi"
Response
ID of the inference request.
Information from success endpoint