Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt

Use this file to discover all available pages before exploring further.

Method: client.CreateTranslation(...)

Example

using AiStatsSdk;

var client = new AIStats(apiKey);
var response = await client.CreateTranslation(new Dictionary<string, object>
{
    ["model"] = "openai/gpt-4o-transcribe",
    ["audio_b64"] = "base64-audio"
});

Key parameters

  • model (required): Translation-capable model id.
  • file (required): Audio data to translate.
  • prompt: Optional context to guide translation.
  • temperature (0–2): Sampling randomness.
  • response_format: json, text, srt, verbose_json, etc.

Returns

AudioTranscriptionResponse
Last modified on May 6, 2026