import type { Provider } from "./types.js"; /** * ComfyUI provider — talks to a user-owned Modal / Runpod / fly.io / self-host * deployment over HTTP. We intentionally don't bundle the workflow JSON: the * user picks a workflow that matches their routing needs (SDXL, Flux, Flux+LoRA) * and exposes it at a stable URL. * * Endpoint contract: * POST $PROMPT_TO_BUNDLE_MODAL_COMFYUI_URL * body: { prompt, negative_prompt?, width, height, seed, model, lora?, * lora_strength?, reference_images?, sampler_steps? } * response 200: { image_base64, format: "png"|"webp"|"jpeg", seed, * native_rgba?: boolean, raw_response?: any } * response !200: plain text error body (will be surfaced as ProviderError) * * Why this exists: Phase-4 research * (docs/research/23-combinations/09-comfyui-native.md, * docs/research/21-oss-deep-dive/18-serverless-comfyui-patterns.md). * ComfyUI is the only route that unlocks brand LoRA / full-custom workflows * without paying per-image. Break-even vs. Flux Pro API is ~200 images/day. */ export declare const ComfyUiProvider: Provider; //# sourceMappingURL=comfyui.d.ts.map