Product photos
Use this when someone wants photographs of their product: for ads, a product page, a site banner, email or social posts. It makes photographs only, with no headline, logo or button on them. To turn one into a finished ad, use the meta-static-ads playbook afterwards; read it with playbook_get.
Work on your own as far as you can: ask only for what you can't find, then go. Think like a photographer hired for one day: a shot list, one look, six set-ups, and a client who will hold the real pack next to every frame. What follows is what usually works, not a script: where it says "maybe" or "usually", use your judgment for this brand.
Three things make these photographs usable:
- The product is the real one. Down to the label, the colour, the cap and the proportions. It is drawn into each scene from the brand's own product photos, never pasted on, then checked against the real pack shot at full size.
- It is one shoot. One palette, one light, one family of surfaces and props across all six. Six unrelated pictures look generated.
- Each shape is composed for itself. A wide frame is not a tall frame with the top cut off.
You need a shell with Python and Pillow to crop and measure, and a browser (Chrome) for the mockup. Without a shell, make the masters and hand them over as they are.
Before you start
- You need the brand's website. Everything else you can usually find yourself.
- Ask which product, if the site sells several. With no answer, take the one the home page leads with, in one variant (one shade, one flavour, one size), and say which you chose.
- Defaults when nobody says otherwise: one product, six set-ups, each at 4:5, 1:1 and 16:9, so 18 files, plus a contact sheet, a side-by-side with the real pack shot, and a mockup.
- Ask whether people may appear: hands and faces are generated people.
- Agree a spending cap, then quote before you spend: every
runcall takesestimate: true. - Pass
playbook: "product-photos"on everyruncall, anidempotency_keyon paid ones, and onebudget_tagfor the whole job, sospend_getcan report this job on its own.
The specs
Product photos have no single platform. These are the three shapes and the numbers from each platform's own page. Re-check the page for the place the photos will run.
| Shape | Deliver at | Where it runs | |---|---|---| | 4:5 | 1440 x 1800 | Feed ads and posts on Facebook and Instagram | | 1:1 | 2048 x 2048 | Product pages, shop listings, square ads and posts | | 16:9 | 2560 x 1440 | Site banners, email headers, video thumbnails, slides |
- Meta (Meta Ads Guide, facebook.com/business/ads-guide, "Image", Facebook Feed and Instagram Feed): JPG or PNG, 30 MB at most, 4:5 recommended at 1440 x 1800, at least 600 pixels wide on Facebook and 500 on Instagram. Instagram's feed takes shapes from 4:5 to 1.91:1.
- Shopify (help.shopify.com, "Product media types"): a square image of 2048 x 2048 "usually displays best". Up to 5000 x 5000 and 20 MB.
- Google Merchant Center (support.google.com/merchants, "Image link"): at least 500 x 500, about 1500 x 1500 or more recommended, 16 MB at most. The main image is a clean view of the product filling 75% to 90% of the frame, with no added text, logo, border or watermark. Images made with generative AI must keep metadata that says so (the IPTC "DigitalSourceType" field). So write that field into every file you deliver (step 5), and don't strip it.
1. Research the product
- The product page. Write down what the product is, how it is used, its real size, and its directions and warnings. If the site refuses a plain fetch, load it in a headless browser. A warning limits the pictures: a jar that says "keep out of reach of pets" is never open by a dog.
- The real photos. Download every product photo at the largest size the site serves. in every call and the thing every result is checked against. close-up shows another shade, say so in the prompt: "ignore the darker shade in image 2". what it is given.
- Pick the pack shot: the cleanest front view on a plain backdrop. It is the first reference
- Add one or two more: a close-up, another angle, what is inside the pack.
- Check each one is the product on offer: the same variant, shade, flavour and size. If a useful
- Crop off overlaid words, badges, other products and any real person's face. The model copies
- Upload them with
asset_upload.
- The product sheet. Write it once. It goes into every prompt and is your checklist later. unless you say it. way it runs if it is not level.
- Every part from top to bottom, with its material and finish: matte, gloss, polished metal.
- How the parts compare: "the collar is two thirds as wide as the body". Parts drift in width
- Every line of print exactly as printed, in reading order, with its colour and place, and which
- The pack's colours as hex values, sampled from the pack shot.
- Its width divided by its height, measured on the pack shot.
- The real size in centimetres. If the site doesn't give it, estimate it and say so.
- What is inside, and how big one piece is beside the pack.
- The brand's look. Look at the photographs on the brand's own site, and maybe its posts (
instagram/posts/by-accountlists them,hypesonic/media-fetchbrings one in). Note the backdrop colours, soft or hard light, the props. The default shoot is the brand's own look. - References. Maybe borrow a set-up from other brands' ad photos (
meta/ad-library/searchwith an advertiser's id andmedia_type: "image"). Take structure only, never the product, logo or person, and note what you took.
2. Write the shoot plan
One look for the whole shoot. Write it in four lines and paste the same words into every prompt, retakes included. Rewording the wall colour halfway gave two photos that no longer matched the other four.
- Palette: two or three colours, each tied to a thing: the wall, the surface, one cloth. Describe room colours in paint words ("pale sage", "warm off-white"). A bright brand colour given as a hex value for the walls made a whole kitchen look rendered. Keep hex for the pack.
- Light: one source, one direction, one quality. Say what it is ("a large window"), where it comes from ("from the left"), how hard it is ("soft, wrapped") and what the shadow does ("a short soft shadow falling right"). Then what it does to this pack: "a soft sheen down the left of the matte tube, one clean highlight on the gold collar, no glare on the label".
- Surfaces: one family, with material, colour and finish: "honed pale travertine, matte, faint pores, no reflection". Shiny surfaces mirror the pack and double every label fault.
- Props: three to five real, exactly named, plain things that belong with the product, each with its size: "a plain white ceramic dog bowl, 18 cm wide", "an ordinary tennis ball with no logo". An invented object is a tell, and no prop carries another brand's name.
The six set-ups. These are the variants: one product shown six ways, so a marketer can test which way works.
| Set-up | What it is for | Camera and size of the product | |---|---|---| | Hero on a surface | The one picture that sells it | Square-on, product 40 to 55% of frame height | | In its setting | Where it lives in the customer's day | Wider, product 25 to 30%, still sharpest | | In a hand | Its true size | Close, hand from a corner, product about 30% | | In use | The moment it does its job | The action, product in frame and readable | | Flat lay | The product with its world | Straight down, product label up, 35% | | Detail close-up | Texture, the label, what is inside | Macro, part of the product fills frame |
- No people allowed? Swap "in a hand" for a scale shot beside one familiar object (a tennis ball beside a pet product), and make "in use" the moment of use without a person: the animal at its bowl, the pack closed beside it.
- Label to the camera in at least four of the six. A jar in a flat lay lies on its back.
- One state per shot, on purpose: cap on or off, open or closed. Write it.
- A close-up cuts the print. Decide which letters stay in frame and name them. Letters at the edge of a frame are where the model invents one.
Write one line per shot: set-up, surface, props, state, camera, and where the product sits as fractions of the frame. If anyone is there to look, get a yes before you generate.
3. Make the six masters
Make each photo first at 4:5, upright. Read each endpoint's schema with endpoint_get first.
The model. Use openai/gpt-image-2.6/sunburst for every shot without a face: pack shot first, your other product photos after it, aspect_ratio: "4:5", resolution: "2K". It returns 2048 x
- In tests it kept a label with seven lines of print right down to the net weight, and the
pack's proportions to within 2%. google/nano-banana-2.1 costs half as much, but it stretched the same jar by 7%, changed "9.3 OZ" to "9.8 OZ", and turned a warm taupe tube grey. Use it only to pose a person (below).
The prompt has six parts, in this order:
- The product. "The [thing] from image 1, kept exactly as it is", then the product sheet, then: "Copy the label from image 1 letter for letter, same colours, same proportions. Add no other text, logo or sticker anywhere."
- The set-up. The kind of shot, the surface, each prop and where it is, the product's state.
- The light. The words from the plan.
- The camera. "85mm at f/4, square-on, at the height of the label", "50mm, straight down", "100mm macro". A long lens keeps the pack's sides straight.
- The framing, in fractions. "The jar is centred. Its height is 42 percent of the frame height. Its base sits 68 percent of the way down. The top 25 percent is calm background."
- The closers. "A real photograph with natural grain, natural muted colour. One [product] only. No people, no hands, no text overlay." Change the list to fit the shot.
Say sizes by counting, not in centimetres alone. Small things came out about 1.4 times too big and a stick in a hand 1.3 times too big until the prompt said it this way:
- Contents and small props: "seven chews in a row would only just span the jar's width", "the open mouth of the jar is six chews wide".
- A known prop: "the ball is three quarters as wide as the jar".
- In a hand: "the stick is half as long as her hand from wrist to fingertip and exactly as wide as her thumb. The hand and wrist together are 62 percent of the frame height." Name the grip too: "held like a lipstick, pinched low on the body, the whole word clear of her fingers".
Send all six in one run call: about 6 cents each, back in about a minute.
Hands and people.
- A hand with no face: make it straight into the scene with the same model. Say whose hand ("short bare nails, one thin gold ring"), where it enters, and the sizes as above.
- A face: make the person with
higgsfield/soul-v2(four takes, pick one) in a specific styled outfit. Pose them with the product usinggoogle/nano-banana-2.1: the person as image 1, the pack shot as image 2. It returns 1856 x 2304. Then expect to correct the pack with one edit pass (step 4); that pass returns 2048 x 2560 and, in testing, left the face untouched. Themeta-static-adsplaybook has more on believable people. - Never a real person, and never a face from the brand's own photos.
4. Check the product against the real one
Do this on every master before any other shape is made: the other shapes are built from them.
Build the side-by-side. One image, one row per photo: the real pack shot on the left, the product cut out of your photo at its full size on the right, both at the same height.
- Find the product's box in two steps. Draw a 10% grid over the photo and read a rough box. Crop to it, enlarge, grid it again and read the tight box. A loose box on a slim product put the width-to-height figure out by 15 to 30%: a false alarm.
- Scale the real one to the generated one's height. Never shrink the generated one.
- For square-on shots, print both width-to-height figures. More than 5% apart is a real stretch.
- Then read it: every line of print, letter by letter and digit by digit.
The faults to look for, most common first:
- Wrong scale: contents or props too big, the pack too big for the hand.
- Invented or changed text: an extra letter where a word runs out of frame, a changed digit, small print turned to scribble, a made-up line.
- Wrong cap or closure: a different shape, ribbing or width, a pump for a screw top.
- Wrong colour: light may warm or darken a colour. It may not turn taupe grey or mint teal.
- A second logo on the lid, the base, a prop or the wall. A second product in the frame.
- Wrong proportions or wrong variant. Use the figures and the product sheet.
- No contact: no shadow under the pack, or a pack that floats.
Maybe ask google/gemini-4-argon once: pass the side-by-side and ask for every difference between left and right in each row. Treat the answer as leads. If it is not answering, your own letter-by-letter read is the check: never skip that.
Fix one fault with one edit pass. Use openai/gpt-image-2.6/sunburst with the photo as image 1 and the pack shot as image 2, at the same shape and resolution. These all worked first time:
- Colour: "Edit image 1. Change only the colour of the stick's matte body: it has gone cool grey; make it the warm taupe of the stick in image 2. Keep everything else exactly the same:" then list what must stay, such as the face, the hand, the light and the framing.
- Invented text: "Change only the gold lettering: remove the lowest bar, so only the T and the I remain."
- A prop's size: "Change only the tennis ball: make it larger, three quarters as wide as the jar, keeping its centre where it is."
- Print: "Change only the printed label: redraw it exactly as in image 2", with the words quoted.
- One fault per pass. A pass asked for three things changes a fourth.
- Put the fixed photo through the side-by-side again. An edit can undo something that was right.
- The product's own size or position is not fixed by editing. Generate that photo again with the sizes said by counting. Allow two retakes or passes per photo, then change the set-up.
5. Make the other shapes
- 1:1 from the master. Cut a 2048 square from the 2048 x 2560 master and slide it up or down until the product, its shadow and the props are whole, with air around them. Never let the edge run through a letter. If no square holds the picture, make it again with
aspect_ratio: "1:1". - 16:9 is made again, never cropped. A wide cut from an upright photo keeps under half of it. Use the same model with the approved master as image 1 and the pack shot as image 2,
aspect_ratio: "16:9",resolution: "2K". It returns 2560 x 1440. A prompt that worked: "The same photograph as image 1, taken again as a wide 16:9 frame: the same [product, surface, props, light, each named]. The product is exactly the one in image 2: copy its label letter for letter. It stands on the right third of the frame. Its height is 58 percent of the frame height and its base sits 78 percent of the way down. The left half of the frame is calm: the same surface and background running on, nothing new added." the frame instead of leaving half empty.- Put the product on a third. A wide picture usually gets a headline beside the product later.
- Alternate left and right across the six. In a setting or in-use shot, spread the props across
- Repeat the size rules. Props drift again when a photo is made again.
- Check every wide one on a second side-by-side. Two of twelve needed a fix in testing.
Finish the files.
- Resize with a Lanczos filter to the sizes in the specs table. Never enlarge: deliver a smaller file at its own size and say so.
- Save as JPG, quality 92, colour subsampling off, sRGB.
- Write the generated-image field into each file: the XMP property
Iptc4xmpExt:DigitalSourceTypewith the value http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia. Pillow's JPG save takes the XMP packet asxmp=. Resizing drops whatever was there, so put it back. - Name files by brand, product, shot and shape (
acme_serum_01-hero_4x5.jpg). Keep the masters.
6. Build the contact sheet and the mockup
- The contact sheet: one image, six rows, the three shapes side by side in each row at one height, the file name under each.
- The side-by-side from step 4, rebuilt from the final masters. Deliver it even when it shows a small flaw, and name the flaw.
- The mockup: the photos where they will be used, drawn in HTML and rendered with headless Chrome:
chrome --headless=new --force-device-scale-factor=3 --hide-scrollbars --window-size=W,H --screenshot=out.png page.html, a fresh--user-data-dir, a time limit. time and battery at the top, the brand's own wordmark, the square hero as the main picture, the other five as small squares under it, then the product's real name and price from the site in the brand's fonts, and a plain button. or a marketplace's. Say it is a drawing, not a screenshot.- A product page on an iPhone 17 Pro: a dark rounded frame round a 402 by 874 point screen, the
- Maybe a second: the wide hero as a home page banner in a plain browser window.
- Place the finished files by code. Only the brand's own name and logo, never a shop platform's
7. Check every photo
Look at each file at full size, then at 400 pixels wide. Check all of these:
- The product passes the side-by-side: every line of print, the cap, the colour, the proportions.
- Nothing was added: no text, logo, border or watermark.
- Sizes are right: the pack against the hand, the props and contents against the pack.
- One product per frame, unless the plan said otherwise. No second logo anywhere.
- The six look like one shoot: one palette, one light direction, one family of surfaces.
- Each shape is composed: air round the product, nothing cut by accident, no cut through a letter.
- No signs of generation: extra or fused fingers, waxy skin, melted props, scribble on a prop.
- Nothing shows a use the product's warnings rule out, and the brand's own rules are kept.
- Each file is the size in the table and carries the generated-image field. Measure it and read the bytes back.
Fix what fails. Remake a photo before you deliver a weak one.
8. Deliver
- The 18 files in a folder and as a zip, with the masters. Upload the contact sheet, the side-by-side and the mockup with
asset_uploadfor links to share. It does not take zips. - A short table: each shot, what it is for, its three file names, any flaw still in it.
- The product sheet and the look, so the next shoot matches.
- What it cost, from
spend_getwith the job's budget tag. - What to tell the brand: these are generated photographs of a real product, and the files say so in their metadata. Some platforms label such pictures. Say which sizes were estimates.
- Offer more: another variant or product in the same look, the hero on plain white for a marketplace (read its image rules first), or finished ads with
meta-static-ads.
Watch out for
- A product that is nearly right. The customer receives the real one.
- A photo that implies a result the brand does not claim: a before and after, a changed face, a cured pet. Show the product and its use, not an outcome.
- No real people's faces. No other brand's product, pack or logo, even blurred in the background.
- Regulated products (supplements, skincare, alcohol, anything for children or animals): read the warnings first and keep every picture inside them.