---
title: "Disclose AI-generated content"
description: "What Article 50 of the AI Act asks of an app that generates content or chats with people, who answers for each duty, and how to label output for people and machines. Not legal advice."
canonical_url: "https://nuxt-backend.dev/docs/ship/compliance/ai-transparency"
---
# Disclose AI-generated content

> What Article 50 of the AI Act asks of an app that generates content or chats with people, who answers for each duty, and how to label output for people and machines. Not legal advice.

Version: nuxt-backend 0.6.x · Tab: Ship · Kind: how-to · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

Since 2026-08-02, Article 50 of the EU AI Act asks apps that generate content to mark it, in the file for machines and on the page for people. An app that chats with people must say it is an AI. In 0.2.0, `setupAi({ provenance })` writes content credentials into every generated image and records which model made what, and `<AiLabel>` shows the visible label. Where the labels go, and what your chat says, stays yours.

<warning>

**Not legal advice.** This summarizes [Regulation (EU) 2024/1689](https://eur-lex.europa.eu/eli/reg/2024/1689/oj), Article 50, and the Commission's [Code of Practice on marking and labelling](https://digital-strategy.ec.europa.eu/en/policies/code-practice-ai-generated-content), as they read on 2026-10-25. Whether you count as a provider or a deployer depends on your facts.

</warning>

## What the law asks

<table>
<thead>
  <tr>
    <th>
      Duty
    </th>
    
    <th>
      Who
    </th>
    
    <th>
      What
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Art. 50(1)
    </td>
    
    <td>
      The provider of a system that talks with people
    </td>
    
    <td>
      Tell people they are interacting with an AI, unless it is obvious
    </td>
  </tr>
  
  <tr>
    <td>
      Art. 50(2)
    </td>
    
    <td>
      The provider of a system that generates images, audio, video or text
    </td>
    
    <td>
      Mark the output in a machine-readable format, so it can be detected as AI-generated
    </td>
  </tr>
  
  <tr>
    <td>
      Art. 50(4)
    </td>
    
    <td>
      The deployer who publishes a deepfake, or AI text that informs the public on matters of public interest
    </td>
    
    <td>
      Disclose that the content is generated or manipulated
    </td>
  </tr>
  
  <tr>
    <td>
      Art. 50(5)
    </td>
    
    <td>
      Both
    </td>
    
    <td>
      Give the information clearly, at the latest at the first interaction or exposure, and in an accessible way
    </td>
  </tr>
</tbody>
</table>

- **When.** Article 50 has applied since 2026-08-02. A system already on the market before that date has until 2026-12-02 for the marking duty, Art. 50(2), under the 2026 amendment known as the Digital Omnibus ([summary](https://www.reedsmith.com/our-insights/blogs/viewpoints/102nbz0/transparency-obligations-for-ai-generated-content-the-code-of-practice-adequacy/)).
- **How to mark.** The Code of Practice, final since 2026-06-10, describes how providers meet Art. 50(2). It expects marking that is robust and interoperable, and more than one technique.
- **What is exempt.** A system that only assists standard editing, or doesn't substantially change the input, needs no mark (Art. 50(2)). Evidently artistic, satirical or fictional work needs a lighter disclosure that doesn't spoil it (Art. 50(4)).
- **Penalties.** Up to €15 million or 3% of worldwide annual turnover, whichever is higher, and lower caps for small companies (Art. 99(4) and 99(6)).

## Who answers for what

The company that trained the model has duties of its own as a provider of a general-purpose model. When you put a feature that generates content into your app under your name, you are likely the provider of that AI system for Art. 50(1) and 50(2). When your company publishes generated content, you are its deployer for Art. 50(4). A person who makes a strip for their own, non-professional use is not a deployer.

<table>
<thead>
  <tr>
    <th>
      The package, from 0.2.0
    </th>
    
    <th>
      You
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      A content-credentials manifest (C2PA) in every generated image, signed with your app's key
    </td>
    
    <td>
      Keep the manifest: don't re-encode images in a way that strips it
    </td>
  </tr>
  
  <tr>
    <td>
      The IPTC digital source type <code>
        trainedAlgorithmicMedia
      </code>
      
       in the image's metadata
    </td>
    
    <td>
      Mark audio, video or text your app generates some other way
    </td>
  </tr>
  
  <tr>
    <td>
      A provenance record on every job result: the model, the time, and the inputs' ids
    </td>
    
    <td>
      Keep the records as long as you may need to show them
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <AiLabel>
      </code>
      
      , the visible "AI-generated" label
    </td>
    
    <td>
      Put it beside every generated result, including on share pages
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      Tell people in a chat that they talk to an AI
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      Decide whether any output is a deepfake, and disclose it
    </td>
  </tr>
</tbody>
</table>

## Label what a model made

<steps level="3">

### Turn on provenance

Pass `provenance` to `setupAi`:

```ts [backend/ai.ts]
import { setupAi } from 'nuxt-backend/ai'
import { components } from './_generated/api'
import { billing } from './billing'
import { rateLimiter } from './rateLimiter'

export const ai = setupAi(components, {
  billing,
  rateLimiter,
  provenance: true,
})
```

`true` turns it on with the defaults; `{ name }` sets the generator name each manifest shows. Every image a job step or a metered action stores through `ctx.storeImage` now carries a signed C2PA manifest and the IPTC digital source type. Every job result carries `provenance`: the model, the time and the ids of its inputs. [Label AI-generated content](https://nuxt-backend.dev/docs/build/ai/provenance) covers the signing key and the record.

### Show the label beside the result

```vue [app/pages/strips/[id].vue]
<script setup lang="ts">
import { api } from '#backend/api'

definePageMeta({ auth: true })

const route = useRoute()
const strip = useQuery(api.strips.get, () => ({ id: route.params.id as string }))
</script>

<template>
  <figure v-if="strip">
    <StorageImage :get-url="api.storage.getFileUrl" :storage-id="strip.imageId" :alt="strip.caption" />
    <figcaption>
      {{ strip.caption }}
      <AiLabel />
    </figcaption>
  </figure>
</template>
```

You should see "AI-generated" under the strip. The label is text, not only an icon, so screen readers announce it.

### Say it in your chat

If your app has a chat ([Chat](https://nuxt-backend.dev/docs/build/ai/chat)), say on the chat itself that replies come from an AI, before the first message. A line above the input is enough.

### Check the marks

Download a generated image and drop it into the [Content Credentials inspector](https://contentcredentials.org/verify). You should see your app as the signer, the model and the time.

</steps>

## Limits

- **Metadata can be stripped.** Many platforms remove metadata on upload, and a screenshot drops it. The Code of Practice expects more than one technique. The package writes metadata, not an invisible watermark.
- **Text has no mark.** Plain text can't carry a manifest. Label generated text on the page, and keep its provenance record.
- **Detection tools are still arriving.** Interoperable detection of watermarks is due later, by 2027-02-02 under the Code of Practice.
- **Other countries.** This page covers the EU. Other places, such as California and China, have their own labelling rules.

## Related

- [Label AI-generated content](https://nuxt-backend.dev/docs/build/ai/provenance): the signing key, the record and the label in detail.
- [Moderate user content](https://nuxt-backend.dev/docs/ship/compliance/moderation): what to do when generated content breaks the rules.
- [Keep content safe](https://nuxt-backend.dev/docs/build/ai/content-safety): check prompts and uploads before you generate.
- [AI gateway](https://nuxt-backend.dev/docs/services/ai-gateway): where the models run.
- [Compliance](https://nuxt-backend.dev/docs/ship/compliance): who answers for what.


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
