§ Read
Image Info API
Reads the header and never decodes pixel data, so it tells you what a file really is without trusting the extension a user gave it. The pixel caps deliberately do not apply here — this is how a caller finds out an image is too big to transform.
- Endpoint
- POST /image/info
- Inputs
- Exactly 1 image
- Returns
- application/json
- Limits
- 20 MB per file. Pixel caps do not apply.
- Price
- $0.001
§ 01 The request
One POST, and the file comes back.
POST /image/info
curl -sS --fail-with-body \
-H "Authorization: Bearer $OHMYWRAP_KEY" \
-F "file=@upload.bin" \
-F 'options={"exif":true}' \
https://api.ohmywrap.com/image/infoOptions
| Option | Type | Default | What it does |
|---|---|---|---|
| exif | bool | false | Include decoded EXIF and XMP tags. |
Your first /image/info call takes one line of curl.
Ten thousand calls cost ten dollars, the pack never expires, and nothing you send is kept.
10,000 calls for $10. No subscription, no expiry.