Turn a phone photo of a document page into a flat scan: page edges found, perspe...
https://bild.halowerk.com/v1/scan-from-photoOverview
Turn a phone photo of a document page into a flat scan: page edges found, perspective corrected, shadows evened out, returned as PDF and/or PNG/JPEG with the detected corners.
Protocol
x402 (POST)
Price
$0.0060
Payment Asset
USD Coin
Payment Network
Base
Category
media/images
Provider
bild
Source
bazaar
Indexed
2026-11-20 13:04:38
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"enhance": "bw",
"image_url": "https://bild.halowerk.com/beispiel/scan-from-photo-image.png",
"output": "image"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Needs the whole page visible against a darker background; curled or folded pages are flattened only as a plane.",
"No OCR text layer is added to the PDF."
],
"result": {
"coarse_corners": {
"bottom_left": {
"x": 402,
"y": 1018
},
"bottom_right": {
"x": 1109,
"y": 1106
},
"top_left": {
"x": 560,
"y": 62
},
"top_right": {
"x": 1218,
"y": 152
}
},
"corners": {
"bottom_left": {
"x": 399.5,
"y": 1020
},
"bottom_right": {
"x": 1109.8,
"y": 1109.4
},
"top_left": {
"x": 559.7,
"y": 59.7
},
"top_right": {
"x": 1219.7,
"y": 149.8
}
},
"edges": [
{
"edge_points": 100,
"refined": true,
"rms_px": 0.3
},
{
"edge_points": 146,
"refined": true,
"rms_px": 0.29
},
{
"edge_points": 107,
"refined": true,
"rms_px": 0.27
},
{
"edge_points": 147,
"refined": true,
"rms_px": 0.3
}
],
"edges_refined": true,
"enhancement": "bw",
"image_base64": "/9j/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh7/wAARCAS8A2ADASIAAhEBAxEB/8QAGwABAAIDAQEAAAAAAAAAAAAAAAYHAwUIBAn/xABNEAABAwQCAQMDAgMFAwcLAQkCAAEDBAUGEQcSEwgUIRUiMRYyI0FRCRcYM0IkNFJDVVZxpbTTJTU3OFdhdpSV0tRUgYQZJmKRU3Kh/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAA… [truncated, 148764 chars]",
"image_format": "jpeg",
"page": {
"height_px": 1212,
"orientation": "portrait",
"width_px": 864
}
},
"service": "scan-from-photo",
"status": "success"
},
"type": "json"
}