comfyui-mcp
Version:
Local-first, agent-native control plane for ComfyUI — MCP server + autonomous sidebar agent that drives your live graph in natural language on ANY LLM: Claude/ChatGPT/Gemini on your subscription (no API key), free local models via Ollama (fully offline),
10 lines • 344 B
JavaScript
export function arrayBufferToBase64(buffer) {
return Buffer.from(buffer).toString("base64");
}
export function base64ToDataUrl(base64, mime) {
return `data:${mime};base64,${base64}`;
}
export function arrayBufferToDataUrl(buffer, mime) {
return base64ToDataUrl(arrayBufferToBase64(buffer), mime);
}
//# sourceMappingURL=image.js.map