NeuroViz
Integration Guide

n8n Integration Guide: Automate NeuroViz with n8n Workflows

This guide shows you how to connect the NeuroViz AI jewelry photography API to n8n workflow automation so you can automatically retouch every new product photo, run entire catalogs overnight, or generate virtual try-on images for new listings — with no coding required. Every step is shown with screenshots, code samples, and troubleshooting tips.

30 min readBeginner levelUpdated

In short

  • n8n is a visual, no-code workflow automation tool. Connecting it to the NeuroViz API lets you process product photos automatically — no custom development required.
  • You will need a NeuroViz Pro Plus or Agency subscription (for API access), an n8n instance (Cloud or self-hosted), and a publicly accessible product image URL.
  • Authenticate every request with an Authorization: Bearer YOUR_API_KEY header, stored once as a Header Auth credential in n8n.
  • The recommended production pattern is to submit a photo to POST /api/v1/run and receive the result via webhook. Polling with GET /api/v1/runs/{run_id} is an alternative when webhooks are not an option.

01What Is n8n

And why it pairs perfectly with NeuroViz

n8n (pronounced “n-eight-n”) is a visual workflow automation tool. You drag nodes onto a canvas, connect them, and data flows from one node to the next — no traditional coding required.

Pairing n8n with the NeuroViz API lets you:

  • Automatically retouch every new product photo uploaded to Google Drive or Shopify
  • Process an entire catalog of images overnight
  • Generate virtual try-on images for every new jewelry listing
  • Deliver finished images to your email, Slack, or cloud storage
  • Build a hands-off pipeline from raw phone photo to published listing

How the Integration Works

n8n sends your product photo to the NeuroViz API, NeuroViz processes it with AI, and the finished image comes back:

Trigger
New photo / schedule / manual
HTTP Request
POST /api/v1/run
NeuroViz AI
Processes image (10-60s)
Webhook / Poll
Receive finished image URL

02What You Need Before You Start

Three things — takes 10 minutes to set up

A

NeuroViz Account with API Access

API access requires a Pro Plus or Agency plan. Sign up at app.neuroviz.ai and upgrade. You also need credits — the same credits used on the web platform. See the full API documentation for endpoint reference.

B

n8n Instance

Use n8n Cloud (easiest — includes a public URL for webhooks) or self-host n8n on your own server. This guide works with both.

C

A Product Image URL

The NeuroViz API accepts images via URL. Your image needs to be hosted somewhere publicly accessible — Google Drive (with sharing on), Dropbox, S3, your Shopify CDN, or any direct image link.

Tip
If you only have local files, upload them to a free service like Imgur to get a direct URL for testing.

03Get Your NeuroViz API Key

Takes about 2 minutes

Step 1

Log In

Go to app.neuroviz.ai and sign in.

Step 2

Navigate to API

In the left sidebar, click API.

Step 3

Create a New Key

Click Create New Key. Copy and save it immediately — you will not see the full key again after this screen.

Warning
Keep your API key secret. Never share it publicly, commit it to GitHub, or paste it into client-side code. If a key is ever exposed, delete it from the API portal and create a new one.

04Create a NeuroViz Credential in n8n

Store your API key securely so you never paste it into nodes

Step 1

Open Credentials

Go to Settings (gear icon), click Credentials, then Add Credential.

Step 2

Select Header Auth

Search for Header Auth and select it.

Step 3

Fill In the Fields

Set exactly these three fields:

FieldValue
NameNeuroViz API (any name you like)
Header NameAuthorization
Header ValueBearer YOUR_API_KEY_HERE
Important
Include the word Bearer followed by a space before your key. Full value looks like Bearer nv_live_a1b2c3...

Click Save. You can now select this credential in any HTTP Request node.

05Workflow 1 — Submit a Photo

Your first working NeuroViz automation

Workflow 1 submits a single product photo to the NeuroViz API via an HTTP Request node. The node returns a run_id that uniquely identifies the generation job.

Manual Trigger
Click to run
HTTP Request
POST /api/v1/run
Next node
Output / download

Configure the HTTP Request Node

SettingValue
MethodPOST
URLhttps://app.neuroviz.ai/api/v1/run
AuthenticationPredefined Credential Type → Header Auth → “NeuroViz API”
Body Content TypeJSON
Specify BodyUsing JSON

Set the JSON Body

This example uses Jewelry Retoucher Pro V5 (20 credits). Replace app_id and image_input with your own values.

JSON Body
{
  "app_id": "YOUR_APP_ID_HERE",
  "parameters": {
    "image_input": "https://example.com/your-jewelry-photo.jpg"
  },
  "webhook_url": "https://your-n8n.app.n8n.cloud/webhook/neuroviz-result"
}
Tip
How to find the app_id: visit the NeuroViz API documentation, click “Available Apps,” then “View Details” on the app you want. Or call GET /api/v1/apps (no authentication required).

Run and Check the Response

Click Test Workflow. A successful submission returns:

Response (200 OK)
{
  "run_id": "abc123-def456-ghi789"
}

That run_id is your receipt. Processing takes 10 to 60 seconds depending on the app and input size.

Error Reference

CodeMeaningFix
401Invalid or missing API keyCheck credential — Bearer with a space before the key.
400Bad request / missing fieldsVerify JSON has app_id, parameters, webhook_url.
402Insufficient creditsPurchase more at app.neuroviz.ai.

06Workflow 2 — Receive Results via Webhook

The recommended approach for production

Workflow 2 catches the result of a generation when NeuroViz finishes processing. When a run completes, NeuroViz sends a POST request to your webhook_url — no polling, no delays.

NeuroViz
Processing complete
Webhook
Receives POST
IF Node
Branch on status
Download / Alert
Store or notify
Step 1

Add a Webhook Trigger Node

Create a new workflow. Add a Webhook node with:

  • HTTP Method: POST
  • Path: neuroviz-result
  • Respond: Immediately

n8n generates a public URL like:

Production Webhook URL
https://your-n8n.app.n8n.cloud/webhook/neuroviz-result

Use this as the webhook_url in your submission request in Workflow 1.

Step 2

Understand the Payload

Success payload:

Success Payload
{
  "run_id": "abc123-def456-ghi789",
  "status": "SUCCESS",
  "output_url": "https://cdn.neuroviz.ai/outputs/result.png",
  "thumbnail": "https://cdn.neuroviz.ai/outputs/result_thumb.png"
}

Failure payload:

Failure Payload
{
  "run_id": "abc123-def456-ghi789",
  "status": "FAILURE",
  "error": "Invalid image URL or image could not be downloaded"
}
Step 3

Add an IF Node

Condition: {{ $json.body.status }} equals SUCCESS. The true branch downloads the image; the false branch alerts you.

Step 4

Download the Result Image

On the success branch, add an HTTP Request node:

  • Method: GET
  • URL: {{ $json.body.output_url }}
  • Response Format: File

Pass the downloaded file to Google Drive, S3, email, Slack, or wherever you need it.

Step 5

Publish the Workflow

Click Publish in the top right. Production webhooks only fire when the workflow is published and active.

Warning
Self-hosted n8n: your server must be publicly accessible. NeuroViz cannot reach localhost or private IPs. n8n Cloud handles this automatically.

07Workflow 3 — Poll for Results

An alternative if you cannot receive webhooks

Workflow 3 polls the NeuroViz API for a completed run instead of waiting for a webhook. Use this when your n8n instance cannot expose a public webhook URL.

Submit Photo
POST /run
Wait 30s
Check Status
GET /runs/{id}
IF: Done?
Loop if not
Step 1

Submit the Image

Same as Workflow 1. You can omit the webhook_url field entirely.

Step 2

Wait 30 Seconds

Add a Wait node to give NeuroViz time to process before the first status check.

Step 3

Check Run Status

  • Method: GET
  • URL: https://app.neuroviz.ai/api/v1/runs/{{ $('Submit Photo').item.json.run_id }}

Status will be IN_QUEUE, IN_PROGRESS, SUCCESS, or FAILED.

Step 4

Branch on Status

If SUCCESS, download from output_url. Otherwise loop back to the Wait node. Stop after 10 attempts to avoid infinite loops.

Tip
URL expiration: the output_url expires after 15 minutes. Use GET /api/v1/runs/{run_id}/download to get a fresh signed link.

08Workflow 4 — Batch Process Multiple Images

Process your entire catalog automatically

Workflow 4 reads a spreadsheet of product image URLs and submits each one to NeuroViz. This is how you retouch an entire catalog in a single run.

Spreadsheet
Google Sheets / CSV
Loop
1 row at a time
HTTP Request
Per-row image_url
Wait
2-5 sec delay
Step 1

Prepare Your Image List

Create a Google Sheet or CSV with columns product_name and image_url.

Step 2

Read the Spreadsheet

Use a Google Sheets or Spreadsheet File node.

Step 3

Loop Through Each Row

Add Loop Over Items with batch size 1.

Step 4

Submit Each Image

Reference the row data in the JSON body:

JSON Body with Dynamic URL
{
  "app_id": "YOUR_APP_ID",
  "parameters": {
    "image_input": "{{ $json.image_url }}"
  },
  "webhook_url": "https://your-n8n.app.n8n.cloud/webhook/neuroviz-result"
}
Step 5

Add a Delay

A Wait node set to 2-5 seconds after each submission prevents rate limiting.

Tip
Large batches: use the webhook approach (Workflow 2) to collect results. Submit all images quickly and let NeuroViz send results back asynchronously.

09Bonus — Check Your Credit Balance

Prevent failed batch runs

The credit balance endpoint returns your current credit total. Use it before a batch run to make sure you have enough.

SettingValue
MethodGET
URLhttps://app.neuroviz.ai/api/v1/balance
AuthenticationYour NeuroViz API credential
Response
{
  "total_credits": 1234,
  "subscription_credits": 1000,
  "other_credits": 234,
  "subscription": "Pro",
  "credits_expire": "2027-04-04T00:00:00Z"
}

Add an IF node after this call: if total_credits is less than what your batch needs, stop the workflow and alert yourself. You can top up credits at app.neuroviz.aisee pricing.

10Available Apps and Credit Costs

Updated from the live platform — April 2026

The tables below list every AI app you can call through the NeuroViz API, grouped by category. Credit costs are current as of April 2026 — for the authoritative live list, see the full API documentation under “Available Apps.”

Retouching

AppCreditsNotes
Jewelry Retoucher Pro V520Latest generation. Recommended starting point.
Jewelry Retoucher Pro V4 (High Fidelity)20High fidelity with fine control parameters.
Jewelry Retoucher Pro V2 Heavy25Maximum processing for complex pieces.
Jewelry Retoucher Pro Hi-Res15High-resolution output focus.
Hi-End Jewelry Retoucher Pro (Batch)20Batch-optimized retouching.
Jewelry Retoucher Precise V510Fast, precise, fewer parameters. Best value.
Jewelry Retoucher Precise V48Lowest credit cost available.

Virtual Try-On

AppCreditsNotes
Rings Virtual Try-On20Rings on model hands.
Earrings Try-On V220Earrings on model ears (latest).
Earrings Virtual Try-On20Alternative with batch support.
Necklace and Pendant Try-On20Necklaces on model necks.
Necklace and Pendant Try-On V225Latest version, improved accuracy.
Bracelet Virtual Try-On20Bracelets on model wrists.
Watch Virtual Try-On20Watches on model wrists.
Combo Virtual Try-On (Jewelry)20Multiple pieces in one shot.

Creative Photography

AppCreditsNotes
Creative Jewelry Photographer V220Lifestyle jewelry scenes.
Creative Jewelry Photographer V120Original creative jewelry app.
Creative Photographer V320General product creative photography.
Creative Photographer V215Previous version, lower cost.
Jewelry Modifier Pro20Modify jewelry designs.
Jewelry Design Visualizer15Visualize design concepts.
Jewelry Design Visualizer V225Enhanced visualization.

E-Commerce and Fashion

AppCreditsNotes
AI Retoucher Pro for Amazon/E-comm15Optimized for marketplace listings.
Fashion Model Studio20Show clothing on AI models.
Product + Model Studio20Product with model in context.
AI Photo Editor Pro V215General retouching with instructions.
Object Remover10Remove unwanted objects.

Video

AppCreditsNotes
Product Video Creator605-second product video from a still.
Scene Video Creator80Scene-based product videos.
Tip
Call GET https://app.neuroviz.ai/api/v1/apps (no authentication required) to fetch the full list of available apps with their parameters programmatically.

11Troubleshooting Common Issues

Quick fixes for the most common problems

Step 1

“401 Unauthorized”

  • Header Name must be Authorization (capital A)
  • Header Value must start with Bearer (capital B, followed by a single space)
  • No accidental extra spaces, tabs, or line breaks
Step 2

“400 Bad Request”

  • Missing app_id, parameters, or webhook_url
  • Image URL is a preview page, not the raw file
  • JSON syntax error (missing quotes, trailing comma)
Step 3

Webhook Never Fires

  • Is the receiver workflow published (active)?
  • Are you using the Production URL, not the Test URL?
  • Self-hosted: is your server publicly reachable from the internet?
Step 4

“402 Payment Required”

Not enough credits. Check with GET /api/v1/balance or buy more at app.neuroviz.ai.

Step 5

Image URL Not Working

Paste the URL in your browser — you should see the image directly, not an HTML page.

  • Google Drive: use https://drive.google.com/uc?id=FILE_ID
  • Dropbox: change ?dl=0 to ?dl=1
Step 6

n8n Cloud Webhook Timeout

n8n Cloud has a 100-second execution timeout. NeuroViz fires the webhook after processing completes, so this is rarely an issue. Keep any post-processing logic (downloads, notifications) under 100 seconds total.

12Next Steps and Resources

Keep building

Once the basic submit/receive pattern is working, try these:

  • Shopify integration: detect new products, retouch through NeuroViz, upload the results back to the listing automatically.
  • Google Drive pipeline: watch a folder for new uploads. Any photo gets retouched and saved to an “Output” folder.
  • Email delivery: send finished before/after images to your client or team the moment they are ready.
  • Slack notifications: get a thumbnail preview every time a generation completes or fails.
  • Scheduled batch runs: set a cron trigger to process new products overnight.

Links

ResourceURL
NeuroViz API Docsneuroviz.ai/api-docs
NeuroViz Dashboardapp.neuroviz.ai
n8n Documentationdocs.n8n.io
n8n HTTP Request Noden8n HTTP Request Docs
n8n Webhook Noden8n Webhook Docs
NeuroViz Supportadmin@neuroviz.ai

Ready to automate your product photography?

Create your NeuroViz account, upgrade to Pro Plus or Agency, and follow Workflow 1 above. You can have your first automated generation running in under 30 minutes.

Last updated · NeuroViz Corp · AI Product Imaging Infrastructure