๐ŸŽฌ Generate images with realistic inpainting using Simbrams Ri AI

โšก 985 views ยท ๐ŸŽฌ Content Creation & Video

Description

Generate Images with Realistic Inpainting using Simbrams Ri AI

This n8n workflow integrates with Replicateโ€™s simbrams/ri model to generate images. It takes an input image and mask, applies transformations based on your parameters, and returns the final generated output automatically.


๐Ÿ“Œ Section 1: Trigger & Authentication

โšก On Clicking โ€˜Executeโ€™ (Manual Trigger)

๐Ÿ”‘ Set API Key (Set Node)


๐Ÿ“Œ Section 2: Sending the Image Generation Request

๐Ÿ–ผ๏ธ Create Prediction (HTTP Request Node)

๐Ÿ†” Extract Prediction ID (Code Node)


๐Ÿ“Œ Section 3: Polling & Waiting

โณ Wait (Wait Node)

๐Ÿ”„ Check Prediction Status (HTTP Request Node)

โœ… Check If Complete (If Node)


๐Ÿ“Œ Section 4: Processing the Result

๐Ÿ“ฆ Process Result (Code Node)


๐Ÿ“Š Workflow Overview Table

SectionNode NamePurpose
1. Trigger & AuthOn Clicking โ€˜Executeโ€™Starts the workflow manually
Set API KeyStores API credentials
2. AI RequestCreate PredictionSends image generation request
Extract Prediction IDExtracts ID + status for tracking
3. PollingWaitAdds delay between checks
Check Prediction StatusMonitors job progress
Check If CompleteRoutes based on job completion
4. ResultProcess ResultExtracts and cleans the final output

๐ŸŽฏ Key Benefits


๐Ÿ”— Nodes Used

HTTP Request

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup