REST API v1.0 Exponent
Integrate ExifForge APIs
Build custom photography, privacy, or media workflow features into your WordPress plugins, Next.js setups, React apps, or python scripts. Includes full CORS support.
POST
/api/exif/editSingle EXIF Edit
Injects, rewrites, or cleans EXIF tags on a single image file. Automatically applies default device-specific naming conventions based on the Make/Model.
Base URLhttp://localhost:3000
Request Content-Typemultipart/form-data
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | File | Yes | The image binary file (JPEG, PNG, WebP, TIFF). |
| metadata | JSON string | Yes | A JSON string of tag names and values (e.g. Author, CameraModel, GPSLatitude). |
Response Body
Binary file stream with the same Content-Type as the input image. File name is sent in Content-Disposition header.
CORS Enabled: You can invoke this endpoint directly inside your client-side React code. Preflight OPTIONS queries are automatically cached for 24 hours to reduce latency.
curl -X POST \
-F "file=@photo.jpg" \
-F 'metadata={"Author":"John Doe","CameraModel":"iPhone 15 Pro Max","GPSLatitude":37.7749,"GPSLongitude":-122.4194}' \
-o edited_photo.jpg \
http://localhost:3000/api/exif/editEndpoint: /api/exif/editLanguage: CURL