Embed C2PA Content Credentials into a JPEG/PNG/WebP – marks the image as AI-generated (EU AI Act Art. 50). Signs with the BiGapi certificate, or bring your own.
| Name | Type | Description |
|---|---|---|
file | file · required | JPEG, PNG or WebP. |
title | string · optional | |
aiGenerated | boolean · optional | Default true. |
generator | string · optional | Name of the generating software. |
cert | string · optional | Your own PEM certificate (optional). |
key | string · optional | Your own PEM private key (optional). |
curl -X POST https://api.bigapi.dev/v1/image/c2pa/sign -H 'Authorization: Bearer $KEY' -F 'file=@ai-image.jpg' -F 'generator=MyGen 1.0' -o signed.jpg
HTTP/1.1 200 OK Content-Type: image/jpeg X-BigAPI-C2PA-Cert: bigapi-cert (JPEG with embedded Content Credentials)