Virtual staging
Edit a photo with a text prompt
Applies a plain-English editing instruction to a photo. Costs 2 credits. Responds in ~15s.
post/api/edit_via_prompt
Request
- Base URL: https://app.pedra.ai
- URL: https://app.pedra.ai/api/edit_via_prompt
- Auth: none required
Request body
Example request
{
"imageUrl": "https://example.com/photo.jpg",
"prompt": "Add a modern chandelier to the ceiling"
}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.