client.CreateTranslation(...)
例
主なパラメーター
model(必須):翻訳に対応するモデルのID。file(必須):翻訳する音声データ。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/translationsを呼び出します。
client.CreateTranslation(...)
using PhaseoSdk;
var client = new Phaseo(apiKey);
var response = await client.CreateTranslation(new Dictionary<string, object>
{
["model"] = "openai/gpt-4o-transcribe",
["audio_b64"] = "base64-audio"
});
model(必須):翻訳に対応するモデルのID。file(必須):翻訳する音声データ。prompt:翻訳の参考となる任意のコンテキスト。temperature(0~2):サンプリングのランダム性。response_format:json、text、srt、verbose_jsonなど。AudioTranscriptionResponse