Skip to content

CSlawyer1985/legal-skillhub / skills/aladin-drama-portrait

aladin-drama-portrait

Verified

阿拉丁·AI短剧数字人肖像权合规工坊把「AI 演员/数字人/换脸/声音克隆做完却因肖像权没授权被投诉下架、数字人授权到期还在用、授权只买了一个平台却全网发、AI 形象神似明星惹官司、被举报时拿不出授权链举证」升级成一条纯本地零依赖的上架前置授权链自查工具链:多源导入(drama-cast 角色卡 _cast.json 双契约兼容/人物资产类型声明 assets.json/授权凭证登记 CSV 或 JSON/drama-publish 发行计划 _publish_plan.json 抽平台)→人物资产五分类(AI原创 ai_original/真人出演 real_actor/第三方数字人 digital_human/换脸 face_swap/声音克隆 voice_clone)逐类判定所需授权→10 条确定性授权链规则(A1缺授权凭证 A2要素缺失 A3已过期 A4即将到期 A5平台越界 A6用途越界 A7撞脸公众人物 A8声音克隆缺授权 A9转授瑕疵 A10平台报备缺失)→门禁评分(P0=25/P1=8/P2=3 扣分,100分制 A-D 档,READY可提审/REVIEW建议整改/BLOCK禁止上架)→自包含 HTML 授权链看板(门禁灯+逐条命中+整改建议)+Markdown 整改清单(可直接交制片执行)+feedback 回灌契约(缺证角色回灌 drama-cast 补授权、越界平台回灌 drama-publish 调发行、续签观察名单、报备提醒)。与 aladin-drama 系列闭环衔接(cast/publish 进,整改反馈回灌 cast 补授权、publish 调发行矩阵)。区别于内容合规工具只扫违禁词与画面红线:本款专管「人」的授权链(肖像权/声音权/数字人许可/换脸源授权),确定性规则可复算、命中带人物名与整改方向、纯本地零依赖零API、授权信息不出本机(法务资产敏感)。触发词:短剧肖像权、数字人授权、换脸授权、声音克隆授权、AI演员合规、肖像授权到期、授权链自查、撞脸明星、数字人合规、AI形象报备、肖像权侵权、portrait rights、digital human license、face swap consent、voice clone authorization、AI短剧、阿拉丁短剧、短剧创作闭环。

references/usage-examples.md

View on GitHub
# 使用场景示例

以下示例均使用内置样例,纯本地运行,授权信息不出本机。

## 场景 1:从角色卡 + 授权登记做完整自查

```bash
# 1) 导入归一:角色卡 + 资产类型声明 + 授权登记 + 发行平台/日期
python scripts/portrait_ingest.py \
    --cast assets/sample_cast.json \
    --assets assets/sample_assets.json \
    --licenses assets/sample_licenses.csv \
    --platforms 红果 抖音 --release-date 2026-08-01 \
    --out _portrait_ir.json

# 2) 授权链自查(目标平台 + 是否已完成 AI 人物报备)
python scripts/portrait_audit.py --ir _portrait_ir.json \
    --platform 红果 --filing-ai-persona no --out _portrait.json

# 3) 渲染看板与整改清单
python scripts/portrait_report.py --report _portrait.json \
    --out-html portrait_board.html --out-md _portrait_fix.md
```

样例预期:命中 7 条(P0=4 / P1=3),门禁 `BLOCK`——顾北辰数字人授权过期且平台越界、
苏文换脸源缺授权、陈曼声音克隆缺授权,另有 2 项撞脸公众人物与 1 项平台报备缺失。

## 场景 2:只登记授权、暂无角色卡

若还没跑 `drama-cast`,可直接手写 `assets.json` 声明人物与资产类型,再配授权登记:

```bash
python scripts/portrait_ingest.py --assets my_assets.json --licenses my_licenses.csv \
    --platforms 红果 --release-date 2026-09-01 --out _portrait_ir.json
python scripts/portrait_audit.py --ir _portrait_ir.json --out _portrait.json
```

## 场景 3:闭环联动(aladin-drama 系列)

- **上游**:`drama-cast` 产出 `_cast.json`(角色清单)→ 本技能 `--cast` 直接读取。
- **发行上下文**:`drama-publish` 产出 `_publish_plan.json`→ 本技能 `--publish` 抽取
  平台清单做越界比对:
  ```bash
  python scripts/portrait_ingest.py --cast _cast.json --assets assets.json \
      --licenses licenses.csv --publish _publish_plan.json --out _portrait_ir.json
  ```
- **回灌**:`_portrait.json` 的 `feedback` 字段给出——
  - `to_drama_cast_missing_license`:哪些角色缺授权,回 `drama-cast` 补登记;
  - `to_drama_publish_platform_conflict`:哪些人物平台越界,回 `drama-publish` 调整发行矩阵;
  - `renew_watchlist`:授权即将/已到期的续签名单;
  - `need_platform_filing`:是否需在平台完成 AI 合成人物报备。

## 人机分工建议

- **脚本负责**:确定性检出(缺证/过期/越界/要素缺失)、评分、生成整改清单。
- **模型 + 人工负责**:撞脸公众人物的相似度判断、授权书条款的法律解读、续签谈判。
  把 `_portrait_fix.md` 交给模型逐条给出"如何取得授权 / 如何区分形象"的具体方案。
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall