Saltar al contenido principal
POST
/
video
/
transcriptions
/api/v1/video/transcriptions
curl --request POST \
  --url https://api.venice.ai/api/v1/video/transcriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "response_format": "json"
}
'
{
  "transcript": "<string>",
  "lang": "en"
}
Envía una URL de vídeo accesible públicamente en url. Opcionalmente, establece response_format en json (predeterminado) o text según si quieres una salida estructurada o el texto plano de la transcripción.

Autorizaciones

Authorization
string
header
requerido

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

Cuerpo

application/json

Request to transcribe a YouTube video URL to text.

url
string
requerido

YouTube video URL to transcribe.

Ejemplo:

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

response_format
enum<string>
predeterminado:json

The format of the transcript output, in one of these options: json, text.

Opciones disponibles:
json,
text
Ejemplo:

"json"

Respuesta

Video transcription completed successfully

Video transcription response.

transcript
string
requerido

The transcribed text from the video.

lang
string

Detected language code for the transcript.

Ejemplo:

"en"