Skip to main content
Method: Operations.createTranslation(...)
import ai.stats.gen.Operations;

String body = """
{
  "model": "openai/whisper-1",
  "file": "data:audio/mpeg;base64,..."
}
""";

Object response = Operations.createTranslation(client, null, null, null, body);
System.out.println(String.valueOf(response));
Last modified on March 16, 2026