Loading...
Loading...
Selfie to four polished headshots for any use.
npx skill4agent add picsart/gen-ai-skills prosumer-headshot-studiomotion-studio1. INTERVIEW → confirm source, styles, wardrobe, ratios
2. ENHANCE SOURCE → upscale the selfie for better identity lock
3. GENERATE → i2i per style, face reference locked
4. REVIEW → verify face consistency; check hands, eyes, ears
5. REGENERATE → one-at-a-time for misses
6. DELIVER → per-platform folder with correct ratiosgen-ai enhance -i selfie.jpg -m topaz-upscale-image --download ./headshots/srcpicsart-enhancegen-ai batch run headshots.json --dry-run-igen-ai generate -m gemini-3-pro-image -i ./headshots/src/selfie-hd.png \
-p "professional LinkedIn headshot of the same person, dark blazer over neutral knit, soft studio lighting, clean charcoal background, shallow depth of field, 50mm lens look, editorial corporate photography" \
--ar 1:1 --download ./headshots/linkedin./headshots/
linkedin/ 1:1, 1200×1200
ig/ 4:5, 1080×1350
story/ 9:16, 1080×1920
id/ 1:1, 600×600, neutral background
editorial/ 4:5, wider crop{
"defaults": {
"model": "gemini-3-pro-image",
"imageUrls": ["./headshots/src/selfie-hd.png"]
},
"jobs": [
{
"id": "linkedin",
"prompt": "professional LinkedIn headshot of the same person, dark blazer over neutral top, soft studio lighting, clean charcoal background, shallow DoF, 50mm look, editorial corporate photography, exact same face as reference",
"aspectRatio": "1:1"
},
{
"id": "id",
"prompt": "passport-style ID photo of the same person, neutral expression, plain white background, even front lighting, shoulders visible, no shadows, exact same face as reference",
"aspectRatio": "1:1"
},
{
"id": "editorial",
"prompt": "editorial portrait of the same person, moody side light, textured dark background, film grain, 85mm lens, shallow DoF, magazine cover composition, exact same face as reference",
"aspectRatio": "4:5"
},
{
"id": "casual",
"prompt": "casual founder portrait of the same person, natural window light, cafe background blurred, warm tones, slight smile, 35mm lens, documentary style, exact same face as reference",
"aspectRatio": "4:5"
}
]
}| Sub-task | Model | Why |
|---|---|---|
| Primary — identity-locked headshots | | Best face fidelity across restyles, strong prompt adherence |
| Alternative — creative restyles | | Strong i2i edit, faster iteration, slightly less identity-strict |
| Source enhancement / upscale | | Sharpest 2-4× upscale before i2i |
| Softer enhancement (fewer artifacts) | | Gentle sharpen + color; safer for already-good selfies |
| Final-pass upscale for print / 4K web | | Crisps up the output to retina / print quality |
| Background swap only (keep face 100%) | | When the face is perfect but the background is wrong |
| Background removal (for transparent PNG) | | Clean cutout for site / avatar use |
flux-2-progen-ai whoami--debug| Asset | Model | Credits | Time |
|---|---|---|---|
| Source upscale (topaz) | | ~2 | ~15s |
| 1× headshot (Gemini 3 Pro, i2i) | | ~3 | ~25s |
| 1× headshot (Flux Kontext, i2i) | | ~4 | ~30s |
| Final upscale per image | | ~2 | ~15s |
| Typical 4-style set (Gemini) | — | ~16 | ~2 min |
| Typical 4-style set + final upscales | — | ~24 | ~3 min |