mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
- Single-source registry: oauth clientId/tokenUrl, usage URLs, image/embed configs, search defaultModel, codex fixedPort, google token url derive. - Remove 29 unused OmniRoute providers (registry 100→71); media intact. - De-adhoc: codex literals → registry format/oauth flags; reasoningInject, image/embed openrouter headers + xai bodyFields config-driven. - Add REGISTRY_TEMPLATE.js + expand PROVIDER_DEFAULTS/schema JSDoc. - Baselines updated; PROVIDERS 62 + alias 90 byte-for-byte, golden snapshots. Co-authored-by: Cursor <cursoragent@cursor.com>
52 lines
1.0 KiB
JavaScript
52 lines
1.0 KiB
JavaScript
|
|
export default {
|
|
"id": "huggingface",
|
|
"alias": "huggingface",
|
|
display: {
|
|
"name": "HuggingFace",
|
|
"icon": "face",
|
|
"color": "#FFD21E",
|
|
"textIcon": "HF",
|
|
"website": "https://huggingface.co",
|
|
"notice": {
|
|
"apiKeyUrl": "https://huggingface.co/settings/tokens"
|
|
}
|
|
},
|
|
category: "apikey",
|
|
uiAlias: "hf",
|
|
authType: "apikey",
|
|
hiddenKinds: ["tts"],
|
|
aliases: ["hf"],
|
|
"transport": null,
|
|
"models": [
|
|
{
|
|
"id": "black-forest-labs/FLUX.1-schnell",
|
|
"name": "FLUX.1 Schnell",
|
|
"type": "image",
|
|
"params": []
|
|
},
|
|
{
|
|
"id": "stabilityai/stable-diffusion-xl-base-1.0",
|
|
"name": "SDXL Base 1.0",
|
|
"type": "image",
|
|
"params": []
|
|
},
|
|
{
|
|
"id": "openai/whisper-large-v3",
|
|
"name": "Whisper Large v3 (HF)",
|
|
"type": "stt",
|
|
"params": [
|
|
"language"
|
|
]
|
|
},
|
|
{
|
|
"id": "openai/whisper-small",
|
|
"name": "Whisper Small (HF)",
|
|
"type": "stt",
|
|
"params": [
|
|
"language"
|
|
]
|
|
}
|
|
]
|
|
};
|