Welcome to the official documentation for the Pedra.so API. Our API provides powerful image processing capabilities for various room enhancement and design tasks.
The API can be accessed through the following base URL:
https://app.pedra.so/api
All API calls require an apiKey
parameter for authentication. Send an email to felix@pedra.so to request your API key.
The following parameters are common to all endpoints:
apiKey
(string, required): Your unique API key for authentication.imageUrl
(string, required): URL of the image to be processed.Enhances the quality, color, light and resolution of the provided image.
Endpoint: /enhance
Method: POST
Parameters: Common parameters (see above)
Expected response time: Between 25 seconds and 1 minute
Removes furniture and clutter from the room in the provided image.
Endpoint: /empty_room
Method: POST
Parameters: Common parameters (see above)
Expected response time: Between 2 and 3 minutes
Furnishes (creates a virtual staging) of a space according to specified parameters.
Endpoint: /furnish
Method: POST
Parameters:
roomType
(string, required): Type of room to furnish.style
(string, required): Design style to apply.Expected response time: Between 2 and 3 minutes
roomType
:style
:Renovates a room according to the specified style.
Endpoint: /renovation
Method: POST
Parameters:
style
(string, required): Design style to apply for renovation.preserveWindows
(boolean, required): Whether to preserve existing windows during renovation.Expected response time: Between 25 seconds and 2 minutes
All API endpoints return JSON responses. A successful response will have a status code of 200 and include the processed image information.
In case of an error, the API will return an appropriate HTTP status code along with a JSON response containing error details.
For any questions or issues regarding the API, please contact our support team at felix@pedra.so.