Skip to main content
POST
/
audio
/
transcriptions
Create transcription
curl --request POST \
  --url https://app2.freyavoice.ai/api/v2/audio/transcriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form model=freya-transcribe-v1 \
  --form 'prompt=<string>' \
  --form response_format=json \
  --form language=tr
{
  "text": "<string>",
  "usage": {
    "type": "tokens",
    "input_tokens": 123,
    "input_token_details": {
      "text_tokens": 123,
      "audio_tokens": 123
    },
    "output_tokens": 123,
    "total_tokens": 123
  }
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
file
file

Audio file to transcribe

model
enum<string>
default:freya-transcribe-v1

Freya transcription model

Available options:
freya-transcribe-v1
prompt
string | null

Optional context to guide the transcription

response_format
enum<string>
default:json
Available options:
json,
text,
srt,
verbose_json,
vtt
language
enum<string> | null

Language hint (supported: tr, cs)

Available options:
tr,
cs,

Response

Transcription created

text
string
required

Full transcription text

usage
object
required