Loading...
Loading...
Gate every generation through a brand policy file.
npx skill4agent add picsart/gen-ai-skills enterprise-brand-governorbrand.mdbrand.mdbrand.md~/.gen-ai/audit/brand.mdbrand.mdgen-ai validategen-ai generategen-ai batch runbrand.mdgemini-3-pro-imageviolation{
"defaults": {
"model": "flux-2-pro"
},
"metadata": {
"policy_id": "brand.md@sha:a4f1c9",
"policy_version": "2.3.0",
"policy_mode": "reject",
"approver": "brand-governance@company.com",
"escalation_channel": "#brand-review",
"audit_id": "GOV-2026-04-CAMPAIGN-LAUNCH",
"compliance_tags": ["GDPR", "US-FTC-native-ad"],
"data_residency": "eu-west-1"
},
"jobs": [
{
"id": "launch-hero-001",
"prompt": "Production launch hero. Editorial hero, team of four diverse professionals collaborating, modern office, natural light, brand palette. Apply brand.md constraints and require legal review before publishing."
}
]
}approvedflaggedrejected| Sub-task | Model | Notes |
|---|---|---|
| Prompt compliance check | | Cheap pre-flight before image spend |
| Primary generation (brand-safe) | | Strong prompt adherence, commercial-safe |
| Primary generation (product accuracy) | | Edit-mode when subject must be preserved |
| Post-generation vision audit | | Strong scene understanding for policy checks |
| Upscale approved outputs only | | Never upscale before approval — wastes credits |
gen-ai models info <id>brand.mdenterprise-pinned-registrygen-ai validatebrand.mdflux-2-progen-ai whoami--debug# Pre-flight validate a prompt before spending credits
gen-ai validate --model flux-2-pro --file prompt.json
# Gated single generation
gen-ai generate --model flux-2-pro --prompt "$PROMPT" \
--save-to-drive --drive-folder "Gated-Output"
# Gated batch with retry on transient failures only (not violations)
gen-ai batch run campaign.json \
--concurrency 4 --output ./runs/campaign-2026-04
# Flag mode — for internal / draft contexts
gen-ai batch run drafts.json \
--output ./runs/drafts-2026-04| Scenario | Governance overhead |
|---|---|
| Single gated generate | +0 credits (policy passed in-call) |
| Single gen + vision audit | +1–2 credits |
| Batch of 100, pre-flight only | +~5 credits (text reasoner) |
| Batch of 1,000, full pipeline | +~50 credits + 1 approver hour |
| Quarterly red-team audit | ~1 engineer-day + ~200 credits |