Current collected state Current
Observed since 21 Oct, 10:46 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Production-grade quality gate for AIGC videos — not a benchmark
中文 | English
AIGC 视频生产级质量门控 —— 不是学术基准,是工程工具。
AIGCQA 填补了学术基准(VBench、EvalCrafter —— 慢、重、仅限研究)与生产质量门控(快速、轻量、可组合)之间的空白。
fast(无需 GPU)/ light(消费级 GPU,CLIP-IQA + open_clip)/ full(LMM)pip install aigcqa # fast 后端(无需 GPU)
pip install aigcqa[light] # + piq CLIP-IQA + open_clip 时序分析
pip install aigcqa[full] # + LMM 解释器(Qwen2.5-1.5B-Instruct)
from aigcqa import quick_assess
result = quick_assess("video.mp4")
print(result.passed) # True / False
print(result.overall_score) # 例如 82.4
print(result.recommendation) # "建议重新生成 frames 30-67"
result.to_html("report.html") # 含雷达图 + 帧时间轴的 HTML 报告
from aigcqa import QualityPipeline, FaceMetric, TemporalMetric, HandMetric, TechnicalMetric
pipe = QualityPipeline(
metrics=[
FaceMetric(backend="light"),
TemporalMetric(backend="light"),
HandMetric(backend="fast"),
TechnicalMetric(backend="light"),
],
threshold=80.0,
weights={"face": 0.3, "temporal": 0.3, "hand": 0.2, "technical": 0.2},
)
report = pipe.run("output.mp4")
report.to_html("report.html")
print(report.to_json())
# 基础评测
aigcqa assess video.mp4
# light 后端,自定义阈值,输出 HTML
aigcqa assess video.mp4 --backend light --threshold 80 --output report.html
# JSON 输出
aigcqa assess video.mp4 --format json
# 使用 LMM 解释器
aigcqa assess video.mp4 --explainer lmm --lmm-model Qwen/Qwen2.5-1.5B-Instruct
# 批量评测整个目录
aigcqa batch ./outputs/
# 查看所有指标
aigcqa list-metrics
| 指标 | fast 后端 | light 后端 | full 后端 |
|---|---|---|---|
face | OpenCV Haar + 拉普拉斯清晰度 | + CLIP 零样本人脸质量 | Qwen2-VL |
temporal | LPIPS 帧间差异 | + open_clip 身份漂移检测 | T2VQA |
hand | MediaPipe 手部检测 | + 骨架几何规则校验 | HandEval + CLIP |
technical | 亮度/曝光分析 | piq CLIP-IQA | FAST-VQA |
| 后端 | 速度 | 是否需要 GPU | 精度 | 适用场景 |
|---|---|---|---|---|
fast | <0.5s/帧 | 否 | 基础 | CI 流水线、快速过滤 |
light | ~1s/帧 | 消费级 GPU | 中等 | 日常生产工作流 |
full | ~3s/帧 | 多卡 | 最高 | 最终质量验收 |
{
"overall_score": 68.4,
"passed": false,
"threshold": 75.0,
"source": "output.mp4",
"metrics": {
"face": {"score": 82.1, "issues": [...], "meta": {...}},
"temporal": {"score": 41.3, "issues": [...], "meta": {...}}
},
"explanation": {
"backend": "rule",
"summary": "视频时序一致性存在明显问题",
"recommendation": "建议重新生成 frames 30-45",
"detail": "时序一致性 41分(较差);人脸质量 82分(良好)"
}
}
from aigcqa import QualityPipeline, TechnicalMetric, FaceMetric, LMMExplainer
pipe = QualityPipeline(
metrics=[TechnicalMetric(backend="light"), FaceMetric(backend="light")],
explainer=LMMExplainer(model_name="Qwen/Qwen2.5-1.5B-Instruct"),
)
report = pipe.run("video.mp4")
print(report.explanation.summary) # 自然语言质量分析
将 examples/comfyui_node.py 复制到 ComfyUI/custom_nodes/aigcqa_node.py。
注册两个节点:
| 版本 | 状态 | 功能 |
|---|---|---|
| v0.1.0 | ✅ 已发布 | 4 指标全后端(fast/light)、规则/LMM 解释器、CLI、HTML+JSON、ComfyUI |
| v1.0 | 规划中 | full 后端(FAST-VQA、LLaVA)、REST API 服务 |
MIT — 详见 LICENSE
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 21 May 2026 | 14 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:46 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:e9a4ef72202587c2dd39e1a3190a16be5a916dcfe0b2f3b0bdddd6c289a0f89e