AI Voice for Real Estate: Virtual Property Tours
Why Voice Matters in Virtual Property Tours When a potential buyer scrolls through a listing, photos and floor plans can only tell part of the story. A warm, informative voice‑over can guide them through the layout, highlight unique features, and create an emotional connection—all without a live ag

When a potential buyer scrolls through a listing, photos and floor plans can only tell part of the story. A warm, informative voice‑over can guide them through the layout, highlight unique features, and create an emotional connection—all without a live agent on the line.
With modern text‑to‑speech (TTS) and voice‑cloning tech, developers can generate high‑quality narrations at scale, turning static photo galleries into immersive, audio‑enhanced experiences. The result? Longer session times, higher engagement, and a smoother path from curiosity to closing.
Below we’ll walk through a minimal, end‑to‑end example that ties these pieces together. By the end you’ll have a working endpoint that takes a JSON payload describing a property and returns an MP3 narration ready to be stitched into a virtual tour.
First, we need a concise yet compelling description. You can hard‑code this for a demo, but in production you’ll likely pull data from a CMS or MLS feed.
# script_generator.py import os import openai openai. api_key = os. getenv ( "OPENAI_API_KEY" ) def build_prompt ( property_data: dict ) -> str: return f """ You are a friendly real‑estate narrator. Write a 90‑second tour script for a property with the following details: - Address: {property_data["address"]} - Type: {property_data["type"]} - Bedrooms/Bathrooms: {property_data["beds"]} bed / {property_data["baths"]} bath - Square footage: {property_data["sqft"]} sqft - Key features: {", ".join(property_data["features"])} - Neighborhood highlights: {property_data["neighborhood"]} Use a conversational tone, mention the view from the living room, and end with a call‑to‑action to schedule a showing. """ def generate_script ( property_data: dict ) -> str: response = openai.
ChatCompletion. create ( model = "gpt-4o-mini", messages = [ { "role": "user", "content": build_prompt ( property_data ) } ], temperature = 0.7, ) return response. choices [ 0 ]. message. content. strip ( ) Enter fullscreen mode Exit fullscreen mode Tip: Cache the generated script for each listing to avoid hitting the LLM on every request.
ElevenLabs offers a simple REST API that delivers studio‑grade TTS and voice cloning. Sign up using the affiliate link below to get free credits and a generous quota for testing.
# Save your ElevenLabs API key in an env var export ELEVENLABS_API_KEY = "your_api_key_here" Enter fullscreen mode Exit fullscreen mode # voice_synthesizer.py import requests import os ELEVEN_API_URL = "https://api.elevenlabs.io/v1/text-to-speech" VOICE_ID = "21m00Tcm4TlvDq8ikWAM" # Example “Rachel” voice; replace with your cloned voice ID def synthesize ( text: str, output_path: str = "tour.mp3" ): headers = { "xi-api-key": os. getenv ( "ELEVENLABS_API_KEY" ), "Content-Type": "application/json", } payload = { "text": text, "voice_settings": { "stability": 0.75, "similarity_boost": 0.85 }, "model_id": "eleven_monolingual_v1", "voice_id": VOICE_ID, } response = requests. post ( f "{ELEVEN_API_URL}/{VOICE_ID}", json = payload, headers = headers ) response. raise_for_status ( ) with open ( output_path, "wb" ) as f: f. write ( response. content ) print ( f "Saved narration to {output_path}" ) Enter fullscreen mode Exit fullscreen mode You can also call the same endpoint with curl if you prefer a quick test:
curl -X POST "https://api.elevenlabs.io/v1/text-to-speech/21m00Tcm4TlvDq8ikWAM" \ -H "xi-api-key: $ELEVENLABS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "Welcome to 123 Maple Street, a bright three‑bedroom home with a spacious open‑plan kitchen...", "voice_settings": {"stability":0.75,"similarity_boost":0.85}, "model_id":"eleven_monolingual_v1" }' \ --output tour.mp3 Enter fullscreen mode Exit fullscreen mode Why ElevenLabs? Their neural TTS produces natural prosody and supports custom voice cloning, so you can keep a consistent brand voice across all listings. Grab your free starter credits at the affiliate link: https://try.elevenlabs.io/kr07zfuqn1bp
Now we’ll expose a tiny FastAPI endpoint that ties script generation and voice synthesis together. The endpoint returns a pre‑signed URL to the MP3 stored in an S3 bucket (or any object storage you prefer).
# main.py import uuid import boto3 from fastapi import FastAPI, HTTPException from script_generator import generate_script from voice_synthesizer import synthesize app = FastAPI ( ) s3 = boto3. client ( "s3" ) BUCKET = "real-estate-tours" @app. post ( "/api/tour-narration" ) async def create_narration ( property: dict ): # 1️⃣ Build script script = generate_script ( property ) # 2️⃣ Synthesize speech filename = f "{uuid.uuid4()}.mp3" synthesize ( script, output_path = filename ) # 3️⃣ Upload to S3 try: s3. upload_file ( filename, BUCKET, filename, ExtraArgs = { "ContentType": "audio/mpeg" } ) except Exception as e: raise HTTPException ( status_code = 500, detail = str ( e ) ) # 4️⃣ Return a public URL (or signed URL for security) url = f "https://{BUCKET}.s3.amazonaws.com/{filename}" return { "audio_url": url, "script": script } Enter fullscreen mode Exit fullscreen mode Deploy this to a serverless platform (AWS Lambda + API Gateway, Vercel, or Render) and you’ll have a scalable service that can generate a fresh narration for any listing on demand.
If you already have a WebGL‑based virtual tour, adding the narration is just a matter of loading the MP3 and syncing it with camera movements.
// tour-player.js (simplified) const audio = new Audio ( narrationUrl ); audio. controls = true; // optional UI // Assume you have a Three.js scene with a camera path let tourProgress = 0; // 0 to 1 function updateTour ( delta ) { tourProgress = Math. min ( 1, tourProgress + delta ); // move camera along a spline based on tourProgress... } // Start audio when the tour begins document. getElementById ( "startBtn" ). addEventListener ( "click", ( ) => { audio. play ( ); // start your render loop... } ); Enter fullscreen mode Exit fullscreen mode When the user clicks “Start Tour,” the voice will guide them through each room, pointing out the vaulted ceiling, the granite countertops, or the nearby park—exactly the kind of detail that static photos can’t convey.
If you want your agency’s voice instead of a generic TTS voice, ElevenLabs lets you upload a few minutes of clean audio and create a custom model. The workflow is:
Now every property tour sounds like it’s narrated by the same friendly agent—perfect for brand recall.
A pilot with a mid‑size brokerage showed a 27% increase in average time spent on a listing page after adding AI‑generated voice tours. Buyers reported feeling “more confident” because the narration highlighted practical details (e.g., “the master bathroom has a double‑vanity”) that they might have missed in photos alone.
Building an AI voice for real‑estate tours is a blend of data handling, LLM prompting, and high‑quality TTS. With just a few lines of Python and a few seconds of ElevenLabs credits, you can turn any static listing into an engaging, audio‑rich experience that helps buyers visualize their future home.
Ready to give your property tours a voice? Jump in, try the ElevenLabs API, and start experimenting with custom voice clones. The link below gives you instant access to free credits and a developer‑friendly dashboard:
Try ElevenLabs today: https://try.elevenlabs.io/kr07zfuqn1bp
Happy coding, and may your tours be ever‑so‑smooth!