Video-to-Text (Transcription)
This endpoint currently accepts YouTube URLs only (no direct file uploads) and transcribes the video audio. The API returns a written transcript along with a task ID for tracking processing progress.
Endpoint for requesting video transcription
application/jsonPossible values: URL of video to transcribe
https://www.youtube.com/watch?v=jNQXAC9IVRwShould transcription include timestamps
The model to use for transcription. Available models can be retrieved via the GET /api/v1/client/models endpoint.
WhisperLargeV3If true, the result will be returned directly in the response instead of only download url. Optional parameter.
falseExample: falseID of the inference request.
Unauthorized user.
Unauthorized user.
POST /api/v1/client/vid2txt HTTP/1.1
Host: api.deapi.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: application/json
Content-Type: application/json
Content-Length: 136
{
"video_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"include_ts": true,
"model": "WhisperLargeV3",
"return_result_in_response": false
}{
"data": {
"request_id": "c08a339c-73e5-4d67-a4d5-231302fbff9a"
}
}Endpoint for calculating price for video to text inference
application/jsonPossible values: URL of video to transcribe
https://www.youtube.com/watch?v=jNQXAC9IVRwShould transcription include timestamps
The model to use for transcription. Available models can be retrieved via the GET /api/v1/client/models endpoint.
WhisperLargeV3Calculated price for video to text inference.
Unauthorized user.
Unauthorized user.
POST /api/v1/client/vid2txt/price-calculation HTTP/1.1
Host: api.deapi.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: application/json
Content-Type: application/json
Content-Length: 102
{
"video_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"include_ts": true,
"model": "WhisperLargeV3"
}{
"data": {
"price": 0.25
}
}Last updated