Numbers Loading Icon

Add C2PA Label Easily with Capture API

Posted in:

Tech

How to Add C2PA to Digital Content with Capture API

In our last article, we explored adding C2PA watermarks from mobile phones using Capture Cam. While Capture Cam is great for individuals, what if you need to process assets in bulk?

Part of our solution for developers includes the Capture API. Using the Capture API, you can register all your assets in bulk, automatically if you wish! This powerful tool is part of the C2PA SDK provided by Numbers Protocol, ensuring seamless integration of provenance technology into your applications.

Prerequisites

In order to register assets with Numbers Protocol, you will need to own a Capture account and acquire your Capture Authorization Token. You can refer to these materials if you do not have a Capture account or do not know how to acquire your authorization token.

Alternatively we have a video tutorial on how to acquire your Capture Token.

How to Register Digital Media Files with Capture API

To register a media file with Numbers Protocol, we will be utilizing the Capture API, specifically the Registration API action. Using your preferred API platform or sending a curl request we can send the following POST request:

POST https://api.numbersprotocol.io/api/v3/assets/

For this API call we will need to populate our Header with the Capture Authorization Token.

Header
Authorization (string) token <Capture Token>
Content-Type (string) multipart/form-data

For the Register API action, the only required Body field is ‘asset_file’. If you wish to provide additional information such as metadata or captions you are free to do so. The following is the complete list of Body parameters you can send with the Register API action.

A successful API response will output a JSON with an ‘id’ field. See the example below:



This value is important and we will be needing it later.

How to Acquire C2PA Injected Images Using Capture API

Having successfully registered the generative AI image to Numbers Blockchain, we can acquire the C2PA injected file by using the Capture API, specifically the Download asset with C2PA injection API action. Using your preferred API platform or sending a curl request we can send the following POST request:

POST https://api.numbersprotocol.io/api/v3/assets/{nid}/c2pa/

Same like previously, for this C2PA API call we will need to populate our Header with our Authorization Token



Authorization Token <Capture Token>

Replacing the ‘{nid}’ parameter with the nid url parameter in the asset profile link from the previous step we get the following:


Navigating to the url we can see the C2PA injected image with an AI watermark, ensuring the authenticity of the generative AI content.:

How IPTC Standards Complement C2PA for Content Authentication

In addition to C2PA, the International Press Telecommunication Council (IPTC) sets important standards for metadata in news and media industries. IPTC's standards ensure that content is easily searchable, shareable, and verifiable across different platforms and systems. Integrating IPTC standards with C2PA enhances content authentication and verification processes, providing a comprehensive solution for maintaining content integrity and ownership.

As the need for provenance is growing in symmetry with the development of generative AI models. By applying C2PA standard, including AI watermarks, to all of your digital assets, you’ll be able to protect your contents and its ownership. This process is essential for content authentication and content verification. While currently there may be some limitations to C2PA, entities such as Numbers Protocol are actively working on improving the provenance solution!

Secure and Authenticate Your Digital Assets with Capture API

Capture empowers developers to secure and authenticate digital assets, creating a creative environment where content ownership is protected. By utilizing the Capture API and C2PA SDK, you can ensure that your creative works are properly registered, authenticated, and verified.

In our next article, we’ll explore how to verify your registered asset. Stay tuned!

Try Capture today: https://link.numbersprotocol.io/dashboard-blog

Read more about Provenance, C2PA and Numbers Protocol

Learn more about how Numbers Protocol ensures digital media authenticity through blockchain and provenance standards. Explore our tech series for in-depth insights on securing digital content and combating misinformation. The goal of this multipart series is to discuss provenance at a high level and provide more technically inclined readers a full dive into how to execute digital provenance. You can find the full list of this series here :

Part 1: What is Provenance and why we need it

Part 2: What is C2PA, Add C2PA easily with Capture

Part 3: Take True Photo with C2PA Watermark from Mobile Phones

Part 4 : You are here

Part 5 : C2PA for Music and Video Platforms with Capture API

Part 6 : How Generative AI Companies Can Use C2PA with Capture API – Part 1

Part 7 : Integrating C2PA with Numbers Protocol for Generative AI – Part 2

Part 8 : Verify and Browse Content Information

Part 9 : How Numbers Protocol Enhances C2PA with a Sustainable Blockchain Solution

Part 10 : How C2PA and Blockchain Verify Election News and Combat Misinformation

Part 11 : How C2PA and Blockchain Technology Preserve Human History

Part 12 : How to Secure C2PA-Signed Content with Blockchain Proof: Simple Guide

Part 13 : How Numbers Mainnet Offers a Sustainable, Secure, and Inclusive Blockchain Solution






You're signed up! Watch you inbox for updates.
Oops! Something went wrong while submitting the form.