Audio

ElevenLabs Scribe v3

Changed on

Transcribe the speech in a video or audio file with ElevenLabs Scribe v3. The completed job returns result.transcription: the text, the detected language, and every word and audio event with its start and end time in seconds.

post/generate/audio/elevenlabs/scribe-v3

Request

  • Base URL
    https://api.krea.ai
  • Auth
    HTTP bearer

Headers

X-Webhook-URL, string uri

URL to receive a POST request when the job completes. The webhook will receive the job data including results. Deliveries are signed with Ed25519 (EdDSA); verify them with the keys at https://api.krea.ai/.well-known/jwks.json (see X-Krea-Webhook-* headers). Treat requests without these headers as unauthenticated.

Request body

object required
media_url, string uri required

Can be an external URL, base64 data URI, or uploaded asset URL.

media_type, 'video' | 'audio' required

Whether media_url is a video or audio.

language_code, string

ISO 639-1 or 639-3 code of the spoken language; detected when omitted.

diarize, boolean

Label which speaker says each word.

tag_audio_events, boolean

Transcribe sounds such as (laughter) as their own entries. On by default.

keyterms, string[]

Names and terms to recognize more accurately, up to 100. Adds a surcharge.

Response

The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results.

object required
job_id, string uuid required
status, 'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'finalizing' | 'completed' | 'failed' | 'cancelled' required
created_at, string date-time required
completed_at, unknown required
result, unknown required
error, object
progress, number nullable
export_progress, object

Motion exports only, while running: frames rendered of the total, then finishing while the sound is added, then saving while the MP4 is filed.

Changes