Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Type of API used for the generation

Example Usage

import { ApiType } from "@openrouter/sdk/models";

let value: ApiType = "tts";

// Open enum: unrecognized values are captured as Unrecognized<string>

Values

"completions" | "embeddings" | "rerank" | "tts" | "stt" | "video" | "image" | Unrecognized<string>