This workflow connects n8n → Replicate API to generate 3D-like outputs using the ndreca/hunyuan3d-2.1-test model. It handles everything: sending the request, waiting for processing, checking status, and returning results.
1️⃣ On Clicking “Execute”
2️⃣ Set API Key
💡 Beginner Benefit
3️⃣ Create Prediction (HTTP Request)
What it does: Sends a POST request to Replicate’s API with:
70d0d816...ae75f)steps, seed, generate_texture, remove_backgroundWhy it’s useful: This kicks off the AI generation job on Replicate’s servers.
4️⃣ Extract Prediction ID (Code)
💡 Beginner Benefit
5️⃣ Wait (2s)
6️⃣ Check Prediction Status (HTTP Request)
7️⃣ Check If Complete (IF Node)
What it does:
status = succeeded → process results.💡 Beginner Benefit
8️⃣ Process Result (Code)
What it does: Extracts:
statusoutput (final generated file/URL)metrics (performance stats)created_at, completed_at)Why it’s useful: Packages the response neatly for storage, email, or sending elsewhere.
💡 Beginner Benefit
| Section | What happens | Key Nodes | Benefit |
|---|---|---|---|
| ⚡ Trigger & Setup | Start workflow + set API key | Manual Trigger, Set | Easy one-click start |
| 🤖 Send Job | Send input & get prediction ID | Create Prediction, Extract ID | Launches AI generation |
| ⏳ Poll Until Complete | Waits + checks status until ready | Wait, Check Status, IF | Automated loop, no manual refresh |
| 📦 Process Result | Collects output & metrics | Process Result | Clean result for next steps |
✅ Fully automates Replicate model runs
✅ Handles waiting, retries, and completion checks
✅ Clean final output with status + metrics
✅ Beginner-friendly — just add API key + input image
✅ Extensible: connect results to Google Sheets, Gmail, Slack, or databases
✨ In short: This is a no-code AI image-to-3D content generator powered by Replicate and automated by n8n.


