OpenCorpo API
One API key for three APIs: Compliance (EU AI Act Article 50 marking for images), Video (summary, timestamped description, transcript and an AI video prompt) and Metadata (inspect and remove hidden metadata from images, video and text). AI agents and chat apps can use the same APIs through the MCP server.
Base URL:
https://api.opencorpo.com
Requests and responses are JSON, except file uploads, which are multipart/form-data. Every billable response contains a billing object saying what the call cost. Prices are on the pricing page and at GET /v1/pricing.
Quick start
Create an account at app.opencorpo.com, create a key under API keys, then:
export OPENCORPO_API_KEY=sk_live_...
curl https://api.opencorpo.com/v1/account -H "X-API-Key: $OPENCORPO_API_KEY"
Authentication
Send your key in either header. Keys start with sk_live_, are shown once when created, and can be revoked at any time in the app.
X-API-Key: sk_live_...
# or
Authorization: Bearer sk_live_...
Keep keys on your server. Never ship them in a browser or mobile app.
Billing & free tries
- Free tries. Every account gets 3 free calls of each API (compliance, video, metadata). A free video analysis covers up to the first 5 minutes with the default model,
standarddetail and automatic fps; a request for anything else is charged to your balance. - Prepaid balance. After that, each call is charged to your balance. Top up in the app by card; auto-recharge is optional.
- Euros, or pay in dollars. Prices, your balance and every
charged_eurare in euros. In the app you can pay a top-up in US dollars ($5 to $1000): Stripe charges your card in dollars and your balance is credited with the euros that payment converts to at Stripe's rate, shown in your ledger. Auto-recharge is charged in euros. - Prices on this page: Dollar amounts are approximate, at the ECB reference rate of 2 December 2026. Prices are charged in euros.
- Never surprised. If your available balance cannot cover a call, it is refused with
402 insufficient_fundsand nothing is charged. - Failures are free. A request that fails on our side is not charged and does not use a free try.
- Video. Billed per started minute of the analysed video, once per video whatever outputs you request (×3 for
qualitymodel, ×2 forhighdetail). The cost of the longest analysis your balance allows is reserved when the job starts and the actual length is charged. If your balance covers less than the whole video, the analysis stops there and the job is markedtruncated.
Every billable response includes:
"billing": { "price_key": "compliance.sign", "charged_eur": "0.010000", "free_trial": false }
Errors
Errors always use one shape. retryable tells you whether retrying the same request can succeed.
{
"error": {
"code": "insufficient_funds",
"message": "This request costs EUR 0.001 and your available balance is EUR 0. Top up at https://app.opencorpo.com/dashboard/billing.",
"retryable": false,
"details": { "required_eur": "0.001000", "available_eur": "0.000000", "topup_url": "https://app.opencorpo.com/dashboard/billing" }
}
}
| Status | Codes | Meaning |
|---|---|---|
| 400 | invalid_youtube_url unsupported_media_type invalid_image | The input cannot be processed. |
| 401 | missing_api_key invalid_api_key | No key, or a wrong or revoked key. |
| 402 | insufficient_funds | Free tries used and the balance cannot cover the call. Nothing was charged. |
| 404 | job_not_found asset_not_found upload_not_found | No such object in your account. |
| 409 | job_not_completed | Exporting a job that has not finished. |
| 413 | file_too_large | Over the size limit (see Limits). |
| 422 | invalid_request video_too_long clean_failed | The request is well-formed but cannot be done. |
| 429 | concurrency_limit rate_limited | Too many video jobs running at once, or too many requests. Retry later. |
| 5xx | internal_error compliance_unavailable | Our side. Never charged; safe to retry when retryable. |
A failed video job reports its reason in the job's error object, for example youtube_private or youtube_unavailable.
Limits
| What | Limit |
|---|---|
| Images (compliance, metadata) | PNG, JPEG or WebP, up to 20 MB |
| Video uploads | Up to 500 MB via uploads; 300 MB for the Metadata API |
| Video length | Up to 20 minutes analysed per video |
| Text | Up to 200,000 characters |
| Concurrent video jobs | 3 per account |
| API keys | 20 active keys per account |
Pricing
The live price table, free tries and top-up limits (in euros, and in US dollars for paying a top-up in dollars). These are the prices the API charges, in euros. exchange_rates is the European Central Bank's daily EUR→USD reference rate, for showing approximate dollar amounts only: nothing is charged at it.
Prices on this page: Dollar amounts are approximate, at the ECB reference rate of 2 December 2026. Prices are charged in euros.
curl https://api.opencorpo.com/v1/pricing
Account
Your balance, the amount currently reserved for running jobs, the free tries left and your auto-recharge settings.
{
"currency": "EUR",
"balance_eur": "24.996000",
"held_eur": "0.000000",
"available_eur": "24.996000",
"free_trials_remaining": { "compliance": 0, "video": 2, "metadata": 0 },
"auto_recharge": { "enabled": false, "threshold_eur": "2.000000", "amount_eur": "10.000000", "has_payment_method": false }
}
Ledger
Every charge, free try, top-up and auto-recharge on your account, newest first (limit 1–200).
Auto-recharge
Top up automatically when your available balance drops below a threshold. Needs a card saved during a top-up in the app.
curl -X PUT https://api.opencorpo.com/v1/account/auto-recharge \
-H "X-API-Key: $OPENCORPO_API_KEY" -H "Content-Type: application/json" \
-d '{"enabled": true, "threshold_eur": "5", "amount_eur": "25"}'
| Field | Type | Description |
|---|---|---|
enabled | boolean | Turn auto-recharge on or off. |
threshold_eur | decimal, 0–500 | Recharge when the available balance falls below this. Default 2. |
amount_eur | decimal, 5–1000 | How much to add each time. Default 10. |
Uploads
For large files, especially video: get a presigned URL, PUT the bytes straight to storage, then pass the upload_id to an analysis or metadata call instead of the file. Small images can simply be sent as file.
curl -X POST https://api.opencorpo.com/v1/uploads \
-H "X-API-Key: $OPENCORPO_API_KEY" -H "Content-Type: application/json" \
-d '{"filename": "keynote.mp4", "content_type": "video/mp4", "size_bytes": 84213555}'
# -> { "upload_id": "up_...", "url": "https://...", "method": "PUT",
# "headers": {"Content-Type": "video/mp4"}, "max_bytes": 524288000, "expires_at": "..." }
curl -X PUT "$UPLOAD_URL" -H "Content-Type: video/mp4" --data-binary @keynote.mp4
Uploaded files are deleted automatically after 7 days.
Compliance: sign an image
Applies all three Article 50 layers: a signed C2PA manifest (AI-generated, by which model, for which organization, when), an invisible watermark carrying the asset id, and a perceptual fingerprint in your account's registry. The signed output is always PNG, because JPEG re-encoding would destroy the watermark.
| Field | Type | Description |
|---|---|---|
file or upload_id | file / string | The AI-generated image: PNG, JPEG or WebP, up to 20 MB. |
generator | string | The model that made it, for example dall-e-3. Recorded in the manifest. |
generator_version | string, optional | Model version. |
organization | string, optional | Your organization, recorded as the author. |
curl -X POST https://api.opencorpo.com/v1/compliance/sign \
-H "X-API-Key: $OPENCORPO_API_KEY" \
-F "file=@hero-banner.png" -F "generator=dall-e-3" -F "organization=Acme Corp"
{
"id": "ca_9fbaede80a7bc388b35c",
"object": "compliance_asset",
"status": "signed",
"filename": "hero-banner.png",
"generator": "dall-e-3",
"organization": "Acme Corp",
"content_type": "image/png",
"file_size": 54670,
"signed_sha256": "2bf108e7e8230f9cabfa6ffb4aa2bd0e17a3bdf81b3d1169cfa677a9c9ee23a4",
"layers_applied": ["c2pa_metadata", "invisible_watermark", "content_fingerprint"],
"compliance": {
"eu_ai_act_article_50": true,
"digital_source_type": "trainedAlgorithmicMedia",
"checklist": { "machine_readable_marking": true, "c2pa_provenance_manifest": true, "invisible_watermark": true, "fingerprint_registered": true }
},
"processing_ms": 157,
"created_at": "2026-11-04T18:43:05.312Z",
"download_url": "https://...",
"download_url_expires_in": 3600,
"billing": { "price_key": "compliance.sign", "charged_eur": "0.010000", "free_trial": false }
}
signingCredential.untrusted; the manifest is still read and validated.Compliance: verify an image
Checks an image for all three layers. The fingerprint is compared with every image signed through OpenCorpo and still matches resized or recompressed copies; matched_asset_id is returned only for images in your own account. Accepts file or upload_id; nothing is stored.
{
"has_c2pa": true,
"c2pa": {
"claim_generator": "OpenCorpo 1.0",
"signer": { "issuer": "OpenCorpo", "common_name": "OpenCorpo Platform Signer" },
"title": "hero-banner.png",
"assertions": ["c2pa.actions.v2", "stds.schema-org.CreativeWork"],
"validation_status": [{ "code": "signingCredential.untrusted", "explanation": "signing certificate untrusted" }]
},
"has_watermark": true,
"watermark_id": "ca_9fbaede80a7bc388b35c",
"fingerprint_match": true,
"matched_asset_id": "ca_9fbaede80a7bc388b35c",
"fingerprint_distance": 0,
"compliance_status": "compliant",
"billing": { "price_key": "compliance.verify", "charged_eur": "0.002000", "free_trial": false }
}
compliance_status is compliant when all three layers are present, partial when some are, and non-compliant when none are.
Compliance: signed assets
Your signed images, newest first, each with a fresh download_url. Signed images are kept until you ask us to delete them.
Video: analyze a video
Creates a job. Ask for any of four outputs: summary (one paragraph), description (what is on screen, timestamped), transcript (speech, timestamped) and prompt (a text-to-video prompt to recreate the video, whole and shot by shot).
| Field | Type | Description |
|---|---|---|
source | object | {"type": "youtube", "url": "..."} for a public YouTube video, or {"type": "upload", "upload_id": "up_..."}. |
outputs | array | Any of summary, description, transcript, prompt. Default: all four. The price is the same. |
options.model | string | balanced (default), fast, or quality (×3 price). |
options.detail | string | standard (default) or high (×2 price), for text-dense video. |
options.fps | number | Frames analysed per second, above 0 and at most 2. Default: chosen for the outputs requested. |
options.language | string | The language spoken in the video, as a hint for transcription, for example fr. Default: detected. Transcripts are never translated. |
wait | boolean | Hold the request until the job finishes, up to 90 seconds. Default false. |
Send an Idempotency-Key header to make retries safe: the same key returns the same job instead of creating (and billing) a second one.
curl -X POST https://api.opencorpo.com/v1/video/analyze \
-H "X-API-Key: $OPENCORPO_API_KEY" -H "Content-Type: application/json" \
-H "Idempotency-Key: 7c1e9f40" \
-d '{
"source": {"type": "youtube", "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw"},
"outputs": ["summary", "transcript", "prompt"],
"wait": true
}'
Returns 202 with the job while it is queued or processing, or 200 once it has finished. YouTube videos are fetched by our model provider; we never download them.
The job object
{
"id": "vj_4e7ce795b4a68215a7ac69db",
"status": "completed", // queued | processing | completed | failed | cancelled
"progress_stage": "completed",
"source": { "type": "youtube", "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw" },
"requested_outputs": ["summary", "description", "transcript", "prompt"],
"model": "balanced",
"detail": "standard",
"fps": 1.0,
"duration_seconds": 19,
"duration": "00:19",
"truncated": false,
"billed_minutes": 1,
"charged_eur": "0.050000",
"free_trial": false,
"created_at": "2026-11-04T17:11:15.200Z",
"started_at": "2026-11-04T17:11:15.210Z",
"completed_at": "2026-11-04T17:11:33.220Z",
"poll_url": "/v1/video/jobs/vj_4e7ce795b4a68215a7ac69db",
"results": {
"summary": "A young man stands in front of an elephant enclosure at a zoo ...",
"description": [
{ "start": "00:00", "end": "00:04", "start_seconds": 0.0, "end_seconds": 4.0,
"text": "A young man in a red and grey windbreaker stands facing the camera in front of an elephant enclosure ..." }
],
"transcript": [
{ "start": "00:01", "end": "00:04", "start_seconds": 1.0, "end_seconds": 4.0,
"speaker": "Speaker 1", "text": "Alright, so here we are in front of the, uh, elephants." }
],
"transcript_language": "en",
"prompt": {
"prompt": "Medium handheld shot of a young man ... in front of an elephant enclosure at a zoo under overcast daylight ...",
"style": "Early 2000s low-res consumer digital camcorder vlog",
"aspect_ratio": "4:3",
"negative_prompt": "high definition, 4k, cinematic color grade, studio lighting",
"shots": [
{ "start": "00:00", "end": "00:19", "start_seconds": 0.0, "end_seconds": 19.0,
"prompt": "Continuous medium handheld shot of a young man ... talking to the camera outside an elephant pen ..." }
]
}
}
}
results appears only on completed jobs and contains only the outputs you asked for. A failed job has an error object instead, and is not charged.
Video: get a job
With wait (seconds), the request is held until the job finishes or the time runs out (at most 90 seconds), so you can loop on it instead of sleeping.
Video: list jobs
Newest first, without results. Paginate with before set to the previous page's next_before while has_more is true.
Video: cancel a job
Cancels a queued or processing job and releases its reserved amount. A free try comes back only if the job had not started yet. Cancelling a finished job does nothing.
Video: delete a job
Deletes the job, its results and its stored source file.
Video: export
format: srt, vtt, txt or json. source: transcript, description or prompt. Returns a file download.
curl -o keynote.srt "https://api.opencorpo.com/v1/video/jobs/vj_.../export?format=srt" \
-H "X-API-Key: $OPENCORPO_API_KEY"
Metadata: images
Inspect reports EXIF (camera, software, GPS location), XMP and IPTC fields, PNG text chunks and C2PA manifests, plus ai_signals: traces of an AI generator. Clean rewrites the file without them. Pixels are never decoded or re-encoded, so there is zero quality loss (pixels_modified: false). Send file or upload_id; for clean, keep_color_profile (default true) keeps the ICC profile so colours do not shift.
curl -X POST https://api.opencorpo.com/v1/metadata/image/clean \
-H "X-API-Key: $OPENCORPO_API_KEY" -F "file=@photo.jpg"
{
"removed": ["EXIF (APP1)"],
"original_size_bytes": 1654,
"output": {
"id": "md_d3d7a43f627002d6b93d",
"size_bytes": 1452,
"content_type": "image/jpeg",
"download_url": "https://...",
"download_url_expires_in": 3600
},
"pixels_modified": false,
"billing": { "price_key": "metadata.image", "charged_eur": "0.003000", "free_trial": false }
}
Cleaned files are kept for 24 hours.
Metadata: video
Inspect lists container and stream tags (encoder, creation time, location, titles, comments, handler names) and C2PA data. Clean copies every stream bit for bit into a new container without metadata: nothing is re-encoded. Up to 300 MB; send larger files through uploads.
Metadata: text
Finds zero-width characters, text-direction overrides, variation selectors, soft hyphens, lookalike spaces, letters from other alphabets mixed into Latin words, and Unicode tag characters, which can hide whole instructions inside text (“ASCII smuggling”); hidden tag text is decoded into hidden_message. Clean returns the text with all of it removed and every visible character unchanged. Text is never stored.
| Field | Type | Description |
|---|---|---|
text | string | Up to 200,000 characters. |
normalize_homoglyphs | boolean | Replace lookalike letters inside Latin words. Default true. |
normalize_spaces | boolean | Turn lookalike spaces into plain spaces. Default true; set false to keep French non-breaking spaces. |
curl -X POST https://api.opencorpo.com/v1/metadata/text/inspect \
-H "X-API-Key: $OPENCORPO_API_KEY" -H "Content-Type: application/json" \
-d '{"text": "Reset your pаssword."}'
{
"length": 21,
"cleaned_length": 20,
"findings": { "zero_width": 1, "homoglyph": 1 },
"total_removed_or_replaced": 2,
"hidden_message": null,
"positions": [ { "index": 20, "codepoint": "U+200B", "category": "zero_width", "name": "ZERO WIDTH SPACE" } ],
"ai_signals": [],
"billing": { "price_key": "metadata.text", "charged_eur": "0.001000", "free_trial": false }
}
/clean returns text (the cleaned text), findings, total_removed_or_replaced and hidden_message.
MCP server
The three APIs are also an MCP server, so AI agents and chat apps can call them as tools: Claude (web, desktop, mobile and Claude Code), ChatGPT, Cursor, VS Code, the Claude API and the OpenAI Responses API. Same account, same free tries, same balance and the same prices as the REST API. Setup guides for each app: opencorpo.com/mcp-server.
https://api.opencorpo.com/mcp
Streamable HTTP, POST only. The server is stateless and speaks MCP 2026-07-28 as well as clients still on 2025-03-26, 2025-06-18 and 2025-11-25.
MCP: connecting
- Chat apps (Claude, ChatGPT): OAuth. Add the URL as a custom connector. The app opens app.opencorpo.com, you sign in and approve, and it receives a token for your account. Nothing to paste. OAuth 2.1 with PKCE; clients identify themselves with a client metadata document or register dynamically. Discovery starts from the
401on/mcp(/.well-known/oauth-protected-resource/mcp). - Developer tools and APIs: your API key, as
Authorization: Bearer sk_live_...orX-API-Key, exactly like REST. - Permissions. An OAuth connection asks for
mcp:read(prices, balance, video results) andmcp:spend(anything billable). A connection withoutmcp:spendgets the tool errorinsufficient_scopeon paid tools. - Disconnect any app in the dashboard under API keys → Connected apps; it stops working at once. OAuth tokens work only on
/mcp, never on the REST API.
# Claude Code, with an API key
claude mcp add --transport http opencorpo https://api.opencorpo.com/mcp \
--header "Authorization: Bearer $OPENCORPO_API_KEY"
MCP: tools
| Tool | What it does | Price |
|---|---|---|
sign_image | C2PA manifest, invisible watermark and fingerprint; returns a 1-hour link to the signed PNG. | €0.01 / image |
verify_image | Checks the three layers on any image. | €0.002 / image |
analyze_video | Starts a video analysis (YouTube link or file) and waits up to wait_seconds (60 max) for the result. | €0.05 / minute |
get_video_job | A job's status and results, waiting up to 90 s; long results are paged with section, offset and max_chars. | free |
cancel_video_job | Cancels a job and releases its hold. | free |
inspect_metadata | Reports metadata in an image, a video or a text. | €0.003 / file, €0.02 / file or €0.001 / request |
remove_metadata | Lossless clean copy (1-hour link), or the cleaned text. | as above |
create_upload | A presigned PUT URL for big or private files; returns an upload_id. | free |
get_account, get_pricing | Balance and free tries; the price list. | free |
Files in. Each file tool takes exactly one of: url (a public https link, which OpenCorpo downloads), file (a chat attachment from apps that pass files, such as ChatGPT), base64_data (up to 8 MB, not for video analysis), or upload_id. analyze_video also takes youtube_url. The file type is read from the file itself. Text tools take up to 50,000 characters.
Results. JSON in structuredContent (and as text), with links for files. Paid tools carry the same billing object as REST. Errors are tool results with isError: true and the same error codes; insufficient_funds includes the top-up link. Text taken from your files (metadata values, transcripts) is returned as data, stripped of invisible characters.