curl --request POST \
--url https://api.dedaluslabs.ai/v1/audio/transcriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'model=<string>' \
--form 'language=<string>' \
--form 'prompt=<string>' \
--form 'response_format=<string>' \
--form temperature=123{
"language": "<string>",
"duration": 123,
"text": "<string>",
"words": [
{
"word": "<string>",
"start": 123,
"end": 123
}
],
"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
}
],
"usage": {
"type": "<string>",
"seconds": 123
}
}curl --request POST \
--url https://api.dedaluslabs.ai/v1/audio/transcriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'model=<string>' \
--form 'language=<string>' \
--form 'prompt=<string>' \
--form 'response_format=<string>' \
--form temperature=123{
"language": "<string>",
"duration": 123,
"text": "<string>",
"words": [
{
"word": "<string>",
"start": 123,
"end": 123
}
],
"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
}
],
"usage": {
"type": "<string>",
"seconds": 123
}
}curl -X POST https://api.dedaluslabs.ai/v1/audio/transcriptions \
-H "Authorization: Bearer YOUR_API_KEY" \
-F file="@audio.mp3" \
-F model="openai/whisper-1"
Bearer टोकन के माध्यम से API कुंजी का प्रमाणीकरण
सफल प्रतिक्रिया
दिए गए इनपुट के लिए model द्वारा लौटाए गए विस्तृत JSON transcription response का प्रतिनिधित्व करता है।
फ़ील्ड्स:
इनपुट ऑडियो की भाषा।
इनपुट ऑडियो की कुल अवधि।
लिखित रूप में बदला (ट्रांसक्राइब किया गया) टेक्स्ट।
निकाले गए शब्द और उनके संबंधित टाइमस्टैम्प।
Show child attributes
ट्रांसक्राइब किए गए पाठ के खंड और उनके संबंधित विवरण।
Show child attributes
ऑडियो इनपुट की अवधि के आधार पर बिल होने वाले models के लिए उपयोग आँकड़े।
Show child attributes
Was this page helpful?