HomeDeveloper HubAPI Docs
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/edit

Single 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

ParameterTypeRequiredDescription
fileFileYesThe image binary file (JPEG, PNG, WebP, TIFF).
metadataJSON stringYesA 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/edit
Endpoint: /api/exif/editLanguage: CURL