Create portrait series from single images using Flux Kontext Portrait Series and Replicate
Ready for 3.0What 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”.
- Set API Token (Edit Fields (Set)): sets 1 field: api_token
- Set Image Parameters (Edit Fields (Set)): sets 7 fields: api_token, background, num_images…
- Create Image Prediction (HTTP Request): calls api.replicate.com (POST)
- Log Request (Code): runs custom JavaScript code
- Wait: waits 5 seconds
- Check Status (HTTP Request): calls an HTTP API
- Is Complete? (If): checks a condition and branches into true / false
- Success Response (Edit Fields (Set)): sets 1 field: response
- Has Failed? (If): checks a condition and branches into true / false
- 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)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Code
n8n-nodes-base.code
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…