response = requests.post(
RUNPOD_ENDPOINT_URL,
json={
"input": {
"audio_base64": audio_base64,
"model": "large-v2",
"transcription": "plain_text",
"language": "en"
}
},
headers={
"Authorization": f"Bearer {RUNPOD_API_KEY}",
"Content-Type": "application/json"
},
timeout=300
)
response = requests.post(
RUNPOD_ENDPOINT_URL,
json={
"input": {
"audio_base64": audio_base64,
"model": "large-v2",
"transcription": "plain_text",
"language": "en"
}
},
headers={
"Authorization": f"Bearer {RUNPOD_API_KEY}",
"Content-Type": "application/json"
},
timeout=300
)