Esnek parametreler
file, language, prompt, response_format, stream dahil 7 belgelenmiş parametreyi yapılandırın.
Altyazı ve zaman damgası çıktılı esnek ses transkripsiyonu
curl -X POST https://runapi.ai/v1/audio/transcriptions \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "whisper-1",
"audio_url": "https://cdn.runapi.ai/public/samples/voice.mp3"
}'
import { OpenaiTranscriptionClient } from "@runapi.ai/openai-transcription";
const client = new OpenaiTranscriptionClient();
const result = await client.speechToText.run({
model: "whisper-1",
audio_url: "https://cdn.runapi.ai/public/samples/voice.mp3",
});
import os
import requests
response = requests.post(
"https://runapi.ai/v1/audio/transcriptions",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"whisper-1","audio_url":"https://cdn.runapi.ai/public/samples/voice.mp3"}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/v1/audio/transcriptions");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'whisper-1',
'audio_url' => 'https://cdn.runapi.ai/public/samples/voice.mp3',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.speechToText().run({"model":"whisper-1","audio_url":"https://cdn.runapi.ai/public/samples/voice.mp3"});
task.waitForResult();
require "runapi/openai_transcription"
client = RunApi::OpenaiTranscription::Client.new
result = client.speech_to_text.run(
model: "whisper-1",
audio_url: "https://cdn.runapi.ai/public/samples/voice.mp3"
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.speechToText.Run({"model":"whisper-1","audio_url":"https://cdn.runapi.ai/public/samples/voice.mp3"})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model whisper-1 \
--endpoint speech_to_text \
--wait
2 varyant mevcut
Herhangi bir modeli seçin ve saniyeler içinde oluşturun.
| Sağlayıcı | OpenAI |
| Model kimliği | whisper-1 |
| Modality | Audio & Music |
| Görev türleri | Synchronous |
| API uç noktası | /v1/audio/transcriptions |
| Faturalandırma birimi | minute |
| Girdi parametreleri | file, language, model, prompt, response_format, stream, temperature, timestamp_granularities |
| Katalog durumu | Operasyonel |
Ücretsiz kaydolun ve kontrol panelinden whisper-1 için bir API anahtarı oluşturun.
whisper-1 model kimliği ve parametrelerinizle /v1/audio/transcriptions adresine POST isteği gönderin.
Tamamlanan whisper-1 yanıtını uç noktadan doğrudan okuyun.
file, language, prompt, response_format, stream dahil 7 belgelenmiş parametreyi yapılandırın.
1 genel endpoint sunar: speech_to_text.
Abonelik gerektirmeksizin minute ile ölçülür.
fileAudio file upload, up to 25 MB.
promptOptional text that guides transcription style and vocabulary.
streamWhether to request a streamed response when supported.
languageAudio language as an ISO-639-1 code.
temperatureSampling temperature from 0 to 1.
response_formatResponse body format. (json, text, srt, verbose_json, vtt)
timestamp_granularitiesTimestamp detail included with verbose JSON responses.
Bölümün ruh haline uygun, telifsiz arka plan müziği üretin; lisans ücreti ödemeyin.
Procedurally generated seviyeler için uyarlanabilir ambiyans ses manzaraları ve efektler üretin.
Müşteri spotları için stüdyo gerektirmeden özel seslendirmeler ve ses efektleri üretin.
Quickstart'ta gösterilen model ID'sini gönderin.
Anahtar bazlı hız limitleri kullanım kademesine göre ölçeklenir. Güncel limitler için fiyatlandırma sayfasına bakın.
Evet — varyant bir bayraktır. model parametresini değiştirerek geçiş yapın.
Streaming उपलब्ध olduğunda RunAPI uçtan uca stream eder.
Herkese açık GitHub reposunda bir issue açın veya desteğe e-posta gönderin.
Kurumsal kurulum, entegrasyonlar ve teknik sorular konusunda yardımcı oluruz.
İletişime geçin