PhotoAIVideo API vs Luma API for Real Estate
PhotoAIVideo API or Luma API for listing videos?
Each PhotoAIVideo API call turns one listing photo, or two overlapping photos of the same room as first and last frame, into a 4–6 second clip with one of 19 named camera moves; a reel call merges up to 30 clips. Luma's Ray 3.2 API is a general video model that can pin up to 64 images in one clip, billed in credits per clip by resolution and duration.
Last reviewed · By Zach Calhoon, Founder
For developers choosing a real estate video API. Comparing consumer apps instead? See best photo-to-video AI.
Should you pin several listing photos inside one Luma clip?
Ray 3.2 takes 1–64 keyframes placed by keyframe_indexes on a 24 fps grid (0–120 for 5 s, 0–240 for 10 s); “the model interpolates between the frames you pin.” Keyframes exclude start_frame, end_frame and loop [LU1]. Between two different rooms, every frame is invented.
Two photos of the same room that overlap give the model real pixels at both ends; two different rooms leave it to guess. One clip per room, cut together, keeps the video a true picture of the home.
Illustrative: 9-photo two-story townhouse — exterior, entry, living, kitchen ×2 (opposite island ends), dining nook, primary bed, primary bath, patio
- A · 1 generation, 10 s
Luma, multi-keyframe
All 9 photos pinned at indexes 0, 30, 60 … 240.
Every transition is generated: living room to bedroom crosses a staircase no photo shows.
- B · 8 generations
Luma, one clip per room
Kitchen pair as start_frame + end_frame on a 5 s clip (10 s won't take them).
True rooms; your code stitches, brands and hosts the reel.
- C · 8 clip jobs + 2 reels
PhotoAIVideo
Kitchen pair as imageUrl + endImageUrl on truck_left; patio orbit_left; exterior aerial_drone.
POST /api/v1/reels returns the reel; a logo-free second call makes the MLS cut.
Luma: kitchen pair, path B
POST https://agents.lumalabs.ai/v1/generations
Authorization: Bearer $LUMA_AGENTS_API_KEY
{
"model": "ray-3.2",
"type": "video",
"prompt": "slow sideways move along the kitchen island",
"aspect_ratio": "16:9",
"video": {
"resolution": "1080p",
"duration": "5s",
"start_frame": { "url": "https://<your-storage>/kitchen-east.jpg" },
"end_frame": { "url": "https://<your-storage>/kitchen-west.jpg" }
}
}PhotoAIVideo: kitchen pair, path C
POST https://app.photoaivideo.com/api/v1/videos
Authorization: Bearer <API_KEY>
{
"prompt": "slow sideways move along the kitchen island",
"imageUrl": "<publicUrl of kitchen-east.jpg>",
"endImageUrl": "<publicUrl of kitchen-west.jpg>",
"effects": ["truck_left"],
"duration": 5,
"model": "hypernova"
}Shooting the pair: start and end frame AI video. Checking results: why AI video warps rooms.
Which Luma API are you actually on — Dream Machine or Ray 3.2?
Older code calls api.lumalabs.ai/dream-machine/v1/generations with ray-2 or ray-flash-2 and frame0/frame1 keyframes; those docs now point to the Luma Agents API [LU7]. Ray 3, Ray 2, Ray 2 Flash, Ray 2 Relaxed, Ray 3 Reference and Ray 3 Refiner are retiring: “use ray-3.2 on the wire,” legacy identifiers are refused, and the cutoff is your deprecation notice's date [LU5].
Pin the model id, keep the old route only until cutover, re-test motion first. PhotoAIVideo's model takes only hypernova; each job records it.
Where do Luma and PhotoAIVideo differ, row by row?
| Aspect | Luma API (Ray 3.2) | PhotoAIVideo API |
|---|---|---|
| What it is | General model: text or image to video, extend, reframe, edit [LU1] [LU5] | Listing-photo clips and reels |
| Photo intake | url, base64 or file_id; ≤50 MB, ≤8000 px; JPEG, PNG, WebP, still GIF [LU1] [LU3] [LU6] | Presigned upload, our storage only; JPEG/PNG ≤6000 px |
| Motion | Prompt text (1–6,000 characters), optional keyframes [LU1] | effects codes plus a prompt |
| Images per clip | 1–64 keyframes, or start_frame / end_frame [LU1] | imageUrl, optional endImageUrl |
| Clip length | 5 s or 10 s [LU1] | 4, 5 or 6 s |
| Resolution & ratio | 360p–1080p; 9:16, 3:4, 1:1, 4:3, 16:9, 21:9 [LU1] | Reels at 1920×1080 or 1080×1920 |
| Output | MP4 behind a presigned URL valid 1 hour [LU3] | Hosted video_url and download_url |
| Reel assembly | Not stated in the Luma docs we read | POST /api/v1/reels, 2–30 clips |
| Music, text, logo | Not stated in the Luma docs we read | musicType, textOverlay, ending card, logo |
| Cancel a job | No cancel endpoint; 1-hour active-job TTL [LU3] | Not documented |
| Failures | Moderated, failed and output_not_found refunded [LU3] | Failed jobs refunded automatically |
| Billing unit | Credits per generation by resolution and duration [LU2] | 1 credit per clip, 1 per reel |
| SDKs | Python, TypeScript, Go [LU1] | REST; Python quickstart |
How long do output links last, and who hosts the video?
Luma's MP4 sits behind a presigned URL valid one hour; each GET /v1/generations/{id} mints a fresh one. Luma advises copying it to your storage promptly and not handing those URLs to end users [LU3]. PhotoAIVideo returns a hosted file: video_url plays inline, download_url downloads, and reels are hosted MP4s too.
What does a clip cost in credits on each side?
| Resolution | 5 s | 10 s | HDR, 5 s |
|---|---|---|---|
| 360p | 20 | 60 | — |
| 540p | 50 | 150 | — |
| 720p | 100 | 300 | 200 |
| 1080p | 400 | 1,200 | 800 |
“The dollar value of a credit depends on your account's plan or contract,” so no dollar figure appears here; Luma also offers Provisioned Throughput [LU2]. At 1080p, townhouse path B costs 8 × 400 = 3,200 Luma credits before stitching and hosting; path A costs 1,200.
Path C: 8 clips + 1 reel + 1 MLS re-merge = 10 PhotoAIVideo credits, a different unit, so compare dollars on each vendor's pricing page.
What happens to credits when a generation fails or is moderated?
On Luma, synchronous errors are never charged; asynchronous content_moderated, generation_failed and output_not_found are refunded, and budget_exhausted can leave a partial charge [LU3].
PhotoAIVideo refunds a failed job automatically; error_message names the cause: content checks, photo over 6000 px, unreadable photo, timeout or generation failure. Zero balance returns 402.
How do rate limits work?
Which should a proptech team build on?
Choose the Luma API if…
- You need text-to-video, keyframes, extend, reframe or edit.
- HDR, EXR or 21:9 output matters.
- You already run storage and assembly.
Choose the PhotoAIVideo API if…
- You want room-by-room clips with named camera moves.
- Same-room frames, hosted output and reel merges save you building them.
- Per-clip refunds suit your batches.
Use both if…
- A Luma intro opens a brand ad.
- PhotoAIVideo makes the listing reel.
Your code calls each service; no integration exists between them. Keep the intro out of the unbranded MLS cut.
Which facts decide it?
| PhotoAIVideo clip length | 4, 5 or 6 s |
|---|---|
| PhotoAIVideo frames per clip | First + optional last, same room |
| PhotoAIVideo camera codes | 19 |
| PhotoAIVideo reel merge | Up to 30 clips plus music, address, end card and logo |
| Luma images per clip | Up to 64 keyframes |
| Luma output links | Presigned, 1 hour |
Frequently Asked Questions
Try one same-room pair first
Two overlapping kitchen photos, one truck_left job.
Sources
- [LU1] Luma Agents API: Video generation
- [LU2] Luma Agents API: Pricing
- [LU3] Luma Agents API: FAQ
- [LU4] Luma Agents API: Rate limits
- [LU5] Luma Agents API: Video migration
- [LU6] Luma Agents API: Files
- [LU7] Legacy Dream Machine API: Video generation
- PhotoAIVideo API docs
Luma pages accessed November 26, 2026.
Luma, Dream Machine and Ray are names of Luma AI, Inc.; PhotoAIVideo is not affiliated with it.