Audio-to-Text (X Spaces Transcription)
Endpoint for requesting audio transcription (Twitter Spaces)
slug, check specific limits and features, and verify LoRA availability.Technical Notes & Constraints
Spaces Support
- Completed Spaces Only: The API does not support live (ongoing) X Spaces. If a URL for an active Space is provided, the API will return a validation error. Please ensure the Space has ended before submission.
- Max Duration: 90 minutes
Progress Tracking (URL/Spaces)
- Download Phase: Due to external stream handling, the task progress will remain at 0% for the entire duration of the audio download.
- Transcription Phase: Once the download is complete, the progress status will jump to 50% and update incrementally until finished.
- A prolonged 0% status is normal behavior for long X Spaces.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
application/json Body
Audio transcription parameters
URL of Twitter Spaces audio to transcribe
"https://twitter.com/i/spaces/1nAKEERkeLbKL"
Should transcription include timestamps
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 parameter.
false
Optional HTTPS URL to receive webhook notifications for job status changes (processing, completed, failed). Must be HTTPS. Max 2048 characters. See Webhook Documentation for payload structure and authentication details.
2048"https://your-server.com/webhooks/deapi"
Response
ID of the inference request.
Information from success endpoint