Templates / Create portrait series from single images using Flux Kontext Portrait Series and Replicate

Create portrait series from single images using Flux Kontext Portrait Series and Replicate

Ready for 3.0

by Yaron Been ✓ · 563 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-10-19.

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 Image Parameters (Edit Fields (Set)): sets 7 fields: api_token, background, num_images…
  3. Create Image 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 Flux Kontext Apps Portrait Series 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 image generation tasks…

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.