Loading...
Loading...
Localize a campaign across N markets.
npx skill4agent add picsart/gen-ai-skills marketer-localize-campaignmarketer-campaign-kitde-DEfr-FRja-JPar-SApt-BR{campaign}_{locale}_{size}.webpideogram-v3qwen-image-edit-plusflux-kontext-proimagegen-ai batch run localize-de.json --dry-rungen-ai batch run localize-de.json -c 4 -o ./out/de-DEresults.json{locale}{name}{
"defaults": {
"model": "qwen-image-edit-plus",
"imageUrls": ["https://cdn-pipeline-output.picsart.com/.../master-hero.webp"],
"negativePrompt": "low quality, watermark, culturally inappropriate"
},
"jobs": [
{ "id": "hero_de-DE", "prompt": "adapt hero for German market — preserve composition, swap setting to central-European urban, replace overlay text with: \"Jetzt entdecken\"", "aspectRatio": "16:9" },
{ "id": "ad_9x16_de-DE", "prompt": "adapt ad for German market — keep product/subject, swap scene to Berlin street, overlay headline: \"Jetzt entdecken — 20% Rabatt\"", "aspectRatio": "9:16" },
{ "id": "ad_1x1_de-DE", "prompt": "adapt ad for German market — clean background, German headline: \"Jetzt entdecken\", CTA: \"Mehr erfahren\"", "aspectRatio": "1:1" },
{ "id": "email_de-DE", "prompt": "email header for German launch — German copy on-canvas: \"Jetzt entdecken\"", "aspectRatio": "3:1" },
{ "id": "lp_hero_de-DE", "prompt": "LP hero for German market — same product, German subtitle: \"Entdecken Sie die neue Kollektion\"", "aspectRatio": "16:9" }
]
}gen-ai generate -m eleven-multilingual-v2voice| Sub-task | Model | Why |
|---|---|---|
| In-place text swap on clean bg | | Only model that reliably renders legible text in multiple scripts (Latin, Cyrillic, JP, AR) |
| Motif / setting swap, preserve subject | | Strong at in-place edits — keeps composition, swaps scene |
| Instructed edits with reference | | Precise edit-to-prompt adherence, good when you need surgical changes |
| Full regeneration with cultural guidance | | Best photoreal; reference the original as |
| Face/person swap with identity consistency | | Best at persisting or deliberately swapping a subject across renders |
| Multilingual voiceover | | Consistent voice across locales — set |
| Background replacement only | | Pixel-identical subject, locale-appropriate scene |
gen-ai modelsideogram-v3launch_de-DE_9x16.webpvoicedefaultsideogram-v3voicegen-ai whoami--debug| Asset type | Count per locale | Model | Credits each | Per locale | 5 locales |
|---|---|---|---|---|---|
| Hero + ad + email + LP (motif swap) | 5 | | ~2 | 10 | 50 |
| Text-bearing assets (headlines, CTAs) | 4 | | ~3 | 12 | 60 |
| Image subtotal | 9 | ~22 | ~110 credits | ||
| Voiceover (if video campaign) | 1 per locale | | ~1-3 | ~2 | ~10 |
| Grand total | ~120 credits | ||||
| Wall time (sequential per locale, concurrency 4 within) | ~3 min | ~15 min |
flux-2-progen-ai batch run localize-{locale}.json --dry-rungen-ai-use/SKILL.mdgen-ai-workflows/SKILL.mdgen-ai-batch/SKILL.mdworkflows/marketer-campaign-kit/SKILL.mdworkflows/marketer-ad-variant-factory/SKILL.md