Index of every page on this site: llms.txt
All skills
mehbylabs avatar

/creator-product-photo

@20452a7
Run it yourself

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).

Use this Skill: https://skilld.dev/gh/mehbylabs/creator-skills/creator-product-photo

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈156 tokens for metadata: the name and description. ≈573 when used: this file. ≈12k more on demand in 12 files.

Description uses 7.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈624 characters, or 7.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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

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

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 alerts10d3 checks · Risk HIGH
  • Gen Agent Trust Hub10d

    This skill provides a suite of tools for generating professional product photos and videos using various AI providers. While it implements security best practices for handling API keys, it includes an installation script that downloads and executes remote code from a third-party source using a risky 'curl to shell' pattern. It also has a potential attack surface for indirect prompt injection from user-supplied product descriptions.

  • Socket10d

    1 alert: gptAnomaly

  • Snyk10d

    Risk: CRITICAL · 2 issues

Signed by skilld at 20452a7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 4 weeks ago
compatibility
Python 3.9+ and ffmpeg. Best with a provider that accepts reference images.
All 1 allowed tools
Bash Read Write
Other metadata
metadata
{
  "version": "0.3.0",
  "argument-hint": "<mode> <product photo or description> [--count n] [--ratio r]"
}

README badge

README badge for mehbylabs/creator-skills/creator-product-photo