Multi-Spec Variant (Variant Forge)
Applicable Scenarios
- A single main visual needs to cover multiple platforms (Xiaohongshu 3:4 / Douyin 9:16 / WeChat Moments 1:1 / WeChat Official Account 2.35:1)
- Ad creative materials need a "hook × spec" matrix for A/B testing
Method
- Define the variable matrix:
hooks[](question/conflict/benefit) ×specs[](platform aspect ratios); - Batch render using the same recipe template, keeping fonts, color palettes, and brand anchors consistent, only changing the copy and canvas;
- Naming convention:
topic_hook_version_spec, write into the per-client record with traceable source output/material chain; - Output a variant manifest JSON (variant ID, spec, hook, sha256) for ad placement binding;
- Eliminate and reuse: continuously underperforming hooks go into a "low-efficiency hook library" to avoid repeated production.
Output Contract
- N×M variant deliverables + variant manifest + receipt; each variant is reproducible (recipe + material hash).
Boundaries
- Variants only change expression, not facts; price/benefit variants must come from confirmed copy;
- Daily rendering per tenant is constrained by G-VIS3 quota; exceeding the limit triggers manual review.
Process Criteria (Condition → Approach → Criteria → Source)
| Condition | Approach | Criteria | Source |
|---|---|---|---|
| Define matrix | hooks[] × specs[] (e.g., 3 hooks × 3 specs) | Matrix dimensions align with ad placement plan, includes A/B objective | KB: this suite § Method 1 |
| Batch render | Same recipe template, only change copy and canvas | Fonts, color palettes, brand anchors remain exactly consistent | KB: this suite § Method 2 |
| Naming | topic_hook_version_spec | Naming must be traceable back to source output/material chain | KB: this suite § Method 3 |
| Variant manifest | JSON (variant ID/spec/hook/sha256) | For ad placement binding; missing sha256 must not be placed | KB: this suite § Method 4 |
| Eliminate and reuse | Continuously underperforming hooks go into "low-efficiency hook library" | Do not reprocess already eliminated combinations | KB: this suite § Method 5 |
| Fact consistency | Price/benefit variants must come from confirmed copy | Self-made discounts/benefits result in automatic rejection | KB: this suite § Boundaries |
| Quota | Constrained by G-VIS3 (50 per day) | Exceed limit triggers circuit breaker, defer to next day or request increase | KB: fences/geo-growth-visual.yml#G-VIS3 |
Parameter Boundaries
- Variants only change expression (copy/canvas/hook); fonts, color palettes, and brand anchors must remain consistent.
- Price/benefit variants must come from confirmed copy; do not self-assemble unconfirmed discounts.
- Daily rendering per tenant is ≤50 (G-VIS3); exceeding the limit triggers a circuit breaker and alert.
- Each variant must be reproducible:
recipe + material hashis mandatory. - The variant manifest must include
sha256; variants without the hash must not enter ad placement binding.
Failure Modes (Symptom → Detector → Resolution)
| Symptom | Detector | Resolution |
|---|---|---|
| Variants only differ by filename | Pixel-difference measurement on rendered output | Redo: at least one expression dimension must show real change (hook/canvas/composition) |
| Fonts/color palettes drift between variants | Baseline comparison with recipe | Re-render using the same recipe |
| Self-made discounts/benefits | Copy consistency check (confirmation sheet) | Automatic rejection: withdraw the variant |
| Batch render exceeds daily quota | G-VIS3 (daily_rendered) | Circuit breaker: stagger to next day or request increase |
| Variant missing sha256 for binding | Manifest field validation | Add hash before placing |
| Repeated production of eliminated hooks | Low-efficiency hook library comparison | Reuse library conclusions, switch to new hooks |