12 lines
635 B
TOML
12 lines
635 B
TOML
name = "Xiaomi"
|
|
# Raw endpoints are POST https://api.xiaomimimo.com/v1/chat/completions and
|
|
# POST https://api.xiaomimimo.com/anthropic/v1/messages. Both use
|
|
# thinking.type="enabled"|"disabled". Flash defaults disabled; V2.5 Pro,
|
|
# V2.5, V2 Pro, and V2 Omni default enabled; TTS models do not support it.
|
|
# https://platform.xiaomimimo.com/static/docs/api/chat/openai-api.md (accessed 2026-06-25)
|
|
# https://platform.xiaomimimo.com/static/docs/api/chat/anthropic-api.md (accessed 2026-06-25)
|
|
env = ["XIAOMI_API_KEY"]
|
|
npm = "@ai-sdk/openai-compatible"
|
|
api = "https://api.xiaomimimo.com/v1"
|
|
doc = "https://platform.xiaomimimo.com/#/docs"
|