mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
- image/embed/tts/search base URLs derive from media.*Config.baseUrl / searchViaChat.endpoint (single source); handlers read PROVIDER_MEDIA. - ~18 hardcoded endpoints moved: bfl/fal/stability/runway/hf/gemini/ cloudflare/recraft/sdwebui/comfyui/nanobanana image, voyage embed, gemini/openrouter tts, chatSearch endpoints. - Byte-identical: PROVIDERS 62 + alias 90 baselines, image buildUrl outputs. Co-authored-by: Cursor <cursoragent@cursor.com>
39 lines
746 B
JavaScript
39 lines
746 B
JavaScript
|
|
export default {
|
|
"id": "sdwebui",
|
|
"alias": "sdwebui",
|
|
display: {
|
|
"name": "SD WebUI",
|
|
"icon": "brush",
|
|
"color": "#FF7043",
|
|
"textIcon": "SD",
|
|
"website": "https://github.com/AUTOMATIC1111/stable-diffusion-webui"
|
|
},
|
|
category: "apikey",
|
|
"transport": null,
|
|
media: {
|
|
serviceKinds: ["image"],
|
|
imageConfig: { baseUrl: "http://localhost:7860/sdapi/v1/txt2img" }
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "stable-diffusion-v1-5",
|
|
"name": "Stable Diffusion v1.5",
|
|
"type": "image",
|
|
"params": [
|
|
"n",
|
|
"size"
|
|
]
|
|
},
|
|
{
|
|
"id": "sdxl-base-1.0",
|
|
"name": "SDXL Base 1.0",
|
|
"type": "image",
|
|
"params": [
|
|
"n",
|
|
"size"
|
|
]
|
|
}
|
|
]
|
|
};
|