Trascrivi e traduci media in modo programmatico, controlla lo stato e recupera i file completati.
$0.99 per ogni ora di audio o video
Una tariffa unica, calcolata sulla durata di ogni file. L’API usa lo stesso credito del resto del sito.
Passa la tua chiave API come token Bearer, poi invia un file o l'URL di un media. Questi esempi usano automaticamente l'host corrente.
curl -X POST "$ORIGIN/api/v1/transcriptions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "language=auto-detect" \
-F "features=speaker-attribution,llm-inference" \
-F "languagesToTranslateTo=Spanish,French" \
-F "file=@/path/to/media.mp3"
curl -X POST "$ORIGIN/api/v1/transcriptions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"language": "auto-detect",
"features": "speaker-attribution,llm-inference",
"languagesToTranslateTo": "Spanish,French",
"downloadLink": "https://example.com/media.mp3"
}'
# Usa l'"id" restituito da POST /api/v1/transcriptions:
curl -H "Authorization: Bearer YOUR_API_KEY" \
"$ORIGIN/api/v1/transcriptions/YOUR_TRANSCRIPTION_ID"