{
  "openapi": "3.0.1",
  "info": {
    "title": "Real Estate Listing to Video — Vertical Reels & TikTok MP4",
    "description": "Turn any real estate listing URL (Zillow, SeLoger, Realtor, Immobiliare, Funda, Rightmove), structured JSON, or Apify dataset into a 9:16 vertical MP4 video (1080x1920) with Ken Burns motion, lower-third property badge, hook script, and SRT captions.",
    "version": "0.1",
    "x-build-id": "dSPwS17pSnPuvK64l"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~real-estate-listing-to-video/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-real-estate-listing-to-video",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/memo23~real-estate-listing-to-video/runs": {
      "post": {
        "operationId": "runs-sync-memo23-real-estate-listing-to-video",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/memo23~real-estate-listing-to-video/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-real-estate-listing-to-video",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "renderMode": {
            "title": "Render Mode & Pricing",
            "enum": [
              "standard",
              "pro",
              "script_only"
            ],
            "type": "string",
            "description": "Choose how each real estate listing is turned into short-form video content. Standard renders 100% locally via FFmpeg (zero external API keys). Pro adds spoken AI voiceover narration mixed directly into FFmpeg via unlimited Neural TTS (zero keys required, or optional OpenAI TTS / BYOK Renderly). Script & Storyboard Only skips MP4 encoding.",
            "default": "standard"
          },
          "listingUrls": {
            "title": "Listing URLs",
            "type": "array",
            "description": "Paste one or more property listing URLs (Zillow, SeLoger, Realtor.com, Immobiliare.it, Funda, Rightmove, or any generic property page with JSON-LD / OpenGraph metadata).",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Apify Dataset ID (from Real Estate Scraper)",
            "type": "string",
            "description": "Optional Apify Dataset ID from an existing scraper run (auto-maps fields from memo23's SeLoger, Zillow, Realtor, Immobiliare, Funda, and Rightmove scrapers)."
          },
          "listings": {
            "title": "Structured Listing JSON Array",
            "type": "array",
            "description": "Optional array of structured property listing objects (`title`, `price`, `city`, `bedrooms`, `bathrooms`, `area`, `photos[]`, `url`, `currency`, `propertyType`, `agencyName`). Ideal for Make/n8n/Zapier automations."
          },
          "language": {
            "title": "Script & Caption Language",
            "enum": [
              "auto",
              "en",
              "fr",
              "de",
              "it",
              "es",
              "nl"
            ],
            "type": "string",
            "description": "Language for the hook, voiceover script, lower-third specs labels, hashtags, and SRT captions. `auto` detects from the listing domain, currency, and text (falls back to English).",
            "default": "auto"
          },
          "maxVideos": {
            "title": "Max Listings / Videos per Run",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of listings to process in this run. Also strictly bounded by your run's Maximum cost per run (`maxTotalChargeUsd`).",
            "default": 10
          },
          "maxPhotosPerVideo": {
            "title": "Max Photos per Video",
            "minimum": 1,
            "maximum": 6,
            "type": "integer",
            "description": "Maximum number of listing photos downloaded and stitched into each 9:16 vertical video (1–6, default 6).",
            "default": 6
          },
          "secondsPerPhoto": {
            "title": "Seconds per Photo Slide",
            "minimum": 2,
            "maximum": 8,
            "type": "number",
            "description": "Display duration for each photo with Ken Burns zoom/pan motion (2 to 8 seconds, default 3.5s → ~21s for 6 photos).",
            "default": 3.5
          },
          "fps": {
            "title": "Video Frame Rate (FPS)",
            "minimum": 24,
            "maximum": 30,
            "type": "integer",
            "description": "Output frame rate for FFmpeg rendering (24 or 30 fps, default 30).",
            "default": 30
          },
          "includeCaptions": {
            "title": "Burn Captions onto Video",
            "type": "boolean",
            "description": "Overlay timed hook and scene caption cards on the rendered MP4 video. The downloadable `.srt` subtitle file is always generated.",
            "default": true
          },
          "brandName": {
            "title": "Agency / Brand Name (optional)",
            "type": "string",
            "description": "Optional brokerage, agent, or brand name shown on the closing call-to-action card."
          },
          "callToAction": {
            "title": "Custom Call-to-Action (optional)",
            "type": "string",
            "description": "Optional closing CTA line (e.g., `DM \"TOUR\" to book a private viewing`). Defaults to a localized CTA when left blank."
          },
          "accentColor": {
            "title": "Badge Accent Color (Hex)",
            "type": "string",
            "description": "Hex accent color used for the lower-third highlight bar and price badge (e.g., `#0EA5E9`, `#10B981`, `#F59E0B`).",
            "default": "#0EA5E9"
          },
          "ttsProvider": {
            "title": "AI Voice Engine (Pro Mode)",
            "enum": [
              "auto",
              "edge-tts",
              "openai",
              "renderly"
            ],
            "type": "string",
            "description": "Voice engine used in Pro mode. `auto` (default) uses unlimited built-in Neural Edge-TTS (zero API key required, with automatic OpenAI fallback if configured) — or selects Renderly if you supply `renderlyApiKey`.",
            "default": "auto"
          },
          "voiceId": {
            "title": "Narrator Voice Preset (Pro Mode)",
            "type": "string",
            "description": "Optional voice preset (`andrew`, `aria`, `jenny`, `guy`, `nova`, `onyx`, `alloy`, or an explicit Edge-TTS voice like `fr-FR-HenriNeural`). Automatically picks a native voice for the listing language when left blank."
          },
          "openaiApiKey": {
            "title": "OpenAI API Key (optional BYOK for OpenAI TTS)",
            "type": "string",
            "description": "Optional OpenAI API key to use OpenAI TTS (`tts-1`) in Pro mode instead of the built-in free Neural TTS."
          },
          "renderlyApiKey": {
            "title": "Renderly API Key (optional BYOK)",
            "type": "string",
            "description": "Optional Bring-Your-Own-Key for Renderly (`Pro` mode). Leave empty to use built-in unlimited Neural TTS + FFmpeg rendering."
          },
          "renderlyTemplateId": {
            "title": "Renderly Template ID (optional)",
            "type": "string",
            "description": "Optional Renderly template ID when using BYOK Renderly."
          },
          "renderlyVoiceId": {
            "title": "Legacy Voice ID Alias (optional)",
            "type": "string",
            "description": "Optional fallback alias for `voiceId` when using Pro mode."
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (optional)",
            "type": "object",
            "description": "Optional proxy settings used when fetching external `listingUrls` or downloading protected property photos."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}