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

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?

How the Luma API and the PhotoAIVideo API compare
AspectLuma API (Ray 3.2)PhotoAIVideo API
What it isGeneral model: text or image to video, extend, reframe, edit [LU1] [LU5]Listing-photo clips and reels
Photo intakeurl, 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
MotionPrompt text (1–6,000 characters), optional keyframes [LU1]effects codes plus a prompt
Images per clip1–64 keyframes, or start_frame / end_frame [LU1]imageUrl, optional endImageUrl
Clip length5 s or 10 s [LU1]4, 5 or 6 s
Resolution & ratio360p–1080p; 9:16, 3:4, 1:1, 4:3, 16:9, 21:9 [LU1]Reels at 1920×1080 or 1080×1920
OutputMP4 behind a presigned URL valid 1 hour [LU3]Hosted video_url and download_url
Reel assemblyNot stated in the Luma docs we readPOST /api/v1/reels, 2–30 clips
Music, text, logoNot stated in the Luma docs we readmusicType, textOverlay, ending card, logo
Cancel a jobNo cancel endpoint; 1-hour active-job TTL [LU3]Not documented
FailuresModerated, failed and output_not_found refunded [LU3]Failed jobs refunded automatically
Billing unitCredits per generation by resolution and duration [LU2]1 credit per clip, 1 per reel
SDKsPython, 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?

Ray 3.2 credits per generation, per Luma's API pricing guide, November 26, 2026
Resolution5 s10 sHDR, 5 s
360p2060—
540p50150—
720p100300200
1080p4001,200800

“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?

Luma caps POST /v1/generations by requests per sliding 60-second window and by concurrent jobs, set per plan. Excess requests get HTTP 429, unqueued; polls don't count, and 2–5 s polling is advised [LU4]. PhotoAIVideo publishes no tier table; check the API docs.

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 API and Luma API key facts
PhotoAIVideo clip length4, 5 or 6 s
PhotoAIVideo frames per clipFirst + optional last, same room
PhotoAIVideo camera codes19
PhotoAIVideo reel mergeUp to 30 clips plus music, address, end card and logo
Luma images per clipUp to 64 keyframes
Luma output linksPresigned, 1 hour

Frequently Asked Questions

For room-by-room reels from photos, yes. For text-to-video, HDR or keyframe choreography, Luma fits better.

Yes, via video.start_frame and video.end_frame, except on 10-second clips.

Its legacy Ray models retire on each account's notice date; migrate to ray-3.2 on the Agents API.

Not stated in the Luma docs we read; expect to stitch clips yourself.

Luma refunds moderated, failed and output_not_found jobs; PhotoAIVideo refunds failed jobs automatically.

Try one same-room pair first

Two overlapping kitchen photos, one truck_left job.

Sources