Browse a Pedra account's properties, read their photo URLs to feed into create_video and the editing endpoints, create properties, and add photos to them by URL.
Properties are how photos are organized in a Pedra account. These endpoints let you browse a user's properties, read a property's photo URLs (to feed straight into create_video or the editing endpoints), create properties, and add photos to them by URL — the server fetches each URL and stores it, so any public image works.
Photos already in the account are the easiest source for a video. To add brand-new local files (which can't be sent through the API), open the property in Pedra via the appUrl these endpoints return and upload them there.
List properties
POST/api/list_properties
Returns the account's properties (newest first), each with a photo count and an appUrl.
Adds photos to a property by URL. The server fetches each URL and stores it (so any public https image — or a small data: URI — works), then returns the stored img.pedra.ai URLs. Up to 20 per call.
apiKeystringrequired
Your API key.
propertyIdstringrequired
The property's id (from list_properties or create_property).
imageUrlsarrayrequired
Array of image URLs to fetch and add (max 20). A single imageUrl string is also accepted.