Skip to main content
Version: v2

ComfyUI (Local)

Connect to a local ComfyUI instance for highly customizable node-based image generation.

  • Setup Requirements:
    • ComfyUI server must be running. CORS must be enabled, for example by starting with the --enable-cors-header flag. Load your desired workflow in ComfyUI and click "Save (API Format)". Paste the resulting JSON into this app's ComfyUI Workflow (JSON) field.
  • Workflow Placeholders: This app automatically replaces the following placeholders in the workflow JSON:
    • The string ##prompt## is replaced with the AI positive image prompt.
    • The string ##negative_prompt## is replaced with the AI negative image prompt.
    • The number 1234567890 is replaced with a random seed per generation. Ensure this number exists in the KSampler seed input.

Troubleshooting​

Local Server Not Working​

Try the Test Connection button to diagnose. "Blocked by CORS" is the most common issue. Ensure the server is started with the correct flag (e.g., --enable-cors-header for ComfyUI) and that the endpoint URL in this app is correct.