Skip to main content
POST
/
api
/
v1
/
client
/
audiofile2txt
/
price-calculation
cURL
curl --request POST \
  --url https://api.deapi.ai/api/v1/client/audiofile2txt/price-calculation \
  --header 'Accept: <accept>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'audio=<string>' \
  --form include_ts=true \
  --form model=WhisperLargeV3 \
  --form 0.audio='@example-file'
{
  "data": {
    "request_id": "c08a339c-73e5-4d67-a4d5-231302fbff9a"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
enum<string>
default:application/json
required
Available options:
application/json

Body

multipart/form-data

Audio transcription parameters

audio
file
required

Audio file to transcribe. Supported formats: AAC, MP3, OGG, WAV, WebM, FLAC. Maximum file size: 10 MB.

include_ts
boolean
required

Should transcription include timestamps

model
string

The model to use for generation

Example:

"WhisperLargeV3"

Response

ID of the inference request.

data
object

Information from success endpoint