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