> ## 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.

# STT (Speech to Text)

> Call /audio/transcriptions with the Java SDK.

**Method**: `client.createTranscription(...)`

```java theme={null}
import ai.stats.sdk.AIStats;

AIStats client = new AIStats(System.getenv("AI_STATS_API_KEY"));

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

Object response = client.createTranscription(body);
System.out.println(String.valueOf(response));
```
