Audio-to-Text (X Spaces Transcription)
Technical documentation for dryAPI APIs, integration guides, and operational references.
Endpoint for requesting audio transcription (Twitter Spaces)
NOTE
Prerequisite: To ensure a successful request, you must first consult the Model Selection endpoint to identify a valid model
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.
INFO
Transcription for standard video posts on X is handled via the Video-to-Text endpoint.
OpenAPI
Request Aud2 Txt
Authorization
bearerAuth In: header
Header Parameters
"application/json""application/json"Request Body
application/json
Audio transcription parameters
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.dryapi.dev/api/v1/client/aud2txt" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{ "audio_url": "https://twitter.com/i/spaces/1nAKEERkeLbKL", "include_ts": true, "model": "WhisperLargeV3" }'{
"data": {
"request_id": "c08a339c-73e5-4d67-a4d5-231302fbff9a"
}
}{
"data": {},
"message": "string",
"errors": [
null
],
"statusCode": 0
}{
"data": {},
"message": "string",
"errors": [
null
],
"statusCode": 0
}{
"message": "The selected model does not support Text To Image.",
"errors": {
"model": [
"The selected model does not support Text To Image."
]
}
}{
"message": "Too Many Attempts."
}