The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ResponseInputAudio } from "@openrouter/sdk/models";
let value: ResponseInputAudio = {
type: "input_audio",
inputAudio: {
data: "SGVsbG8gV29ybGQ=",
format: "mp3",
},
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | ”input_audio” | :heavy_check_mark: | N/A |
inputAudio | models.ResponseInputAudioInputAudio | :heavy_check_mark: | N/A |