curl --request POST \
--url https://api.dedaluslabs.ai/v1/audio/translations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'model=<string>' \
--form 'prompt=<string>' \
--form 'response_format=<string>' \
--form temperature=123{
"language": "<string>",
"duration": 123,
"text": "<string>",
"segments": [
{
"id": 123,
"seek": 123,
"start": 123,
"end": 123,
"text": "<string>",
"tokens": [
123
],
"temperature": 123,
"avg_logprob": 123,
"compression_ratio": 123,
"no_speech_prob": 123
}
]
}curl --request POST \
--url https://api.dedaluslabs.ai/v1/audio/translations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'model=<string>' \
--form 'prompt=<string>' \
--form 'response_format=<string>' \
--form temperature=123{
"language": "<string>",
"duration": 123,
"text": "<string>",
"segments": [
{
"id": 123,
"seek": 123,
"start": 123,
"end": 123,
"text": "<string>",
"tokens": [
123
],
"temperature": 123,
"avg_logprob": 123,
"compression_ratio": 123,
"no_speech_prob": 123
}
]
}curl -X POST https://api.dedaluslabs.ai/v1/audio/translations \
-H "Authorization: Bearer YOUR_API_KEY" \
-F file="@audio.mp3" \
-F model="openai/whisper-1"
Bearer टोकन के माध्यम से API कुंजी का प्रमाणीकरण
सफल प्रतिक्रिया
फ़ील्ड्स:
Was this page helpful?