Guides / AI labelling

C2PA sign (Content Credentials)

POST /v1/image/c2pa/sign  · 

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.

Parameters

NameTypeDescription
filefile · requiredJPEG, PNG or WebP.
titlestring · optional
aiGeneratedboolean · optionalDefault true.
generatorstring · optionalName of the generating software.
certstring · optionalYour own PEM certificate (optional).
keystring · optionalYour own PEM private key (optional).

Example request

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

Example response

HTTP/1.1 200 OK
Content-Type: image/jpeg
X-BigAPI-C2PA-Cert: bigapi-cert

(JPEG with embedded Content Credentials)

Related guides