Guides
Sending an image
Three input shapes, in order of preference:
| Shape | Field | Notes |
|---|---|---|
multipart/form-data | image | Preferred. Lowest overhead. |
application/json | image_base64 | A data:image/...;base64, prefix is accepted and stripped. |
application/json | image_url | Paid plans only — we perform the outbound fetch. |
Maximum image size is 12 MB after decoding. Base64 inflates by ~33%, so an 12 MB image will not fit in a base64 field — upload it as multipart instead.
Photograph the card roughly filling the frame. Card detection and perspective correction happen server-side, so a hand-held angled shot is fine; a card that occupies a small part of a cluttered photo is not.