Skip to main content
POST
/
v1
/
real-estate
/
narrated-slideshow
curl -X POST https://api.vibepeak.ai/v1/real-estate/narrated-slideshow \
  -H "Authorization: Bearer vpk_live_xxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://example.com/property/living-room.jpg",
      "https://example.com/property/kitchen.jpg",
      "https://example.com/property/bedroom.jpg",
      "https://example.com/property/bathroom.jpg",
      "https://example.com/property/backyard.jpg",
      "https://example.com/property/exterior.jpg"
    ],
    "voice": {
      "voice_id": "EXAVITQu4vr4xnSDxMaL",
      "language": "en"
    },
    "orientation": "portrait",
    "script": "Welcome to this stunning 3-bedroom home in the heart of the city. The open-concept living area floods with natural light...",
    "orchestration_mode": "standard",
    "webhook_url": "https://yourserver.com/webhooks/vibepeak",
    "background_music": true,
    "subtitle": {
      "subtitle_style_preset": "classic"
    },
    "elements_config": {
      "enabled": true,
      "watermark": {
        "url": "https://example.com/logo.png",
        "position": "bottom-right",
        "size": 20,
        "opacity": 100
      },
      "text": {
        "content": "Powered by Vibepeak",
        "color": "#FFFFFF",
        "font": "Inter",
        "size": 20,
        "position": "center"
      }
    }
  }'
{
  "task_id": "task_abc123xyz",
  "status": "queued",
  "queue_position": 3,
  "estimated_completion": "2026-01-04T12:30:00Z",
  "created_at": "2026-01-04T12:00:00Z",
  "livemode": true
}
Creates a new video generation task from property images. The video is generated asynchronously - you’ll receive a task ID to poll for status or configure a webhook to be notified when complete.

Request Body

images
string[] | object[]
required
Images for the slideshow. Must contain 6 to 15 images, and all entries must be unique (no duplicates allowed).Each array entry can take one of two shapes. Pick a single shape for the whole array — you cannot mix strings and objects.1. Simple (URL strings): an array of image URLs. Every image renders as a static still. This is the default behavior.2. Rich (objects): an array of objects, where each image can opt into a subtle camera move (the “reanimate” option).Images should be:
  • Publicly accessible HTTP(S) URLs (not a private/internal address)
  • JPEG, PNG, or WebP format
  • Minimum resolution: 720p recommended
reanimate and movement go together. When reanimate is true, movement is required — supply one of the six values above or null (which lets VibePeak pick a move automatically). When reanimate is false or omitted, movement must not be set.
For the best visual result, upload images that already match your target format. When orientation is set to portrait, the pipeline can expand landscape photos to fit a 9:16 output when needed.
orientation
string
Optional output orientation for the final video.
ValueDescription
landscapeGenerate a horizontal 16:9 video
portraitGenerate a vertical 9:16 video
If omitted, VibePeak auto-detects the orientation from the first image and defaults to landscape if detection is not possible.
Choosing portrait is useful when you want social-first vertical output from a mixed or landscape-heavy photo set.
voiceover_enabled
boolean
default:"true"
Whether the video has a voiceover (narration). Defaults to true.Set to false to create a music-only slideshow: omit voice and script, and the video is produced with background music only (or silent if background_music is false). Without a voiceover, subtitle and avatar_id are not available and will be rejected.
voice
object
Voice configuration for the AI-generated narration. Required when voiceover_enabled is true (the default); omit it together with script when voiceover_enabled is false.
script
string
Narration script for text-to-speech. Required when voiceover_enabled is true (the default); omit it together with voice when voiceover_enabled is false.The script length must be proportional to the number of images to ensure proper narration pacing (~3 seconds per image):
ImagesMin CharactersMax Characters
6240300
10400500
15600750
Formula: min = images × 40, max = images × 50
Numbers and symbols are allowed. Write the script naturally — numbers (e.g. 3 bedrooms, 580.000 €) and symbols are read correctly by text-to-speech. Only emojis and other non-speech characters (pictographs, control characters) are rejected.
Scripts that are too short or too long for the number of images will be rejected with SCRIPT_TOO_SHORT or SCRIPT_TOO_LONG error codes.
orchestration_mode
string
default:"artistic"
Video orchestration mode that controls scene pacing and transitions.
ValueDescription
standardStandard mode with scenes of 3-7 seconds
artisticCinematic mode with 2-3 second scenes and visual weight hierarchy (default)
sequentialImages appear in order without AI reordering. Scene duration is auto-calculated.
webhook_url
string
URL to receive webhook notification when the task completes.Must be a valid HTTPS URL. See Webhooks for details.
Webhook URLs must use HTTPS and cannot point to private/internal networks (SSRF protection).
avatar_id
string
Optional UUID of an avatar to include in the video.Must be a valid UUID v4 format (e.g., 123e4567-e89b-12d3-a456-426614174000).
Requires voiceover. A speaking avatar needs narration, so omit avatar_id when voiceover_enabled is false (music-only or silent video) — the request is rejected otherwise.
background_music
boolean
default:"false"
Enable AI-generated background music for the video.When true, generates calm ambient music that matches the video duration. The music is automatically generated with a real estate style (soft piano, elegant, minimal) and mixed at 20% volume to complement the narration.
Background music generation adds a few seconds to the processing time. If music generation fails, the video will still be created without background music.
subtitle
object
Subtitle configuration for word-level animated overlays. Use subtitle_style_preset for quick setup or styles for granular control. Providing both will result in a validation error.
Requires voiceover. Subtitles are derived from the narration’s word timing, so omit subtitle (or set it to false) when voiceover_enabled is false — the request is rejected otherwise.
elements_config
object
Configuration for visual elements and branding overlays. If not provided, elements are disabled by default.

Scene Duration Overrides

For fine-tuned control over video pacing, you can override the default scene durations.
min_scene_duration_seconds
number
Minimum duration for each scene in seconds. Range: 1-30.
max_scene_duration_seconds
number
Maximum duration for each scene in seconds. Range: 1-30.

Artistic Mode Duration Overrides

When using orchestration_mode: "artistic", you can separately control hero and secondary scene durations.
hero_min_duration_seconds
number
Minimum duration for hero (primary) scenes in seconds. Range: 1-30.
hero_max_duration_seconds
number
Maximum duration for hero (primary) scenes in seconds. Range: 1-30.
secondary_min_duration_seconds
number
Minimum duration for secondary scenes in seconds. Range: 1-30.
secondary_max_duration_seconds
number
Maximum duration for secondary scenes in seconds. Range: 1-30.

Test Mode

test_scenario
string
default:"success"
Sandbox-only scenario selector. Honored only for test-mode (vpk_test_) keys and silently ignored for live keys, so it is safe to leave in shared request-building code.
ValueOutcome
successSynthetic task completes with a watermarked sample video
failSynthetic task fails with a sanitized, public-safe error
slowLike success, but completes after a noticeably longer delay
Test mode never spends credits or runs the real pipeline. See Test Mode for the full sandbox model.

Response

task_id
string
required
Unique identifier for the task. Use this to check status.
status
string
required
Initial task status. Always queued for new tasks.
queue_position
integer
Position in the processing queue.
estimated_completion
string
Estimated completion time (ISO 8601 format).
created_at
string
required
Task creation timestamp (ISO 8601 format).
livemode
boolean
required
true for live (vpk_live_) requests; false for test-mode (vpk_test_) requests. Use this to tell a real task from a sandbox one. See Test Mode.
curl -X POST https://api.vibepeak.ai/v1/real-estate/narrated-slideshow \
  -H "Authorization: Bearer vpk_live_xxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://example.com/property/living-room.jpg",
      "https://example.com/property/kitchen.jpg",
      "https://example.com/property/bedroom.jpg",
      "https://example.com/property/bathroom.jpg",
      "https://example.com/property/backyard.jpg",
      "https://example.com/property/exterior.jpg"
    ],
    "voice": {
      "voice_id": "EXAVITQu4vr4xnSDxMaL",
      "language": "en"
    },
    "orientation": "portrait",
    "script": "Welcome to this stunning 3-bedroom home in the heart of the city. The open-concept living area floods with natural light...",
    "orchestration_mode": "standard",
    "webhook_url": "https://yourserver.com/webhooks/vibepeak",
    "background_music": true,
    "subtitle": {
      "subtitle_style_preset": "classic"
    },
    "elements_config": {
      "enabled": true,
      "watermark": {
        "url": "https://example.com/logo.png",
        "position": "bottom-right",
        "size": 20,
        "opacity": 100
      },
      "text": {
        "content": "Powered by Vibepeak",
        "color": "#FFFFFF",
        "font": "Inter",
        "size": 20,
        "position": "center"
      }
    }
  }'

Example: images with camera motion

To apply subtle per-image camera moves, pass images as an array of objects with reanimate: true and a movement value (or null to let VibePeak pick one). Remember you cannot mix strings and objects in the same array.
curl -X POST https://api.vibepeak.ai/v1/real-estate/narrated-slideshow \
  -H "Authorization: Bearer vpk_live_xxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      { "image_url": "https://example.com/property/living-room.jpg", "reanimate": true, "movement": "dolly_in", "room_type": "living room" },
      { "image_url": "https://example.com/property/kitchen.jpg", "reanimate": true, "movement": "traveling_left" },
      { "image_url": "https://example.com/property/bedroom.jpg", "reanimate": true, "movement": null },
      { "image_url": "https://example.com/property/bathroom.jpg", "reanimate": false },
      { "image_url": "https://example.com/property/backyard.jpg", "reanimate": true, "movement": "traveling_up" },
      { "image_url": "https://example.com/property/exterior.jpg", "reanimate": true, "movement": "dolly_out" }
    ],
    "voice": {
      "voice_id": "EXAVITQu4vr4xnSDxMaL",
      "language": "en"
    },
    "script": "Welcome to this stunning 3-bedroom home in the heart of the city. The open-concept living area floods with natural light..."
  }'
{
  "task_id": "task_abc123xyz",
  "status": "queued",
  "queue_position": 3,
  "estimated_completion": "2026-01-04T12:30:00Z",
  "created_at": "2026-01-04T12:00:00Z",
  "livemode": true
}

Error Codes

CodeStatusDescription
VALIDATION_ERROR400Invalid request parameters
INVALID_IMAGE_URL400One or more image URLs are inaccessible or invalid
INVALID_WATERMARK_URL400The elements_config watermark URL is inaccessible or does not return an image
SCRIPT_TOO_SHORT400Script is too short for the number of images (min 40 chars/image)
SCRIPT_TOO_LONG400Script is too long for the number of images (max 50 chars/image)
SCRIPT_INVALID_CHARACTERS400Script contains emojis or other non-speech characters not supported by TTS
INVALID_API_KEY401Invalid or missing API key
PLAN_REQUIRED403Plan doesn’t include API access
CONCURRENCY_LIMIT_EXCEEDED429Concurrent task limit reached
SERVICE_UNAVAILABLE503Video generation service temporarily unavailable
SERVICE_TIMEOUT504Service request timed out
See Error Handling for more details.

Next Steps

After creating a task:
  1. Poll for status: Use Get Task to check progress
  2. Wait for webhook: If configured, receive notification when complete
  3. Download video: Access the video URL from the completed task result