Files
9router/open-sse/providers/registry/comfyui.js
T
decoluaandCursor e53ce79abb refactor(open-sse): B1 consolidate media endpoint URLs into registry
- 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>
2026-06-14 13:58:12 +07:00

39 lines
677 B
JavaScript

export default {
"id": "comfyui",
"alias": "comfyui",
display: {
"name": "ComfyUI",
"icon": "account_tree",
"color": "#4CAF50",
"textIcon": "CF",
"website": "https://github.com/comfyanonymous/ComfyUI"
},
category: "apikey",
"transport": null,
media: {
serviceKinds: ["image"],
imageConfig: { baseUrl: "http://localhost:8188" }
},
"models": [
{
"id": "flux-dev",
"name": "FLUX Dev",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "sdxl",
"name": "SDXL",
"type": "image",
"params": [
"n",
"size"
]
}
]
};