🛠️ Step 1: Start ComfyUI with Network Access
Launch ComfyUI with the--listen flag to allow external connections:
🎨 Step 2: Create and Test Your Workflow
Open ComfyUI in your browser and create a text-to-image workflow. Test it first — make sure it generates images successfully before proceeding.✏️ Step 3: Rename Your Prompt Node
This is the most important step. Presenton needs to know which node to inject the prompt into.- Find your prompt node (the node where you enter your text prompt)
- Right-click on it → Title
- Rename it to exactly “Input Prompt”
⚠️ Why is this required? When Presenton generates an image, it needs to replace the prompt text in your workflow. It searches for a node with the title “Input Prompt” to know exactly where to inject the prompt. Without this, Presenton cannot determine which text field to modify.
📦 Step 4: Export Workflow in API Format
- Click the gear icon (⚙️) in ComfyUI
- Enable “Enable Dev mode Options”
- Click on ComfyUI Logo at top left → File
- Click “Export (API)” — this downloads a JSON file
📝 Note: You must use “Export (API)”, not the regular “Save” button. The API format contains the node structure that Presenton needs.
⚙️ Step 5: Configure Presenton
- Go to Settings in Presenton
- Select “ComfyUI” as image provider
- Enter your ComfyUI Server URL
- Paste the workflow JSON content
- Save
Server URL
Enter the URL where your ComfyUI server is running:| Setup | URL Format | Example |
|---|---|---|
| Local ComfyUI | http://<YOUR_IP>:<PORT> | http://192.168.1.100:8188 |
| Deployed ComfyUI | Your deployment URL | https://comfyui.example.com |
💡 The default ComfyUI port is 8188. To find your IP address, runhostname -Ion Linux/Mac oripconfigon Windows.
Node Requirement
For Presenton to work with your workflow:| Requirement | Value |
|---|---|
| Node Title | ”Input Prompt” (case-insensitive) |
How It Works
- Presenton parses your workflow JSON
- It searches for a node where
_meta.titleequals “Input Prompt” - It replaces the
textinput with the generated prompt - The modified workflow is sent to ComfyUI for image generation
What the JSON Looks Like
Your exported workflow should have a node like this:"your placeholder text" with the actual prompt.
✅ Checklist
Before using ComfyUI with Presenton, verify:- ComfyUI is running with
--listen 0.0.0.0 - Your workflow generates images successfully when tested manually
- Your prompt node is renamed to “Input Prompt”
- You exported using “Export (API)”
- You can access ComfyUI from the URL you’re using