Templates / Run ComfyUI image generation workflows through Replicate API

Run ComfyUI image generation workflows through Replicate API

Ready for 3.0

by Yaron Been ✓ · 6,474 views · created 2025-08-02 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 13 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls api.replicate.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set API Token (Edit Fields (Set)): sets 1 field: api_token
  2. Set Other Parameters (Edit Fields (Set)): sets 8 fields: api_token, input_file, output_format…
  3. Create Other Prediction (HTTP Request): calls api.replicate.com (POST)
  4. Log Request (Code): runs custom JavaScript code
  5. Wait: waits 5 seconds
  6. Check Status (HTTP Request): calls an HTTP API
  7. Is Complete? (If): checks a condition and branches into true / false
  8. Success Response (Edit Fields (Set)): sets 1 field: response
  9. Has Failed? (If): checks a condition and branches into true / false
  10. Display Result (Edit Fields (Set)): sets 1 field: final_result

…plus 2 more steps. See the full node list below.

HTTP calls to: api.replicate.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

This workflow provides automated access to the Fofr Any Comfyui Workflow AI model through the Replicate API. It saves you time by eliminating the need to manually interact with AI models and provides a seamless integration for other generation tasks within…

Excerpt from Yaron Been's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.