Real Estate Video API for FSBO Listing Platforms
How does an FSBO listing platform add video through an API?
An FSBO platform using the PhotoAIVideo API converts each seller photo to JPEG or PNG under 6000 px, uploads it through a presigned URL, and turns it into a 4–6 second clip with POST /api/v1/videos for 1 credit, refunded if the job fails. It then merges an unbranded MLS reel and a branded share reel from those same clips.
Last reviewed · By Zach Calhoon, Founder
Endpoints live on the Real Estate Video API overview. This page is for teams building a video api for FSBO websites, where the homeowner uploads the photos and signs off on the ad.
Key facts for FSBO platform teams
| Built for | FSBO and flat-fee listing platform teams |
|---|---|
| Photo source | The homeowner's own uploads |
| Accepted input | JPEG or PNG, ≤ 6000 px a side, uploaded to PhotoAIVideo storage |
| Clip | 4–6 s per photo, 19 camera-movement codes |
| Failures | Credit refunded automatically, reason in error_message |
| Cuts | Unbranded MLS reel + branded share reel from the same job ids |
| Price change | Re-merge with a new overlay — 1 credit |
| Approval | Seller previews and approves before publishing |
Why do seller phone photos need converting before upload?
Upload slots accept only image/jpeg or image/png, and a job fails when either side of the photo exceeds 6000 px. Apple's support page says iPhone 7 and later can capture photos in HEIF and calls that format the recommended one, so many seller camera rolls arrive as .heic files.
Fix this on your server, not in the browser: decode each HEIF file, write a JPEG or PNG copy for the API, and keep the original in your own storage. Check every file's dimensions, JPEGs included, and scale a long side above 6000 px down before the PUT. That one step turns heic to jpg listing photos and oversize exports into usable input.
The upload form can add a tip for sellers: on an iPhone, Settings > Camera > Formats > Most Compatible saves new photos as JPEG. Treat it as a convenience; server-side conversion is what keeps the pipeline dependable.
How does the platform send photos to the video API?
Each imageUrl must live on PhotoAIVideo storage; links into your own bucket are refused, so converted files go up through presigned slots first.
Convert and resize on your server
Write a JPEG or PNG copy of each HEIF upload, keep the original, and scale any long side over 6000 px down.
Request upload slots
Call GET /api/v1/presigned-urls with count 1–20; slots cost no credits.
PUT the converted bytes
Upload each file with Content-Type image/jpeg or image/png and store the returned publicUrl.
Create a clip per photo and poll it
POST /api/v1/videos with the publicUrl as imageUrl, then poll GET /api/v1/videos/:jobId until completed or failed.
A clip request for the kitchen photo, placeholders in angle brackets:
POST /api/v1/videos
{
"prompt": "slow push in toward the kitchen island",
"imageUrl": "<publicUrl of the converted kitchen photo>",
"effects": ["push_in"],
"duration": 5,
"model": "hypernova"
}A finished job exposes a video_url that plays in the browser and a download_url for the same file; record its job id next to the source photo.
What should the seller see when a photo fails?
Some owner-uploaded listing photos won't make it through: a job can fail content checks, prove unreadable or time out. The credit returns to the account by itself, and error_message, null on success, names the cause.
Show that result beside the one photo it concerns and let the rest of the video carry on, rather than failing the whole reel.
| error_message (paraphrased) | What the seller sees | What the platform does |
|---|---|---|
| Photo or prompt didn't pass content checks | “This photo can't be used. Try a different shot of this room.” | Flag that thumbnail only; keep every other clip and resubmit after the swap |
| Photo too large (over 6000 px on a side) | None — the seller shouldn't see this one | Your resize step missed it: shrink the file and resubmit automatically |
| Photo couldn't be read | “This file didn't open. Please upload it again.” | Request a fresh slot, PUT the new upload and retry |
| Took too long and was stopped | “One clip is still being made.” | Resubmit the same publicUrl without asking the seller |
| Couldn't be generated | “Try another photo of this space.” | Offer the swap, then submit the replacement as a new job |
Refunds cover failed jobs only. A clip that completes but the seller dislikes is still charged.
Should the seller approve the video before it goes live?
Yes. Here the homeowner is the one placing the ad, so nothing should publish until they have watched it. Play the reel's video_url beside Approve and Change photos buttons, and save the approval with a timestamp on the listing. Change photos returns the seller to the grid with existing job ids kept.
Add one upload checkbox confirming the seller took the photos or may use them; pictures copied from an earlier MLS listing of the house may belong to someone else, as can agents turn listing photos into AI video explains. This and the broker note below are practical suggestions, not legal advice.
How do the MLS cut and the share cut differ?
When a flat-fee model enters the home into an MLS, that flat-fee MLS listing video must be unbranded: no logo, contact details, platform name or closing card with a phone number. The on-platform version can carry your logo, a price overlay and an ending card. Both are merged with POST /api/v1/reels from the same job ids, 1 credit each, with no new clips.
| Cut | Orientation | Logo | Text overlay | Ending card | Where it goes |
|---|---|---|---|---|---|
| MLS cut | Landscape 1920x1080 | None | None | None — no phone number, email or platform name | The MLS entry, placed by the seller's broker in a flat-fee model |
| Share cut | Portrait 1080x1920 (landscape for the listing page) | Platform logo | Price and bed/bath line | Closing card pointing buyers back to the platform | Your listing page and the seller's own social posts |
If a licensed broker places the MLS entry, that cut is part of the broker's advertising; managing broker review of agent AI listing videos covers that check.
What happens to the video when the seller changes the price?
Sellers on these platforms adjust their asking price, and a reel showing the old figure works against them. Since textOverlay is applied at merge time, a new price is one more reel call with the stored job ids: 1 credit, no clip regenerated.
So store an ordered list of completed job ids per listing, not just the MP4 URL. If that mapping is lost, GET /api/v1/videos?limit=20&offset=0 lists the key's jobs, newest first. Credits are pooled across the account's keys; check GET /api/v1/credits before a batch, since a 402 means the balance is short. Plans are on pricing.
What does one FSBO listing cost in credits?
Illustrative example — not a real seller, platform or listing
A homeowner uploads 9 photos of a 3-bed house: front exterior, living room, kitchen, dining, primary bedroom, primary bath, second bedroom, backyard and street view. Seven are HEIF and one is wider than 6000 px, so the platform converts and resizes them, then submits 9 clip jobs. The backyard clip fails its content check and is refunded; the seller's replacement photo uses 1 new credit.
The for sale by owner listing video then ships as three reels: (a) a landscape MLS cut with no logo, overlay, ending card or music; (b) a portrait share cut of 6 clips with a 5-second price overlay, the logo at scale 12 and the card “For sale by owner · Tour by appointment”; (c) two weeks later, reel (b) re-merged with the lower price.
| Item | Detail | Credits |
|---|---|---|
| Clip jobs submitted | 9 photos + 1 replacement backyard photo | 10 |
| Refunded failure | Backyard clip, content check | −1 |
| Reel (a) MLS cut | All 9 clips, landscape, unbranded | 1 |
| Reel (b) share cut | 6 clips, portrait, logo and price overlay | 1 |
| Reel (c) price change | Reel (b)'s 6 ids with the new price | 1 |
| Net total | 9 net clip credits + 3 reels | 12 |
| If each cut regenerated its clips | 9 + 6 + 6 clips + 3 reels = 24 | 24 |
The merge request for reel (b):
POST /api/v1/reels
{
"videoJobIds": [
"<front-exterior>", "<living-room>", "<kitchen>",
"<primary-bedroom>", "<backyard-replacement>", "<street-view>"
],
"orientation": "portrait",
"musicType": "lofi",
"textOverlay": {
"text": "<price> · 3 bed · 2 bath",
"fontSize": 48,
"duration": 5
},
"ending": {
"text": "For sale by owner · Tour by appointment",
"backgroundColor": "#111827",
"duration": 3
},
"logo": { "url": "<publicUrl of the platform logo PNG>", "scale": 12 }
}For finished renders from this photo to video API, see the example videos.
What the API doesn't do
It won't convert HEIF or resize images. It doesn't host the listing, publish to an MLS or portal, or write the description; your platform keeps the MP4 or its URL. And there is no seller-approval step; that lives in your product.
Frequently Asked Questions
Turn one seller's photos into a reel
Create a key and merge both cuts from one set of clips.
Sources
- PhotoAIVideo API reference(opens in a new tab) — Upload types, presigned URLs, clip and reel parameters, failures, refunds and credits. Accessed November 26, 2026.
- Apple Support: Using HEIF or HEVC media on Apple devices(opens in a new tab) — HEIF capture on iPhone, the Most Compatible setting and exporting to JPEG or PNG. Accessed November 26, 2026.