Virtual staging
Remove objects using a mask
Removes the masked region from a photo and inpaints the background. Costs 1 credit. Responds in ~15s.
post/api/remove_object
Request
- Base URL: https://app.pedra.ai
- URL: https://app.pedra.ai/api/remove_object
- Auth: none required
Request body
Example request
{
"imageUrl": "https://example.com/photo.jpg",
"maskUrl": "https://example.com/photo.jpg"
}Response
Success. output is a single generated image.
Example response
{
"message": "Success",
"output": {
"url": "https://img.pedra.ai/generated-id"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.