curl -X POST https://api.baseURL/transcribe/url \ -H "Content-Type: application/json" \ -H "x-api-key: tu-clave-aquí" \ -d '{ "audioUrl": "https://samedomain/recording.wav", "language": "es" }'
curl -X POST https://api.baseURL/transcribe/url \ -H "Content-Type: application/json" \ -H "x-api-key: tu-clave-aquí" \ -d '{ "audioUrl": "https://samedomain/recording.wav", "language": "es" }'
{ "transcript": "Hola, doctor. Tengo fuertes dolores de cabeza y fuertes dolores en la rodilla. Ayer me caí de la bicicleta: me subí a un árbol y acabé cayéndome a la acera. Bebí mucha agua, pero tomé mucho el sol."
}
{ "transcript": "Hola, doctor. Tengo fuertes dolores de cabeza y fuertes dolores en la rodilla. Ayer me caí de la bicicleta: me subí a un árbol y acabé cayéndome a la acera. Bebí mucha agua, pero tomé mucho el sol."
}
Response · 400
{ "type": "base_url/error/BadRequestException", "instance": "/transcribe/url", "title": "One or more inputs are invalid", "status": 400, "errors": [ { "field": "audioUrl", "message": "Audio must be public" } ]
}
Response · 403
{ "type": "Forbidden"
}
Response · 400
{ "type": "base_url/error/BadRequestException", "instance": "/transcribe/url", "title": "One or more inputs are invalid", "status": 400, "errors": [ { "field": "audioUrl", "message": "Audio must be public" } ]
}
Response · 403
{ "type": "Forbidden"
}