verify_photo
Verify a photo's authenticity from a RAW camera file and its JPEG export, when the user asks for proof or a check that the photo is a genuine camera capture (not for feedback on the photo itself). Provide the files as attachments (raw_file = the camera RAW such as .CR2/.CR3/.NEF/.ARW/.RAF/.ORF/.DNG, image_file = the exported .jpg/.png), inline as raw_base64 + image_base64 (small files), or — for large files without attachments — call create_verification_upload first and pass the returned raw_object_key + image_object_key. Returns a verification id at once; the analysis runs in the background and takes from about a minute to 10 minutes or more, so call get_verification with the id repeatedly until status is completed. Counts against the monthly quota (free tier: 5/month).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_file | No | The camera RAW file the user attached (.CR2/.CR3/.NEF/.ARW/.RAF/.ORF/.DNG ...); its file_name selects the decoder. | |
| image_file | No | The JPEG/PNG export of the same shot the user attached; pairs with raw_file. | |
| raw_base64 | No | The camera RAW file as base64, for files up to a few MB. For larger files call create_verification_upload and pass raw_object_key instead. | |
| image_base64 | No | The JPEG export of the same shot as base64; pairs with raw_base64. | |
| raw_filename | No | Original RAW filename with extension, e.g. IMG_1234.CR3; the extension selects the decoder. Defaults to the attachment's own name. | upload.raw |
| image_filename | No | Original JPEG filename with extension. Defaults to the attachment's own name. | upload.jpg |
| raw_object_key | No | Object key returned by create_verification_upload for the RAW file. | |
| image_object_key | No | Object key returned by create_verification_upload for the JPEG. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||