# AI Image Label Checker: C2PA & IPTC Metadata (`hydrocore/ai-image-provenance-check`) Actor

Check public images for AI labels and provenance: C2PA Content Credentials (claim generator, actions), IPTC digital source type (trainedAlgorithmicMedia), AI tool names, Stable Diffusion and ComfyUI PNG data, camera EXIF. One row per image with a verdict. Metadata only.

- **URL**: https://apify.com/hydrocore/ai-image-provenance-check.md
- **Developed by:** [Hydrocore Data](https://apify.com/hydrocore) (community)
- **Categories:** AI, Social media, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 image checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## AI Image Label Checker: C2PA Content Credentials & IPTC AI Labels

Check public images for **AI labels and provenance metadata**. One row per image with a **verdict** (ai-generated, ai-edited, Content Credentials without an AI claim, camera metadata only, or no provenance data), the **AI tool** named in the metadata, the **IPTC digital source type** (for example `trainedAlgorithmicMedia`), the **C2PA Content Credentials** claim generator and actions, **Stable Diffusion / ComfyUI** generation data in PNG files, software, camera make and model, capture time, format and size. It reads the metadata that tools such as Adobe Firefly, OpenAI, Microsoft Designer and Bing Image Creator write into their images. **No ML guessing**: every answer comes from the file itself.

### ✅ What you get

- Verdict and isAiLabeled flag
- AI tool hint (Adobe Firefly, OpenAI, Microsoft, Midjourney, Stable Diffusion, ComfyUI, Google and others)
- IPTC digital source type from C2PA or XMP
- C2PA claim generator and actions (created, edited, cropped, color adjustments ...)
- Stable Diffusion parameters and ComfyUI workflows in PNG text
- Software, camera make and model, capture time, GPS present (coordinates not output)
- Format, width, height, file size, final URL
- summaryText sentence per image, plus a run summary

### 🏆 Why this Actor

- **Reads the labels platforms rely on:** C2PA Content Credentials and the IPTC digital source type are the standards used for "AI info" and "Made with AI" labels.
- **Explains itself:** each AI verdict lists its signals in plain words (source type, tool named in the claim, PNG generation parameters).
- **Honest by design:** a missing label is reported as "no provenance data", never as "real"; the summary sentence says so.
- **Safe and fair:** private and local addresses are blocked, files are size-capped, and invalid, failed, duplicate, non-image and filtered URLs are free.
- **Agent-ready:** one URL in, one flat JSON row with a verdict and a summaryText sentence out, at a low price per image.

### 💡 Use cases

- Marketplaces and stock sites: flag uploads labeled as AI-generated
- Newsrooms and fact-checkers: see whether an image carries Content Credentials and who wrote them
- Trust & safety and moderation queues: route AI-labeled images to the right policy
- Compliance: audit your own published images for AI disclosure labels (EU AI Act transparency rules, platform policies)
- AI agents: answer "does this image say it was made with AI?" in one call

### 🚀 How to use

1. Paste public **image URLs** (one per line).
2. Optional: keep only AI-labeled images, sort AI-labeled first, set a size limit.
3. Run, then open **Overview**, **Content Credentials** or **Camera & metadata**, or call it from an agent via the API or MCP.

### ⚙️ Input

| Field | What it does |
|---|---|
| `imageUrls` | Public image URLs (JPEG, PNG, WebP, AVIF, HEIC, GIF, TIFF). |
| `onlyAiLabeled` | Save only AI-generated / AI-edited images (default false); others are free. |
| `sortBy` | input (default) or aiFirst. |
| `maxResults` | Cap on saved images, default 500. |
| `maxImageMb` | Skip larger files for free, default 25 MB (max 50). |

Example input:

```json
{
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/8/86/Christmas_image_by_DALL-E_3_2024_01.jpg",
    "https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg"
  ],
  "onlyAiLabeled": false,
  "sortBy": "aiFirst"
}
```

### ⬆️ Output

One row per image. Invalid, blocked, failed, too large and non-image URLs get a free row with `recordType` = `status` and the reason in `summaryText`. Every row has the same 28 keys in the same order; missing values are `null`. The example is a real row from a test run of the current build.

Overview fields:

| Field | Type | Example | Description |
|---|---|---|---|
| `imageUrl` | string | "https://upload.wikimedia.org/wikipedia/commons/3/33/Adobe_F… | The image URL you entered (normalised). |
| `provenanceVerdict` | string | "ai-generated" | ai-generated, ai-edited, content-credentials-no-ai-claim, camera-metadata-only, metadata-without-provenance or no-provenance-data. |
| `isAiLabeled` | boolean | true | True when the metadata labels the image as AI-generated or AI-edited. |
| `aiToolHint` | string | "Adobe Firefly" | AI tool named in the C2PA claim generator, software, description or PNG text (Adobe Firefly, OpenAI, Microsoft, Midjourney, Stable Diffusion, ComfyUI, Google ...). Null when none. |
| `digitalSourceType` | string | "trainedAlgorithmicMedia" | IPTC digital source type found in the C2PA manifest or XMP, AI types first (trainedAlgorithmicMedia, compositeWithTrainedAlgorithmicMedia, digitalCapture ...). |
| `hasC2pa` | boolean | true | A C2PA manifest (JUMBF) is embedded in the file. |
| `c2paClaimGenerator` | string | "Adobe_Firefly adobe_c2pa/0.10.1 c2pa-rs/0.31.1" | Software that wrote the C2PA claim, as written in the manifest. |
| `imageFormat` | string | "jpeg" | jpeg, png, webp, avif, heic, gif or tiff (from the file header). |
| `widthPx` | integer | 2048 | Image width in pixels. |
| `heightPx` | integer | 2048 | Image height in pixels. |

All 28 fields (in order): `recordType`, `imageUrl`, `provenanceVerdict`, `isAiLabeled`, `aiToolHint`, `digitalSourceType`, `aiSignals`, `aiSignalCount`, `hasC2pa`, `c2paClaimGenerator`, `c2paActions`, `iptcDigitalSourceType`, `software`, `cameraMake`, `cameraModel`, `capturedAt`, `hasGps`, `hasExif`, `hasXmp`, `imageFormat`, `widthPx`, `heightPx`, `fileSizeBytes`, `finalUrl`, `httpStatus`, `summaryText`, `inputValue`, `scrapedAt`.

Real row from a test run of the current build:

```json
{
  "recordType": "image",
  "imageUrl": "https://upload.wikimedia.org/wikipedia/commons/3/33/Adobe_Firefly_generated_realistic_portrait.jpg",
  "provenanceVerdict": "ai-generated",
  "isAiLabeled": true,
  "aiToolHint": "Adobe Firefly",
  "digitalSourceType": "trainedAlgorithmicMedia",
  "aiSignals": [
    "digital source type trainedAlgorithmicMedia",
    "AI tool named in metadata: Adobe Firefly"
  ],
  "aiSignalCount": 2,
  "hasC2pa": true,
  "c2paClaimGenerator": "Adobe_Firefly adobe_c2pa/0.10.1 c2pa-rs/0.31.1",
  "c2paActions": [
    "c2pa.created"
  ],
  "iptcDigitalSourceType": null,
  "software": null,
  "cameraMake": null,
  "cameraModel": null,
  "capturedAt": null,
  "hasGps": false,
  "hasExif": false,
  "hasXmp": false,
  "imageFormat": "jpeg",
  "widthPx": 2048,
  "heightPx": 2048,
  "fileSizeBytes": 518931,
  "finalUrl": "https://upload.wikimedia.org/wikipedia/commons/3/33/Adobe_Firefly_generated_realistic_portrait.jpg",
  "httpStatus": 200,
  "summaryText": "This 2048x2048 jpeg is labeled as AI-generated (C2PA manifest by Adobe_Firefly adobe_c2pa/0.10.1 c2pa-rs/0.31.1; source type trainedAlgorithmicMedia; tool: Adobe Firefly). Metadata check only: missing labels do not prove an image is real, and signatures are not verified.",
  "inputValue": "https://upload.wikimedia.org/wikipedia/commons/3/33/Adobe_Firefly_generated_realistic_portrait.jpg",
  "scrapedAt": "2026-11-17T21:16:00.557Z"
}
```

Views: **Overview**, **Content Credentials**, **Camera & metadata**, **Detailed (all fields)**. Export as JSON, CSV, Excel, XML or HTML from the Storage tab or the API (`/datasets/{id}/items?format=csv&view=overview`). The run summary (`OUTPUT` record in the key-value store) counts inputs, invalid URLs, blocked hosts, duplicates, download errors, non-images, too-large files, checked, AI-labeled, with C2PA, filtered, over the cap and saved.

### 💰 Pricing

Competitive pricing, pay per result: **$0.002 per image checked** on the Free plan, less on higher plans, plus the $0.0005 Actor start. The default run (3 images) costs about $0.0065; 1,000 images cost about $2.00. Invalid, blocked, failed, too large, non-image, duplicate and filtered URLs are never charged.

| Event | What it is | Free | Bronze | Silver | Gold+ |
|---|---|---|---|---|---|
| Image checked | One image downloaded and checked (verdict, AI label, tool hint, digital source type, C2PA claim generator and actions, software, camera, size). Invalid, blocked, failed, too large, non-image, duplicate and filtered URLs are free. | $0.002 | $0.0018 | $0.0017 | $0.0016 |
| Actor start | Once per run (Apify standard start event, per GB of memory; the default 256 MB = one fee) | $0.0005 | $0.0005 | $0.0005 | $0.0005 |

### 🔁 Integrations

Works with the Apify API, MCP (AI agents), Make, n8n, Zapier, Google Sheets and webhooks. Field names are stable camelCase, so mappings do not break between runs.

### ❓ FAQ

**Does it detect every AI image?**

No. It reads labels that are written into the file. Images whose metadata was stripped (screenshots, many social-media re-uploads, edited copies) carry no label, and invisible watermarks such as SynthID are not read. Those images get "no-provenance-data", which does not mean they are real.

**Does it verify C2PA signatures?**

No. It detects the C2PA manifest and reads the claim generator, actions and digital source type. It does not validate certificates or check whether the file changed after signing. Use a full C2PA validator when you need cryptographic proof.

**What does each verdict mean?**

ai-generated: the source type is trainedAlgorithmicMedia or algorithmicMedia, an AI tool is named in the metadata, or the PNG holds Stable Diffusion / ComfyUI generation data. ai-edited: the source type is compositeWithTrainedAlgorithmicMedia, algorithmicallyEnhanced or compositeSynthetic. content-credentials-no-ai-claim: a C2PA manifest without an AI claim (for example a camera or Lightroom export). camera-metadata-only: camera EXIF or a digitalCapture source type. metadata-without-provenance and no-provenance-data: no label found.

**Which tools are recognised?**

Adobe Firefly, OpenAI (DALL-E / ChatGPT), Microsoft (Bing Image Creator / Designer), Midjourney, Stable Diffusion, ComfyUI, Google (Imagen / Gemini), Leonardo.Ai, Ideogram, FLUX (Black Forest Labs), Runway, Meta AI and NovelAI, when their name appears in the claim generator, software, description or PNG text.

**Is the image stored?**

No. Each image is downloaded once into memory, its metadata is read, and only the fields in the row are saved. GPS coordinates are never output, only whether they exist.

**Which formats work?**

JPEG, PNG, WebP, AVIF, HEIC, GIF and TIFF. C2PA detection works for any format that embeds a manifest; EXIF and XMP come from the exifr library.

**Why is a URL refused?**

Private, local and cloud-metadata addresses are blocked, and files larger than maxImageMb are skipped. Both get a free status row.

**What is charged?**

One charge per image that was downloaded and checked, whatever the verdict. Invalid, blocked, failed, too large, non-image, duplicate and filtered URLs are free.

**Why would I need this now?**

Platforms, stock sites and newsrooms increasingly show AI labels based on C2PA and IPTC metadata, and the EU AI Act adds transparency duties for AI-generated content. Checking what your images (or the images you receive) actually declare is the first step.

**Is it good for AI agents?**

Yes. Tiny input, flat JSON with stable keys, a verdict, the signals behind it and a summaryText sentence per image.

### 🛟 Support

Found a problem or need a field? Open an issue on the Issues tab; we read every issue.

### Changelog

- 1.0 (2026-11-17): first release.

# Actor input Schema

## `imageUrls` (type: `array`):

Public image URLs, one per line (JPEG, PNG, WebP, AVIF, HEIC, GIF, TIFF). Each image is downloaded once and only its metadata is read.

## `onlyAiLabeled` (type: `boolean`):

Save only images labeled AI-generated or AI-edited (default false). Other images are free.

## `sortBy` (type: `string`):

input (default) or aiFirst (AI-labeled, then Content Credentials, then the rest).

## `maxResults` (type: `integer`):

Cap after the filter and sort (default 500).

## `maxImageMb` (type: `integer`):

Larger files are skipped for free (default 25, max 50).

## Actor input object example

```json
{
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/3/33/Adobe_Firefly_generated_realistic_portrait.jpg",
    "https://upload.wikimedia.org/wikipedia/commons/c/c5/Imagetitis-affected_editor_by_ChatGPT_4.0_%26_DALL%C2%B7E_3_%282024%29.webp",
    "https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg"
  ],
  "onlyAiLabeled": false,
  "sortBy": "input",
  "maxResults": 500,
  "maxImageMb": 25
}
```

# Actor output Schema

## `overview` (type: `string`):

Image, verdict, AI label, tool, source type and Content Credentials.

## `c2pa` (type: `string`):

C2PA claim generator, actions, source types and AI signals.

## `camera` (type: `string`):

Software, camera, capture time, GPS presence and EXIF/XMP presence.

## `results` (type: `string`):

Every field for each row.

## `summary` (type: `string`):

Run summary: inputs, invalid URLs, blocked hosts, duplicates, download errors, non-images, too large, checked, AI-labeled, with C2PA, filtered, over the cap, saved and status rows.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "imageUrls": [
        "https://upload.wikimedia.org/wikipedia/commons/3/33/Adobe_Firefly_generated_realistic_portrait.jpg",
        "https://upload.wikimedia.org/wikipedia/commons/c/c5/Imagetitis-affected_editor_by_ChatGPT_4.0_%26_DALL%C2%B7E_3_%282024%29.webp",
        "https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hydrocore/ai-image-provenance-check").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "imageUrls": [
        "https://upload.wikimedia.org/wikipedia/commons/3/33/Adobe_Firefly_generated_realistic_portrait.jpg",
        "https://upload.wikimedia.org/wikipedia/commons/c/c5/Imagetitis-affected_editor_by_ChatGPT_4.0_%26_DALL%C2%B7E_3_%282024%29.webp",
        "https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("hydrocore/ai-image-provenance-check").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/3/33/Adobe_Firefly_generated_realistic_portrait.jpg",
    "https://upload.wikimedia.org/wikipedia/commons/c/c5/Imagetitis-affected_editor_by_ChatGPT_4.0_%26_DALL%C2%B7E_3_%282024%29.webp",
    "https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg"
  ]
}' |
apify call hydrocore/ai-image-provenance-check --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hydrocore/ai-image-provenance-check"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/59QIhCduaS5myo10e/builds/lb2ou6qPIhVVlZYVB/openapi.json
