Skip to main content
POST
/
transcription
curl --request POST \
  --url https://api.varg.ai/v1/transcription \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "whisper",
  "audio_url": "https://example.com/podcast-episode.mp3"
}
'
{
  "job_id": "job_a1b2c3d4",
  "status": "completed",
  "model": "fal:kling-v2.5",
  "created_at": "2026-02-13T10:00:00Z",
  "completed_at": "2026-02-13T10:02:30Z",
  "output": {
    "url": "https://s3.varg.ai/o/job_a1b2c3d4.mp4",
    "media_type": "video/mp4"
  },
  "cache": {
    "hit": false,
    "key": "sha256:abc123..."
  },
  "error": "Provider returned an error"
}

Authorizations

Authorization
string
header
required

API key from varg.ai/dashboard.

Pass as Authorization: Bearer varg_xxx.

Body

application/json
model
string
required

Transcription model to use.

Fal (standard): whisper, whisper-large-v3

Groq (faster, cheaper): groq-whisper, groq-whisper-large-v3, groq-whisper-large-v3-turbo

Examples:

"whisper"

"whisper-large-v3"

"groq-whisper"

"groq-whisper-large-v3-turbo"

audio_url
string<uri>
required

URL of the audio file to transcribe (mp3, wav, m4a, webm, etc.)

Example:

"https://example.com/audio.mp3"

language
string

Language code (e.g. "en", "es", "fr", "ja"). Auto-detected if omitted.

Example:

"en"

provider_options
object

Additional options passed directly to the provider

Response

Job created

job_id
string
required

Unique job identifier

Example:

"job_a1b2c3d4"

status
enum<string>
required

Current job status

Available options:
queued,
processing,
completed,
failed,
cancelled
Example:

"completed"

model
string
required

Resolved model identifier (provider:model format)

Example:

"fal:kling-v2.5"

created_at
string<date-time>
required

When the job was created

Example:

"2026-02-13T10:00:00Z"

completed_at
string<date-time>

When the job finished (completed, failed, or cancelled)

Example:

"2026-02-13T10:02:30Z"

output
object

Job output, present when status is completed

cache
object

Cache metadata

error
string

Error message, present when status is failed

Example:

"Provider returned an error"