> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# APIType

Type of API used for the generation

## Example Usage

```python theme={null}
from openrouter.components import APIType

# Open enum: unrecognized values are captured as UnrecognizedStr
value: APIType = "completions"
```

## Values

This is an open enum. Unrecognized values will not fail type checks.

* `"completions"`
* `"embeddings"`
* `"rerank"`
* `"tts"`
* `"stt"`
* `"video"`
* `"image"`
