mehbylabs/creator-skills / skills/creator-product-photo
creator-product-photo
FlaggedBrand-quality product imagery from a product photo or description, using whatever image provider the user has: studio packshots, lifestyle scenes, hands-in-frame close-ups, Pinterest pins, hero banners, social carousels, ad packs, virtual try-on, conceptual/CGI shots, restyles, and marketplace listing sets (Amazon/Etsy/Shopify main image, secondary images, A+ style modules). Use when the user wants product photos, packshots, e-commerce or marketplace images, listing images, product ads, or "put my product in a scene". Not for logos or brand systems (creator-brandkit) or video ads (creator-ad).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.1 KB |
| references/arabic-voice.md | markdown | 7.7 KB |
| references/audio.md | markdown | 3.4 KB |
| references/browser-aistudio-browser.md | markdown | 2.8 KB |
| references/browser-flow-browser.md | markdown | 4.5 KB |
| references/browser-gemini-browser.md | markdown | 4.8 KB |
| references/config.md | markdown | 2.5 KB |
| references/connect.md | markdown | 3.9 KB |
| references/image-prompting.md | markdown | 1.7 KB |
| references/media-ops.md | markdown | 2.4 KB |
| references/modes.md | markdown | 3.5 KB |
| references/providers.md | markdown | 7.0 KB |
| references/video-prompting.md | markdown | 1.9 KB |
| scripts/connect.pyexecutable | script | 16.6 KB |
| scripts/creator.pyexecutable | script | 71.1 KB |
| scripts/media.pyexecutable | script | 15.7 KB |
SKILL.md
View on GitHub---
name: creator-product-photo
description: >-
Brand-quality product imagery from a product photo or description, using whatever image
provider the user has: studio packshots, lifestyle scenes, hands-in-frame close-ups,
Pinterest pins, hero banners, social carousels, ad packs, virtual try-on, conceptual/CGI
shots, restyles, and marketplace listing sets (Amazon/Etsy/Shopify main image, secondary
images, A+ style modules). Use when the user wants product photos, packshots, e-commerce
or marketplace images, listing images, product ads, or "put my product in a scene".
Not for logos or brand systems (creator-brandkit) or video ads (creator-ad).
license: MIT
compatibility: Python 3.9+ and ffmpeg. Best with a provider that accepts reference images.
allowed-tools: Bash Read Write
metadata:
version: "0.3.0"
argument-hint: "<mode> <product photo or description> [--count n] [--ratio r]"
---
# Creator Product Photo
## Step 1 — Inputs
- **Product reference** — strongly preferred: 1–3 clean photos (front, angle, detail).
Without one, the product will be *invented*; say so and get approval for that.
- **Mode** — infer from the request using `references/modes.md`; ask only if two modes fit
equally.
- **Brand** — read config `brand` (colors, logo) if present.
- **Count & ratio** — mode defaults in `references/modes.md`.
Check the route supports references: `python3 scripts/creator.py plan --task image --needs refs`.
If nothing supports references, say the product's exact look can't be preserved and offer
(a) description-only concept shots, or (b) adding a key / enabling Flow or the Gemini app.
## Step 2 — Prompt
Build from the mode template in `references/modes.md`:
`Use image 1 as the exact product — keep its shape, colors, label, and proportions
unchanged.` + scene + lighting + camera + composition + constraints.
Never let the model rewrite label text or logos; if the label must be legible, say
`keep the label exactly as in image 1`.
## Step 3 — Generate
```bash
python3 scripts/creator.py image --prompt "<prompt>" --ref product.jpg --ratio <r> --size 2k --out ./out/<mode>-01.png
```
For sets (carousel, ad pack, marketplace set) generate the hero first, get approval, then
the rest with the *same* style sentence and pinned `--provider`.
Marketplace main image needs a pure white background: generate on white, then if the
background isn't clean, `media.py cutout` and composite onto white
(`ffmpeg -i cut.png -filter_complex "color=white:s=2000x2000[bg];[bg][0]overlay=(W-w)/2:(H-h)/2" -frames:v 1 main.jpg`).
## Step 4 — QA every image
Compare with the reference: shape, color, label, logo, proportions, and count of parts.
Reject and regenerate on any product drift; that's the #1 failure. Then report the set.
## Rules
- Don't fabricate certifications, awards, claims, or reviews in images or copy.
- Marketplace rules (white background, no added text/badges on main image) are in
`references/modes.md`; follow them for listing images.
## References
- `references/modes.md` — every mode: ratio, count, prompt template, rules
- `references/image-prompting.md`, `references/media-ops.md`, `references/providers.md`
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |