
Sign AI Media
https://github.com/f/sign-ai-media- Category
- AI Tools
- Rank
- No. 1640Tools index
Previous survey · No. 1647 ·
- Pricing
- Open Source
- Type
- TOOL
- Builder
- f
- GitHub
- 12 stars
- Date
About
Sign images and videos with C2PA provenance declaring AI-generated media.
What it does
A focused Node.js toolkit that records how generated media was made, then cryptographically attaches that history to the asset. Users can supply generator identity, model details, prompts, inputs, creation actions, and training policies. It can also inspect signed media and return a readable or structured summary.
Why it's ranked here
The narrow scope is its advantage. It turns common AI-generation details into standards-based manifests without requiring users to assemble low-level C2PA structures. Command-line, TypeScript, and browser interfaces cover both automation and experimentation. Production use still demands proper credential management and attention to native platform support.
What's good
Defaults encode useful meaning: creation action, software identity, an IPTC source classification, and CreativeWork metadata. Optional fields cover prompts, seeds, schedulers, model references, ingredients, and training policies. The viewer reports validation issues and supports trust anchors, remote manifests, readable output, and structured JSON.
Tradeoffs
Bundled credentials are explicitly for development, so public provenance requires your own certificate and private key. The Node dependency uses native bindings; uncommon platforms may need a Rust toolchain. Browser signing also embeds development credentials. Prompt text becomes readable metadata, and the focused viewer does not replace a general standards-level C2PA inspection tool.
How to use it well
Use it in model hosts, generation services, queues, CMS integrations, dataset tooling, or internal media pipelines that need consistent provenance at creation time. Start with the browser demo for experiments, then pin browser builds and supply production credentials. Keep a broader C2PA utility nearby when you need exhaustive manifest analysis rather than AI-focused summaries.
Technical notes+
package.json defines an ESM npm package with a sign-ai-media binary, generated declarations, and dependencies on @contentauth/c2pa-node, commander, and zod. src/index.ts builds claim-version-2 manifests, supports local signers, ingredients, remote manifests, trust verification, and metadata extraction. src/cli.ts validates inputs and maps CLI options into the library API. web/src/browser-api.ts uses the inline WebAssembly SDK, while web/src/signer.ts implements ES256 browser signing with bundled development credentials and web/src/cose.ts constructs padded COSE_Sign1 values. web/vite.browser.config.ts emits a single ESM browser bundle.
Observed
- License
- GPL-3.0-or-later
- Primary language
- TypeScript
- Packaging
- ES module npm package with JavaScript output and TypeScript declarations
- Install surface
- Install through npm or run directly through npx
- Interfaces
- Command-line tool, TypeScript library API, browser ESM bundle, and browser demo
- Platform support
- Prebuilt native bindings for common macOS, Linux, and Windows platforms; other platforms may require Rust
- Media formats
- MIME inference covers AVIF, JPEG, PNG, TIFF, WebP, AVI, MOV, and MP4
Read from README.md, package.json, src/cli.ts, src/index.ts, web/vite.config.ts, web/vite.browser.config.ts, web/src/main.ts, web/src/c2pa.ts, web/src/cose.ts, web/src/signer.ts, web/src/manifest.ts, web/src/vite-env.d.ts, web/src/browser-api.ts, LICENSE, tsconfig.json.
What it can do
Sign images with C2PA provenance metadata
AI-generated image file → Image file with embedded C2PA provenance signature
Sign videos with C2PA provenance metadata
AI-generated video file → Video file with embedded C2PA provenance signature
Declare AI-generated origin in media files
AI-generated image or video → Media file with AI-generation declaration
Add content authenticity certificates to media
Digital image or video file → Media file with C2PA authenticity certificate
Embed provenance data into media files
Image or video file → Media file with embedded provenance information
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.