Create virtual tour
pedra_create_virtual_tourBuild a hosted 360° virtual tour from property photos: AI names and links rooms, then returns a shareable link and embed code.
Instructions
Build a hosted 360° virtual tour: the rooms are named and linked with navigation points by AI, and you get a shareable link and embed code. Pass the 360° photos as scenes (URLs, or imageIds of 360° photos already in the property) in the order someone would walk through the home, or just a propertyId to use all its 360° photos. Linking: "sequential" (default) links each room to the next and costs max(3, ceil(rooms/3)) credits; "smart" lets AI work out which rooms connect (slower, 5-160 credits by room count); "none" is free. Returns a tourId immediately — the build takes about 10 seconds per room, so poll pedra_get_virtual_tour until status is "ready". One tour per property.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Tour title, e.g. the listing address. | |
| scenes | No | The rooms in walking order. Omit to use every 360° photo in propertyId. | |
| linking | No | How rooms get connected. Defaults to "sequential". | |
| language | No | Language of the tour page and of AI room names. Defaults to "en". | |
| propertyId | No | Property the tour belongs to. Omit to create a new property. |