client.CreateTranscription(...)
示例
关键参数
model(必填):支持转录的模型 ID。file(必填):音频数据(流或文件)。language:语言代码提示(例如en)。prompt:用于提高准确度的可选上下文。temperature(0–2):采样随机度。response_format:json、text、srt、verbose_json等。
返回值
AudioTranscriptionResponseDocumentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
使用 C# SDK 调用 /audio/transcriptions。
client.CreateTranscription(...)
using PhaseoSdk;
var client = new Phaseo(apiKey);
var response = await client.CreateTranscription(new Dictionary<string, object>
{
["model"] = "openai/gpt-4o-transcribe",
["audio_b64"] = "base64-audio",
["language"] = "en"
});
model(必填):支持转录的模型 ID。file(必填):音频数据(流或文件)。language:语言代码提示(例如 en)。prompt:用于提高准确度的可选上下文。temperature(0–2):采样随机度。response_format:json、text、srt、verbose_json 等。AudioTranscriptionResponse