Loading...
Loading...
Generate icons, empty states, onboarding for apps.
npx skill4agent add picsart/gen-ai-skills dev-app-assetsmotion-studiodev-screenshot-beautifier./app-assets/gen-ai models info flux-2-pro
gen-ai generate -m flux-2-pro -p "<style prompt>" --aspect-ratio 1:1 --dry-run --debuggen-ai generate -m flux-2-pro \
-p "app icon, 'Rally' focus timer, minimalist gradient, magenta #FF006E to purple #8338EC, soft shadow, rounded-rect canvas, centered glyph, hyperreal studio render" \
--aspect-ratio 1:1 \
--download ./app-assets/icon-master \
--save-to-drive --drive-folder "rally-app-assets"MASTER=./app-assets/icon-master/result.png
# iOS sizes (App Store 1024, iPhone 60@2x/@3x, iPad, Settings, Spotlight, Notification)
for size in 1024 180 120 167 152 76 87 80 58 40 120 87 58; do
sips -z $size $size "$MASTER" --out "./app-assets/ios/icon-${size}.png"
done
# Android (mipmap-mdpi … xxxhdpi: 48, 72, 96, 144, 192, 512)
for size in 48 72 96 144 192 512; do
sips -z $size $size "$MASTER" --out "./app-assets/android/ic_launcher-${size}.png"
done
# watchOS (24, 27.5, 29, 40, 44, 50, 86, 98, 108)
for size in 48 55 58 80 88 100 172 196 216; do
sips -z $size $size "$MASTER" --out "./app-assets/watch/icon-${size}.png"
donegen-ai generate -m flux-kontext-pro \
-i ./app-assets/icon-master/result.png \
-p "splash screen, centered app icon on a vertical gradient, same magenta-to-purple palette, 9:19.5 mobile canvas, calm negative space" \
--aspect-ratio 9:16 \
--download ./app-assets/splashgen-ai batch run app-store-shots.json -c 4 -o ./app-assets/screenshotsdev-screenshot-beautifierfastlane frameitgen-ai generate -m flux-2-pro \
-p "Play Store feature graphic, 'Rally' wordmark, 1024×500, same gradient, key benefit 'Focus in bursts'" \
--aspect-ratio 1024x500 \
--download ./app-assets/storecentered glyph, 15% padding all sides{
"defaults": {
"model": "flux-kontext-pro",
"aspectRatio": "1290x2796",
"imageUrls": ["./app-assets/icon-master/result.png"]
},
"jobs": [
{ "id": "screen-1-hero", "prompt": "iPhone app UI mockup, 'Rally' focus timer home screen, large timer dial, magenta-to-purple gradient, tagline 'Focus in bursts' above the fold" },
{ "id": "screen-2-session", "prompt": "iPhone app UI mockup, active focus session, glowing timer ring at 00:14:23, calm dark background" },
{ "id": "screen-3-stats", "prompt": "iPhone app UI mockup, weekly focus stats bar chart, magenta bars, caption 'You focused 12h this week'" },
{ "id": "screen-4-streak", "prompt": "iPhone app UI mockup, 14-day streak celebration, confetti, flame icon, headline 'Day 14 unlocked'" },
{ "id": "screen-5-settings", "prompt": "iPhone app UI mockup, settings screen, clean list rows, same palette, tagline 'Built for ADHD brains'" }
]
}| Sub-task | Model | Why |
|---|---|---|
| Master app icon (hero render) | | Best photoreal gradients, clean glyphs |
| Icon style variations from master | | Preserves identity, varies background/treatment |
| Vector-style / flat icons | | Clean shapes, flat color, tight edges |
| App Store screenshot mockups with readable UI text | | Renders in-image copy cleanly |
| Splash / onboarding illustration with app icon reference | | Keeps visual DNA across the set |
| Cheap drafts while style-hunting | | Lowest credits |
gen-ai models --mode imagesipsImageMagicksharp-i icon-master.png--drive-folder "<app>-assets"app-assets/STYLE.md| Pitfall | Fix |
|---|---|
| Icon clipped at corners after iOS mask | Re-prompt with |
| Android adaptive icon background bleeds through | Generate foreground with transparent bg ( |
| Screenshots look inconsistent across 5 shots | Always reference the master icon with |
| Store screenshot copy is gibberish | Switch the screenshot model to |
| Watch icon glyph unreadable at 48px | Increase stroke weight + contrast in the master; re-derive |
| Drift between iOS and Android variants | Use one master image, resize locally — do not regenerate per platform |
| Style prompts forgotten 3 months later for "one more screen" | Commit |
gen-ai whoami--debug| Task | Credits | Time |
|---|---|---|
| 1 master icon (Flux 2 Pro, 1024) | 3-5 | ~15-25s |
| Local resize to ~25 icon sizes | 0 | ~5s total |
| 1 splash screen (Flux Kontext Pro, 9:16) | 3-5 | ~15-25s |
| 5× App Store screenshots (Ideogram v3) | 10-20 | ~60-90s batched c=4 |
| 1 feature graphic (Flux 2 Pro, 1024×500) | 3-5 | ~15-25s |
| Full app pack (iOS + Android + watchOS + store) | ~35-50 | ~5-8 min |
gen-ai-use.mdgen-ai-batch.mdgen-ai-workflows.mddev-screenshot-beautifierdev-og-image-service