POST
/v1/audio/transcriptionsBase URL
https://api.linkinfra.aiAuthorization
Bearer TokenAuthorizationBearer <token>Authenticate requests with your API key in the request header:
Authorization: Bearer sk-your-api-keyNeed a key? Create one in the console
Let the HTTP client generate the multipart boundary. Do not manually set Content-Type for file uploads.
Request body
multipart/form-datamodelstringrequiredModel ID from the model catalog. Availability depends on your account group and configured channels.
filefilerequiredAn audio file, such as mp3, wav, or m4a. File size and format limits depend on the upstream.
languagestringISO-639-1 language code, such as zh or en.
promptstringOptional context to guide transcription style and proper nouns.
response_formatstringResponse format, such as json or text, subject to model support.
Response
application/json200Successful responsetextstringTranscribed text. The example uses the default JSON response format.