Image enhancement
Enhance a photo and straighten vertical lines
Auto-enhances the photo and corrects perspective so vertical lines are straight. Costs 1 credit. Responds in ~15s.
post/api/enhance_and_correct_perspective
Request
- Base URL: https://app.pedra.ai
- URL: https://app.pedra.ai/api/enhance_and_correct_perspective
- Auth: none required
Request body
Example request
{
"imageUrl": "https://example.com/photo.jpg"
}Response
Success. output is an array with exactly one 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.