Skip to content

Attribution Agent and Service

Bria's models are trained only on licensed data, and the owners of that data are paid according to how much their content contributes to what customers generate. The mechanism that makes this work is attribution: every output is matched against the training data that influenced it, and the result feeds a revenue-share program with Bria's data partners. This is also what stands behind the commercial indemnity on Bria outputs.

When you call Bria's hosted API, attribution happens automatically and you never see it. This page explains what to do when Bria models run somewhere else, and how to use the Attribution Service API directly.

The Attribution Agent

The Attribution Agent is a small component that runs next to a Bria model wherever the model is hosted outside Bria's cloud: in a BYOC or on-premises deployment, on a third-party inference platform, or in a pipeline built on Bria's published weights.

  • It processes each generated output locally, extracts an irreversible embedding (a vector that cannot be turned back into the image or video), and discards its copy of the asset.
  • It sends only those embeddings to Bria's Attribution Service, in batches, so no generated content leaves your environment.
  • It runs offline, on CPU or GPU, and adds no latency to generation.
  • Running it is a condition of the commercial license and of indemnity coverage for self-hosted models.

Bria provides the agent in the forms that fit your stack:

FormUse it when
Hosted, in the APIYou call Bria's API. Nothing to install.
bria-attribution reference repositoryYou host a Bria model yourself and want a ready-made notebook: pull the attribution model container with your API token and post embeddings to the service.
Python package for BYOC deploymentsYour self-hosted pipeline packages include it; see Deployment options.
Node or plugin integrationsAsk your Bria contact about integrations for specific hosts and tools.

The Attribution Service API

The Attribution Service is the hosted endpoint the agent talks to. You can also call it directly. It supports two modes for images and for video:

ModeEndpointsData that reaches Bria
Send the asset (no compute on your side)POST /v2/image/attribution/by_image, POST /v2/video/attribution/by_videoThe image or video, processed by Bria and not retained beyond attribution
Send embeddings (full data privacy)POST /v2/image/attribution/by_embedding, POST /v2/video/attribution/by_embeddingOnly irreversible vectors computed by the agent in your environment

Requests are asynchronous and return a request_id and status_url like other v2 endpoints; track them with the status endpoint. The model_version (images) or model (video) field tells the service which Bria model produced the output so the right attribution model is applied.

Provenance for your users

Attribution answers "what data shaped this output" on Bria's side. To let anyone verify that an asset came from Bria, outputs also carry a C2PA manifest and an invisible watermark that the public Visual Verification endpoints can read.

Learn more