mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
9 lines
326 B
JavaScript
9 lines
326 B
JavaScript
// ComfyUI — local, noAuth (placeholder; full graph workflow not implemented)
|
|
export default {
|
|
noAuth: true,
|
|
buildUrl: () => "http://localhost:8188",
|
|
buildHeaders: () => ({ "Content-Type": "application/json" }),
|
|
buildBody: (_model, body) => ({ prompt: body.prompt }),
|
|
normalize: (responseBody) => responseBody,
|
|
};
|