Loading...
Loading...
Add the official EU AI-content labels (EU icons for labelling AI-generated content, AI Act Art. 50) to images and videos. Use when the user asks to label, watermark, mark, or badge media as AI-generated, AI-modified, or a deepfake, mentions the EU AI icons / AI Act transparency disclosure, or asks to put an "AI" label/badge in a corner of a photo, screenshot, GIF or video.
npx skill4agent add newme616/agent-skills eu-ai-labelassets/python3 scripts/ai-label.py <file...> # basic "AI" icon, bottom-right, auto colour<name>-ai-label.<ext>python3 ~/.pi/agent/skills/eu-ai-label/scripts/ai-label.py clip.mp4 | Icon | When to use |
|---|---|---|
| "AI" badge | AI was involved in creating a deep fake or published text, or you add your own text label / second layer (e.g. "voices generated with" + icon) |
| "AI GENERATED" | The whole thing is AI-generated, no human-created elements or editorial control beyond prompting |
| "AI MODIFIED" | Pre-existing human-made content partially altered with AI (face swap, AI-furnished room, …) |
ai# fully AI-generated video, white icon, bottom-left, slightly bigger
python3 scripts/ai-label.py clip.mp4 -v generated -c white -p bottom-left --height 10
# partially modified photo
python3 scripts/ai-label.py photo.jpg -v modified
# batch into a folder (note: use --suffix=-xyz for values starting with a dash)
python3 scripts/ai-label.py shots/*.png --outdir labelled/ -v generated
# label only the first 5 seconds (still must be visible at first exposure)
python3 scripts/ai-label.py clip.mp4 --enable 'between(t,0,5)'
# busy background: add a backing plate
python3 scripts/ai-label.py clip.mp4 --padding 10 --padding-color 'white@0.85'
# just get the raw asset path / alt text for use elsewhere (web, editor, Figma)
python3 scripts/ai-label.py --print-asset generated --color black
python3 scripts/ai-label.py --print-alt modified
python3 scripts/ai-label.py --list-c/--color auto|black|whiteauto--half-p/--positionbottom-rightbottom-lefttop-righttop-leftbottom-centertop-centerbr/bl/tr/tl/bc/tc--height--width--height-px--width-px--min-px--max-width--margin--margin-px--crf 18--preset medium--vcodec libx264--ffmpeg-arg-n/--dry-run-f/--force--no-metadata--keep-alphatop-leftbottom-left--print-alt