Files
hermes-agent/skills/creative/shared/style-lock/scripts/__init__.py
Timmy 7d628ea087
Some checks failed
Docker Build and Publish / build-and-push (pull_request) Has been skipped
Contributor Attribution Check / check-attribution (pull_request) Failing after 24s
Supply Chain Audit / Scan PR for supply chain risks (pull_request) Successful in 37s
Tests / e2e (pull_request) Successful in 3m8s
Tests / test (pull_request) Failing after 35m31s
feat: add style-lock shared infrastructure (#642)
Shared style-lock module for consistent visual style across video generation.
Extracts style embeddings from reference images and provides conditioning
for IP-Adapter, ControlNet, and style token injection.

Used by Video Forge (#52) and LPM 1.0 (#641):
- Color palette extraction (k-means, temperature, saturation)
- Lighting profile (histogram, contrast, directional analysis)
- Texture features (Gabor filter bank)
- CLIP embedding (graceful degradation when unavailable)
- Conditioning output for SDXL/FLUX/ComfyUI backends
- Multi-reference merging for identity photo sets
- Comprehensive test suite (14 tests)

Branch: fix/issue-642-1
2026-04-14 21:29:47 -04:00

2 lines
72 B
Python

"""Style Lock — Shared infrastructure for consistent visual style."""