SkillsGrove
SkillsGrove/デザイン・画像/SupercmoHQ/superCMO-skills/generating-product-photos

generating-product-photos

インストール

$npx skills add https://github.com/SupercmoHQ/superCMO-skills --skill generating-product-photos
$git clone --depth 1 https://github.com/SupercmoHQ/superCMO-skills.git /tmp/superCMO-skills && mkdir -p ~/.claude/skills && cp -r /tmp/superCMO-skills/skills/generating-product-photos ~/.claude/skills/generating-product-photos
この Agent Skill をインストールしてください:https://github.com/SupercmoHQ/superCMO-skills/tree/af81d4f75a962d4b1bf99df6dfd2b705486a3aba/skills/generating-product-photos — まず SKILL.md とスクリプトを読み、安全であることを確認してから、私のスキルフォルダにインストールしてください。

概要

原文の説明 · Apache-2.0ALWAYS read this skill before generating a product photography — before writing any prompt or calling image_generate. Turns a product photo or URL into commercial photography - packshots, lifestyle and campaign frames, on-model, macro detail, flat lays, seasonal staging, infographics, concepts and floating shots. Reads the real product first and holds it identical across every frame. Triggers: "product photo", "packshot", "shoot my product", "studio shot", "lifestyle shot", "hero image", "on a model", "flat lay", "product infographic", "floating product".
以下の SKILL.md は SupercmoHQ/superCMO-skills(コミット af81d4f)から Apache-2.0 ライセンスに基づいて転載しています。本文は変更しておらず、ファイル先頭のメタデータのみ省略し、画像はリンクとして表示し、非常に長いファイルは途中までの表示としています。Copyright owner or entity authorized by。ライセンス:LICENSE。表示しているのは指示ファイルのみです。スクリプト等は元のリポジトリをご覧ください。

Product Photography

Turn a product into commercial imagery via the image_generate tool. Marketplace listing galleries are out of scope, and a finished advertisement — one built on a headline, an offer, a call to action, or a promotional before/after or comparison — belongs to generating-image-ads, not here. Anything whose subject isn't a product should not be created with this skill.

Workflow

Step 1: Read what you have

  • A product image or URL is available → hand it to analyzing-products, and take four things back: what the product is; how a person physically uses it — sprayed, pumped, worn, etc.; which parts open or move, and in what order; and the details that have to stay identical wherever it appears.
  • Look at the image before you describe it. Take the product only from what the image shows — not the brief, not the filename, not the product name. Run image_analysis and ask it for everything this shoot needs that the product facts leave out — how the surfaces take light, and whatever else the frame you end up building will have to describe.
  • Product not supplied → don't guess at the product. It becomes the first thing Step 2 asks for.

Step 2: Interview

Skip this entirely when the brief already makes the shot obvious — a clear subject, a clear use, and nothing load-bearing missing. The interview exists to close real gaps, not to confirm what you were already told.

Otherwise ask once, bundled into a single message, at most four questions. Always leave a free-text way out so the user can answer off-menu. Anything this skill already settles is not a question.

Do ask, when the answer is genuinely missing:

Ask When
The product — what it is, and whatever else identifies it: packaging, colour, distinguishing features No image and no URL. Offer to wait for an upload first; a photographed product beats a described one.
Brand guidelines, if they have any — the color palette, the art direction they shoot to, anything they never put in frame, the typeface where text is drawn, and the register they want the frame to read at The brief mentions none and the packaging doesn't imply them. Treat as optional: plenty of brands have none, so take what they give and move on.
Who the buyer is The frame has to speak to a particular buyer — like which features an infographic calls out, whose home a lifestyle scene is set in, who gets cast on-model, etc.
How many frames, and where they run The brief doesn't say, and the destination changes the crop.

When the user waives questions and the product is already in hand, go straight to generating. Take studio, since that is where an unrouted request lands anyway; take the tool's default ratio. Say in a sentence which settings you took, then keep going. It is a statement, not a checkpoint.

A missing product image is the one thing still worth raising.

Step 3: Select the mode and read the corresponding reference file

The ask is about… Mode Reference
The product on its own against a clean, controlled background studio references/mode-studio.md
The product somewhere real, being used or lived with lifestyle references/mode-lifestyle.md
One polished frame leading a campaign — the product made to look desirable hero references/mode-hero.md
Worn, held, or applied to skin on-model references/mode-on-model.md
Texture, material, craft, a tight crop on the thing itself close-up references/mode-close-up.md
Arranged on a surface, shot from directly above flat-lay references/mode-flat-lay.md
Tied to a holiday, season or buying moment seasonal references/mode-seasonal.md
Feature labels, callouts, specs or dimensions drawn onto the image — an informational before-and-after or comparison infographic references/mode-infographic.md
Breaking the pattern to stop a scroll — unexpected, impossible, or unlike how this product is normally shown creative references/mode-creative.md
Suspended mid-air, defying gravity floating references/mode-floating.md

Route on what the image is for, not on a matched word.

Where two rows both fit, these win:

  • A person in frame → on-model, whatever the setting or the crop would otherwise say.
  • Text drawn onto the image → infographic, whatever else is in frame.
  • One plane, shot from overhead → flat-lay
  • One property at close range → close-up, even inside a setting.
  • The occasion is the sell → seasonal
  • The brief asks for something unexpected, surprising or scroll-stopping → creative, even when it also names a placement.

Step 4: Write the product description

You read the mode guide in Step 3, so you know what this shot has to show. Write one description of the product, and reuse it unchanged in every prompt you send.

How much to write depends on whether a photo is going with the call. With a reference attached, the photo carries identity and the description covers only what it cannot: the angle you want, the state the moving parts are in, the action being performed. With no reference, the description is all the model has, so it carries the product in full from the list below.

  • Form — shape, proportion, how it sits or stands, or whatever else pins the silhouette down.
  • Closure and moving parts — a cap, a hinge, a zip, whatever this product has, and whether the shot wants it open or shut.
  • Materials and finish, surface by surface — matte or gloss, brushed, woven, translucent or something else.
  • The action, wherever the frame has one — the specific thing being done to the product, taken from the mechanic Step 1 established rather than invented to suit the composition. Write it as the physical movement it is, and say what the product is doing at that instant: what has left it, what is about to, which part has moved, etc.

The mode guide decides how much of this the prompt carries — the whole product for some, a single property for a close crop, one description per item where several share the frame.

Don't transcribe what the label says. Spelling out the printing invites the model to redraw it, and redrawn text comes back warped.

Step 5: Select the model

Model Use it when How it wants the prompt written
nano-banana-pro everything, by default connected sentences in one narrative paragraph, never a string of keywords
gpt-image-2 words or graphics are drawn onto the image, or the layout is a designed one. Not for the product's own printed label — that comes from the reference short labelled segments on separate lines, not a paragraph
seedream-5 another model refused, or keeps failing a description rather than keywords, leading with whatever matters most

If the user has explicitly named a model, then use that first.

Step 6: Write the prompt

  • Follow the mode guide from Step 3 to write the prompts, carrying the product description from Step 4 into each one.
  • Read references/photographic-craft.md before writing. It carries the language for light, shadow, colour, material and optics; the style anchor to pick before the first sentence; and the two fixed blocks that close every prompt.
  • Every prompt is assembled in this order: the mode's fixed preservation block, then the scene you write from the mode's fields, then the quality-marker line, then the Avoid block — the last two exactly as references/photographic-craft.md gives them.
  • Every prompt sent with a reference photo states the fidelity requirement. The attached photo does not enforce itself: say outright that the product in frame is the one in the reference and reaches the image unchanged. Anything the photo already settles and does not need to change must not be written out again: a detail spelled out reads as an instruction to draw it, and what gets drawn drifts from the photo. Those words go to what the reference cannot show — the setting, the light, the framing, etc.
  • Where a call carries more than one reference image, label them. Refer to them as Image 1, Image 2 and so on, in the order they are passed. Say what each one is, then use those numbers in the instruction rather than describing the pictures again. Left unlabelled, the model picks its own subject from the set.
  • Scene-specific exclusions go inline, phrased as the thing you want instead — there is no negative-prompt parameter. The closing Avoid block is the one exception, and it is fixed: do not add this frame's own exclusions to it.
  • Don't reserve empty space for text nobody asked for. A region requested as emptiness comes back as an untextured block.
  • A name is not a description. Borrowing someone's name — whoever or whatever it belongs to — buys a vague imitation at best, and some models simply decline the request. Say what you were reaching for instead: the geometry, the palette, how the light behaves. A rival's name has no place in the frame at all, not even as the thing you are steering away from. The only brand name that belongs in a prompt is one for the product you are photographing.
  • No internal name goes in the prompt — not a mode, not a file.

Step 7: Generate

Call image_generate with a requests list (one object per image):

  • Per object: prompt; model; aspect_ratio; resolution; reference_images.
  • resolution is 1k unless the user asked for a higher tier.
  • The product photo goes in reference_images every time. It holds identity; the prompt alone will not.
  • Take the ratio from the user. If they haven't named one, derive it from where the image runs — the destination decides the crop, not the mode. If neither is known, ask in Step 2 or take the tool's default and say which you took.
  • One image per request. Generate a single frame unless the brief asked for more than one. Never generate a second to compare models, to try a different look, or to correct an output you judged poor — every one of those bills again. Where the brief does ask for several, send them as several request objects in the one call.
  • Don't run a vision or analysis call on the image you just generated. Judging your own output is not part of this workflow: it costs another call, and anything it finds you are not permitted to act on. Hand the result to the user and let them decide.
  • An unanswered question is not a yes. If you ask whether to regenerate and no answer comes back, the answer is no — deliver what you have and say what you would have changed. A run with nobody watching cannot consent to being billed twice.
  • Call list_image_models for accepted aspect_ratio values, resolution tiers and per-model reference_images limits rather than guessing — a wrong enum fails a billed call.

Images are polled for you, but a heavy one can come back as {status: "pending", …}. That is a job handle, not a failure. Pass that exact handle to job_status to retrieve the finished image, and if it comes back pending again, call job_status again with the same handle. Never re-run a pending image through image_generate: that abandons the job you are already paying for and starts a second, separately billed one.

Step 8: Return

  • Share the image URLs and local file paths, once every frame has finished — never a partial set.
  • For a set, present them in the order you outlined.

Producing a set of images

Requests generate independently, so build the continuity in:

  1. Draft the frame list and get it agreed before generating anything. Every frame is billed separately, so misreading the brief means paying to generate the entire set a second time.
  2. Fix one look and write it into every prompt unchanged — the palette, the surface, the light, the camera height and angle, whatever else the look is made of. Rephrasing it between frames reads as a new instruction.
  3. Send the same reference image and the same model on every frame. Those two carry the product and hold the set together; wording alone will not.
  4. Vary only what each frame shows. A frame that needs a different setting is a second set, not a member of this one.
  5. Make them genuinely different — near-duplicates test nothing. Give each frame its own argument first and let that pick the staging; frames differing only in camera angle ask the same question twice.
  6. Where the set is a sequence rather than a spread, decide the order first and write each frame to its position: what has to stop someone, what carries the middle, what the last frame leaves them holding. A sequence assembled from interchangeable frames reads as a spread that lost its order.

Common mistakes

  • Writing a freeform prompt instead of what the mode says it must carry.
  • Skipping the interview when something load-bearing is missing.
  • Showing an interaction the product doesn't support, when Step 1 already established what it does.
  • Naming a brand, a photographer or a publication in the prompt in place of describing the look.
  • Re-running a rejected frame without first finding out what was wrong with it.

Edge cases

  • The image came back not as intended — wrong angle, warped label, a look you didn't ask for → deliver it anyway and say what you think is off. Do not regenerate on your own judgement: a second generation bills again, and the user may be happy with the first.
  • A rejection that names no reason → ask what missed before re-running, with options drawn from the mode you just shot, plus free text. A blind re-run bills again and lands elsewhere at random.
  • Safety or policy rejection → name a workable stand-in and resubmit; on a second, try seedream-5; on a third, say which element is blocked rather than retrying blind.
  • Generic failure → read the error. If it names a parameter or limit, fix that and resubmit; otherwise resubmit once, then hand the user the error text.
  • reference_images rejected on count → the error states the limit; drop to it.
  • error: "no_provider_configured" → relay the tool's hint (the user must set their key).

Reference

Mode guides — read the one you routed to; each ends with a checklist to read your prompt against:

  • references/mode-studio.md — the background and its brightness, true colour, sharpness, shadow.
  • references/mode-lifestyle.md — place, hour, motivated light, and what keeps the product the subject.
  • references/mode-hero.md — the open side for copy, the graded key, surviving every delivery crop.
  • references/mode-on-model.md — casting, styling condition, hands, where the crop cuts the body.
  • references/mode-close-up.md — the one property, raking light, apparent source size, the scale cue.
  • references/mode-flat-lay.md — camera plane, arrangement register, the open surface.
  • references/mode-seasonal.md — the single carrier, whose palette it is, props that read as included.
  • references/mode-infographic.md — callout copy, anchors, leader lines, the exposing angle.
  • references/mode-creative.md — the concept, the one departure, coloured sources, what is held dark.
  • references/mode-floating.md — the underside, the displaced shadow, the gap that reads as height.

Shared craft — read on every job:

  • references/photographic-craft.md — the two fixed blocks that close every prompt; the style anchor; light, shadow, colour, material, optics and on-image text; what changes for paid media.
ライセンス全文を見る(Apache-2.0)
                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
NOTICE を見る
SuperCMO Skills
Copyright (c) 2026 Kshitiz Kumar

The media client and marketing skills in this
repository are original work, distributed under the Apache License, Version 2.0.

--------------------------------------------------------------------------------
Bundled fonts (scripts/supercmo_skills/_assets/fonts/)

Inter (Inter-Regular.ttf, Inter-Bold.ttf)
Copyright (c) 2016-2020 The Inter Project Authors (https://github.com/rsms/inter)
Licensed under the SIL Open Font License, Version 1.1 (https://openfontlicense.org).
Used by caption_video to render captions with no system-font dependency.