cURL
Analysis
Audio-to-Text (X Spaces) Price Calculation
Endpoint for calculating price for audio to text inference (Twitter Spaces)
POST
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Available options:
application/json Body
application/json
Audio transcription parameters
Should transcription include timestamps
The model to use for transcription. Available models can be retrieved via the GET /api/v1/client/models endpoint.
Example:
"WhisperLargeV3"
URL of Twitter Spaces audio to transcribe (required if duration_seconds not provided)
Example:
"https://twitter.com/i/spaces/1nAKEERkeLbKL"
Duration in seconds (required if audio_url not provided)
Example:
3600
Response
Calculated price for audio to text inference.