EMBED AN IMAGE
One request.
A traceable output.
Send multipart form data containing an image and a non-empty JSON object. Etchv hashes the canonicalized object and embeds that digest.
Save the X-Watermark-ID response header alongside your delivery record. The response body is the watermarked PNG.
curl "$ETCHV_API_URL/watermarks/images" \
-H "X-API-Key: $ETCHV_API_KEY" \
-F 'file=@campaign.jpg' \
-F 'data={"asset":"campaign_01","recipient":"partner_42"}' \
-D response-headers.txt \
--output protected.pngSet up your integration
Arrange access
Contact the team for your deployment base URL. Set ETCHV_API_URL in your server environment.
Create a scoped key
An authorized organization member creates a key with watermarks:embed and/or watermarks:detect permissions. Store it securely as ETCHV_API_KEY.
Embed and keep the ID
Send your image and reference data. Store the returned ID in your own records before delivering the protected output.
Inspect a recovered image
POST the recovered image to /watermarks/images/detect. Match a returned watermark_id against your records, and handle missing or inconclusive results explicitly.