n8n Real Estate Video Automation With the PhotoAIVideo API

How do you make listing videos in n8n with the PhotoAIVideo API?

n8n has no PhotoAIVideo node, so you build the pipeline from HTTP Request nodes. A Webhook receives the listing's photo links, each photo is re-uploaded through a presigned URL because the API refuses external image URLs, every clip job is polled with Wait and If nodes, and a Code node merges 2–30 finished clips into a reel.

Last reviewed · By

For ops staff, listing coordinators and small teams on self-hosted or Cloud n8n who want to automate listing videos without code. Endpoints live on the Real Estate Video API hub; this is the no-code real estate video API route.

n8n pipeline at a glance

n8n listing-video workflow facts
Built forOps teams and coordinators running n8n (self-hosted or Cloud)
PhotoAIVideo node in n8nNone — generic HTTP Request node
AuthBearer auth credential (or Header auth: Authorization)
TriggerWebhook from your CRM/form, or a Schedule Trigger
Photo hand-offGET photo as File → PUT n8n Binary File to presignedUrl
StatusPoll — the docs document no callback
Cost1 credit per clip + 1 per reel; failures refunded
No-code alternativeAutomation Mode in the app

Which n8n nodes does the workflow use?

Twelve steps, webhook to reel. Each PhotoAIVideo call is an HTTP Request node on one shared credential.

n8n nodes in the listing-video workflow, their key settings and the PhotoAIVideo endpoint each calls
#n8n nodeSettings that matterPhotoAIVideo endpoint
1WebhookPOST; test URL first, production URL once it works—
2HTTP Request “Check credits” + IfBearer credential; stop if remainingCredits < photos + reelsGET /api/v1/credits
3HTTP Request “Get upload URLs”Query parameter count = number of photos (1–20)GET /api/v1/presigned-urls?count=
4Code “Pair photos”Upload slot i joined to photo i—
5HTTP Request “Download photo”GET; Response Format File, Put Output in Field data— (your photo host)
6HTTP Request “Upload photo”PUT; Body n8n Binary File, field data; Content-Type image/jpeg or image/pngpresignedUrl
7HTTP Request “Create clip”POST; Send Body → JSON → Using JSONPOST /api/v1/videos
8Wait + HTTP Request “Clip status” + IfAfter Time Interval; loop back until completed/failed; attempt capGET /api/v1/videos/:jobId
9Code “Order clips”Run Once for All Items; sort by photo position—
10HTTP Request “Merge reel”POST Using JSON; once per cutPOST /api/v1/reels
11Wait + HTTP Request “Reel status” + IfSame loop and cap as step 8GET /api/v1/reels/:jobId
12HTTP Request “Send link back”Post output_video_url or download_url to the CRM, a sheet or email— (your systems)

Is there a PhotoAIVideo node for n8n?

No. There is no official or community node, template or partnership. An n8n listing video workflow runs on the n8n HTTP Request node video API pattern, pointed at the REST endpoints under https://app.photoaivideo.com.

Save the key once. Copy it from the API dashboard, create a Bearer auth credential (or Header auth named Authorization with value Bearer plus the key) and pick it under Authentication on each API node. All keys on an account draw from one credit balance.

Want one-click videos with no trigger from your own systems? Use Automation Mode inside the app.

Why can't n8n pass the CRM's photo links straight to the API?

Those links point at the CRM's own servers, and the video endpoint only takes images stored with PhotoAIVideo. Each photo detours through four nodes first:

  1. Request upload slots in one call. GET /api/v1/presigned-urls?count=<photos> (1–20, free) returns a presignedUrl and publicUrl per slot.
  2. Pair slots with photos. A Code node joins slot i to photo i.
  3. Fetch the photo as a file. GET the link with Response Format File, output field data.
  4. PUT the bytes. PUT to presignedUrl as n8n Binary File (field data) with Content-Type image/jpeg or image/png; publicUrl becomes imageUrl.

Over 20 photos needs a second presigned call, though at about 5 seconds per photo, a dozen already fill a minute.

How do you configure the clip request without the cURL import breaking it?

Pasting the docs' curl into Import cURL backfires. n8n documents that the importer always brings values in as strings, so 5 arrives as "5", effects turn into text, and existing settings are overwritten. The API answers with a 400 listing the allowed values.

Set "Create clip" up by hand: POST to https://app.photoaivideo.com/api/v1/videos, Send Body on, JSON, Specify Body Using JSON, with expressions that keep numbers numeric:

{
  "prompt": "{{ $json.prompt }}",
  "imageUrl": "{{ $json.publicUrl }}",
  "effects": {{ JSON.stringify($json.effects) }},
  "duration": 5,
  "model": "hypernova"
}

effects holds codes from the 19 camera moves (push_in, orbit_left, crane_up and so on); duration is 4, 5 or 6. Acceptance costs 1 credit:

{"jobId":"…","status":"pending","model":"hypernova","creditsCharged":1}

Keep jobId on the item. No rate limit is documented, but Batching can still space out a large post.

How should the workflow wait for clips to finish?

Only polling is documented; nothing calls n8n back. The loop is a Wait (After Time Interval), a "Clip status" GET to /api/v1/videos/{{ $json.jobId }} and an If on status: completed continues, failed goes to an alert quoting error_message, anything else wires back to the Wait.

n8n warns that a loop whose stop condition never matches gets stuck. Add one to an attempts field each pass and route the item to the alert after about 20.

Waits under 65 seconds stay in memory; longer ones are offloaded to the database. Use 20–30 seconds for clips. Hypernova takes about 10 seconds of model time per clip, but queues vary.

Guard credits first. Straight after the trigger, GET /api/v1/credits and stop with an alert when remainingCredits is under photos plus reels, before a mid-run 402.

How do the clips become one reel in the right order?

Items run independently, so the kitchen may finish before the facade. A Code node in Run Once for All Items mode sorts the completed items by listing position into one videoJobIds array of 2–30, exterior first as the establishing shot. Failed photos just drop out.

Merge it twice. The MLS cut is landscape and unbranded: no logo, ending card or address, music off or one track. The social cut is portrait with the address textOverlay and an ending card. Each merge is 1 credit and reuses the clips.

{
  "videoJobIds": {{ JSON.stringify($json.orderedJobIds) }},
  "orientation": "landscape",
  "musicType": "no_music"
}

Poll GET /api/v1/reels/:jobId the same way, then send output_video_url or download_url to the CRM, a sheet or an email. Retention isn't documented, so keep your own MP4 copy.

What should happen when something fails?

A failed PhotoAIVideo job carries an error_message such as "The photo is too large. Use a photo of at most 6000 pixels on each side. The credit for this job was refunded." Forward it to a person.

A dead photo link, expired credential or CRM error stops the execution in n8n instead. Choose an error workflow under Workflow Settings → Error workflow; it starts with an Error Trigger.

Test with Listen for test event on the Webhook's test URL, then point the CRM at the production URL. The n8n webhook new listing trigger can also be a Schedule Trigger.

What does one listing look like end to end?

Illustrative example — not a real listing, CRM or customer. A 1940s Cape Cod with two dormer bedrooms; the form posts 11 photo links. A floor plan is filtered out, leaving 10. The guard needs 12 credits (10 clips, 2 reels), the balance covers it, and one count=10 call fetches upload URLs.

Ten jobs charge 10 credits. One dormer photo fails as too large, is refunded and alerts the coordinator. The other nine run front exterior, entry, living room with fireplace, dining, kitchen, first-floor bedroom, bath, dormer bedroom, backyard.

Credits for the illustrative Cape Cod listing across both runs
StepItemsCredits
Credit guard10 photos + 2 reels planned0 (needs 12)
Clip jobs accepted1010
Dormer photo fails (too large)1−1 refunded
MLS + social merges9 ids × 2 cuts2
First run, net9 clips, 2 reels11
Resized photo, one-photo run11
Re-merge both cuts10 ids × 2 cuts2
Listing total10 clips, 4 reels14

After a resize, the photo reruns alone and both cuts re-merge with 10 ids. Real renders: examples; plans: pricing.

What stays outside PhotoAIVideo

n8n downloads photos, filters floor plans and private shots, sets order and moves, stores job ids and copies the MP4. The API only makes clips and reels and reports status.

Frequently Asked Questions

No. Call the REST API from n8n's built-in HTTP Request node with a Bearer credential.

No. Re-upload each photo through a presigned URL and pass its publicUrl.

Under 65 seconds stays in memory, which suits clips; longer pauses are offloaded. Cap the checks either way.

No callback is documented, so the workflow polls for status.

No. It's refunded automatically, and error_message gives the reason.

Not for one-off videos; Automation Mode in the app does it in one click. n8n suits runs your own systems start.

Run one listing through n8n

Grab a key, wire the test webhook and watch a single listing reach both cuts before you switch on the production URL.

Sources

n8n is a trademark of its owner; PhotoAIVideo isn't affiliated with or endorsed by n8n.