/product-shot:product-shotfrom product-shot
Generates commercial-grade product photos using image models: texture/formulation shots, logo-preserving hero images, and clean ad cuts. Provides physical-property prompt grammar, product-preservation discipline, ad-cut recipes, and deterministic color extraction.
Ships in product-shot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
공통 규칙 (이 스킬의 모든 단계에 적용)
사용하는 도구
| 도구 | 쓰는 곳 | 꼭 필요? | 없으면 |
|---|---|---|---|
| 이미지 생성 도구 | 장면 · 광고컷 만들기 | 예 | 프롬프트와 합성 계획까지만 넘긴다 |
| 제품 원본 사진 (배경 지운 것) | 로고를 건드리지 않는 합성 | 로고가 중요하면 예 | 한 번에 생성하되, 로고가 바뀔 수 있다고 먼저 말한다 |
| Python 3 + Pillow | scripts/extract_palette.py 로 제품색 뽑기 | 아니오 | 제품의 정확한 색(hex)을 하나만 묻는다 |
도구 위치. 위 scripts/… 는 사용자 작업 폴더가 아니라 이 플러그인 폴더에 있다. 이 스킬의 기본 폴더 경로 끝에서 skills/product-shot 를 떼고 scripts/ 를 붙이면 된다. 예: 기본 폴더가 …/product-shot/skills/product-shot 이면 도구는 …/product-shot/scripts/ 안에 있다. 이 절대 경로로 부른다. 그래도 못 찾으면 다른 방법으로 넘어가기 전에 「도구를 못 찾았다」고 결과 맨 위에 적는다.
Three jobs, one rule underneath all of them: describe physical reality, and never let the model reinvent what already exists. Image generation itself runs on whatever image tool this environment has; this skill supplies the grammar, the preservation discipline, the recipes, and one deterministic tool (scripts/extract_palette.py).
A generic "make a serum texture" gives plastic-looking goo. A shot reads as real when the prompt names the physics: how thick it is, how light passes through it, how it moves, how it shines. Specify these five axes (pick what fits, don't dump all of them):
Then set the shot: extreme close macro or top-down flat lay, single soft key light or window light, shallow depth of field, seamless or stone or acrylic surface.
Use a reference for shape, not color. If the user has a texture they like, upload it and instruct: match the flow and form of the reference, but rebuild it fresh in the product's own color. Do not clone the reference. Then vary the flow direction, thickness, spread, and droplet placement so the result is a new image, not a copy.
Get the color exactly right (deterministic). Do not eyeball the color or let the model guess it. Run:
python3 scripts/extract_palette.py reference.jpg --n 5
# a specific spot (e.g. the swatch center): --point 512,340
# an average over a region: --box 400,300,80,80
It prints the full palette AND a "product colors (background dropped)" line that filters out the studio backdrop (near-white / near-gray) so the actual formulation color surfaces first, not the seamless behind it. Put that HEX into the prompt ("the formulation color is #E76E59") so the texture carries the real product color. Save the finished texture to composite with the product cut-out or to use in a detail page / social post.
Material sets the finish. How light behaves depends on what the container and formula are: clear glass throws sharp specular highlights and refraction; frosted glass diffuses to a soft glow; a plastic tube gives a broad soft sheen; a jar of cream is matte with dewy micro-speculars; a pump adds a small metallic catch. Name the material so the light matches it.
On product images the classic failure is the brand name mutating by a letter (a real 2026 pain: Torriden coming back as Torniden). Prompting harder rarely fixes it; the fix is the method.
Do not let the model regenerate the product. The moment you ask it to "make a similar product," it reinterprets the packaging and the logo with it.
Lead the prompt with a preservation clause. Something like (rephrase to fit, keep the intent):
Treat the uploaded image as the exact, fixed product. Do not redraw, restyle, re-render, or alter any part of the packaging. The logo, brand name, and all printed text must stay pixel-for-pixel as in the reference: same spelling, letterforms, spacing, position, size, and color. Do not re-typeset or re-draw the logo. Change only the environment around the product.
The line that carries the most weight is the explicit "do not re-draw or re-typeset the logo."
Best of all, don't generate product + scene in one pass. The safest pipeline keeps the model away from the logo entirely:
Even a product floating over splashing water is safer this way: keep the real product pixels, generate only the water, shadow, and backdrop.
Ad cuts are compositions, not just prompts. Start from a real product cut-out (Job 2), then build one of these:
Borrow a composition, not its contents. If the user has an ad they like the layout of, use it the way Job 1 uses a texture reference: match the arrangement (where the product sits, how props are spaced, the light direction, the crop), but rebuild it with this product and this color. Never reproduce the reference's product, brand, or copy.
For each: state aspect ratio, one light direction, one background color (paste a HEX from the extractor), and keep props to a minimum. Minimal reads as premium; clutter reads as a template.
Match the ratio to the channel so nothing gets cropped wrong:
4:5 or 2:31:1 or 4:5 · Threads / Reels / Stories: 9:1616:9 or widerOne-pass generation of a product fails in predictable ways. Watch for these and, if they show up, switch to the cut-out + composite pipeline (Job 2):
Torriden to Torniden) or the typeface drifts. The model retyped it.30ml, certifications). Legal text especially.Guardrail to add to any product prompt: forbid redrawing or retyping the logo and printed text, forbid adding or removing products or parts, forbid changing the count, and forbid altering any printed claim.
extract_palette.py on the reference; keep the HEX.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub hanmariyang/giting-skills --plugin product-shotOther plugins' skills for the same job