Skip to main content
POST
cURL
Unified transcription endpoint that replaces the five v1 endpoints (vid2txt, aud2txt, videofile2txt, audiofile2txt, transcribe). Accepts URLs or multipart file uploads. Returns a request_id for status polling.
Source detection is automatic: pass a public video_url / audio_url, or upload a file via multipart form-data.
Prerequisite: Consult the Model Selection endpoint to identify a valid model slug and check supported languages.
OpenAI SDK users: This endpoint is also available via the OpenAI-compatible surface as POST /v1/audio/transcriptions at https://oai.deapi.ai/v1. Maximum file size per upload is 20 MB for audio and 50 MB for video, subject to a global 75 MB request body cap. See OpenAI Compatibility and Limits & Quotas.

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

Transcription parameters. Provide exactly one of source_url or source_file.

include_ts
boolean
required

Should transcription include timestamps

model
string
required

The model to use for transcription. Available models can be retrieved via the GET /api/v1/client/models endpoint.

Example:

"WhisperLargeV3"

source_url
string

URL of video/audio to transcribe (YouTube, Twitter/X, Twitch, Kick, TikTok, Twitter Spaces). Mutually exclusive with source_file.

Example:

"https://www.youtube.com/watch?v=jNQXAC9IVRw"

source_file
file

Audio or video file to transcribe. Supported audio: aac, mpeg, ogg, webm. Supported video: mp4, mpeg, quicktime, avi, wmv, ogg. Mutually exclusive with source_url.

return_result_in_response
boolean | null
default:false

If true, the result will be returned directly in the response instead of only download url.

webhook_url
string<uri> | null

Optional HTTPS URL to receive webhook notifications for job status changes.

Maximum string length: 2048
Example:

"https://your-server.com/webhooks/deapi"

webhook_secret
string | null

Optional per-request HMAC secret (min. 32 chars) used to sign the webhook callback. When present, overrides the account-default webhook secret. Requires webhook_url to also be set.

Required string length: 32 - 255
Example:

"a1b2c3d4e5f60708091a2b3c4d5e6f7081920a1b2c3d4e5f60708091a2b3c4d5"

Response

ID of the inference request.

data
object

Information from success endpoint