Skip to main content
Method: client.CreateTranscription(...)

Example

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"
});

Key parameters

  • model (required): Transcription-capable model id.
  • file (required): Audio data (stream or file).
  • language: Hint language code (e.g., en).
  • prompt: Optional context to improve accuracy.
  • temperature (0–2): Sampling randomness.
  • response_format: json, text, srt, verbose_json, etc.

Returns

AudioTranscriptionResponse
Last modified on July 9, 2026