Create professional product images with AI via inference.sh CLI.
bash
curl -fsSL https://cli.inference.sh | sh && infsh login
# Clean studio packshot
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "professional product photography, single premium wireless headphone on clean white background, soft studio lighting with subtle shadow, commercial e-commerce style, sharp focus, 4K quality",
"size": "2K"
}'
Install note: The install script only detects your OS/architecture, downloads the matching binary from
dist.inference.sh, and verifies its SHA-256 checksum. No elevated permissions or background processes. Manual install & verification available.
The main image customers see first. Clean, focused, aspirational.
bash
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "hero product shot, premium smartwatch floating at slight angle, clean gradient background transitioning from white to light grey, dramatic rim lighting, subtle reflection below, commercial photography, magazine quality, sharp details",
"size": "2K"
}'
RuleWhyProduct fills 80% of frameMaximizes visual impactSlight angle (15-30 degrees)Adds dimension vs flat front-onOne hero light + fillCreates depth without harsh shadowsNeutral or brand-color backgroundKeeps focus on product
Amazon, Shopify, and most marketplaces require pure white backgrounds.
bash
# Pure white background packshot
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "product packshot, leather wallet standing upright at slight angle on pure white background #FFFFFF, soft even studio lighting, no shadows, e-commerce product photography, Amazon listing style, clean sharp focus",
"size": "2K"
}'
Amazon Requirements:
Product in context — shows how it's used or where it belongs.
bash
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "lifestyle product photography, premium coffee mug on rustic wooden table beside an open book and reading glasses, morning sunlight streaming through window, cozy home atmosphere, shallow depth of field, warm tones, editorial style",
"size": "2K"
}'
Shows product size relative to familiar objects or human hands.
bash
infsh app run falai/flux-dev-lora --input '{
"prompt": "product scale photography, compact portable speaker held in one hand, person showing how small and portable it is, clean blurred background, natural lighting, lifestyle tech photography",
"width": 1024,
"height": 1024
}'
Highlights texture, material quality, or specific features.
bash
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "extreme close-up product detail, premium leather bag stitching and grain texture, macro photography, shallow depth of field, soft directional lighting highlighting texture, luxury product photography, editorial quality",
"size": "2K"
}'
Multiple products or variants together.
bash
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "product collection flat lay photography, three skincare bottles arranged in triangular composition on marble surface, minimal props, soft overhead lighting, beauty product photography, editorial style, coordinated brand aesthetic",
"size": "2K"
}'
AngleBest ForPrompt KeywordEye levelMost products, relatable"eye level shot", "straight on"**Slight above (30°)**Flat lay, food, cosmetics"overhead angle", "45 degree angle"**Bird's eye (90°)**Flat lay compositions"flat lay", "top down", "overhead"Low angleMaking products look powerful/premium"low angle", "looking up at product"3/4 angleMost versatile, shows depth"three-quarter view", "slight angle"
SetupLookPrompt Keywords**Soft box (diffused)**Even, minimal shadows"soft studio lighting", "diffused light"Rim/edge lightingDramatic outline glow"rim lighting", "edge light", "backlit"Natural windowWarm, authentic, lifestyle"natural window light", "golden hour"Hard directionalStrong shadows, editorial"dramatic directional lighting", "hard shadow"Flat/evenE-commerce, no shadows"even lighting", "no shadows", "flat light"
ShadowEffectWhen to UseNo shadowClean, floatingAmazon/e-commerce requirementsContact shadowTiny shadow where product meets surfaceGrounded but cleanDrop shadowSoft shadow below productAdds depth, professionalDramatic shadowLong, directional shadowEditorial, luxury, moodReflectionMirror-like surface belowTech, luxury, premium feel
BackgroundBest ForPrompt KeywordsPure white (#FFFFFF)E-commerce, marketplaces"pure white background"Light grey gradientHero shots, premium"gradient background white to grey"Marble/stoneLuxury, beauty, jewelry"marble surface"Wood/rusticArtisan, food, natural products"rustic wooden table"Colored (brand)Brand consistency"background color [hex]"Lifestyle environmentContext shots"kitchen counter", "desk", "bathroom shelf"
RuleApplicationRule of thirdsPlace product at intersection points for lifestyle shotsCenter dominantE-commerce/packshots — product dead centerNegative spaceLeave room for text overlay if marketing useLeading linesUse table edges, shadows to draw eye to productOdd numbersGroups of 3 or 5 products look better than 2 or 4Triangle compositionArrange 3 items in a triangle for balance
A complete product listing needs 7-9 images in this order:
PositionImage TypePurpose1Hero / packshotPrimary listing image, white background2LifestyleProduct in use/context3Feature calloutKey feature highlighted4Scale referenceSize in hand or next to known object5Detail close-upMaterial quality, craftsmanship6Alternate angleBack or side view7InfographicDimensions, specs, what's included8PackagingUnboxing experience9Social proofRating overlay or lifestyle with captionbash
# Generate a complete e-commerce set
# 1. Hero packshot
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "product packshot, premium bluetooth speaker on pure white background, slight angle, soft studio lighting, subtle contact shadow, e-commerce photography, sharp, 4K",
"size": "2K"
}' --no-wait
# 2. Lifestyle
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "lifestyle product photography, bluetooth speaker on poolside table, summer setting, sunglasses and drink nearby, warm natural light, vacation vibes, editorial style",
"size": "2K"
}' --no-wait
# 3. Detail
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "extreme close-up of speaker grille texture and premium materials, macro product photography, soft lighting, showing build quality, sharp detail",
"size": "2K"
}' --no-wait
# 4. Scale
infsh app run falai/flux-dev-lora --input '{
"prompt": "person holding compact bluetooth speaker in one hand, showing portable size, clean blurred background, natural light, lifestyle tech photography",
"width": 1024,
"height": 1024
}' --no-wait
text
Key: overhead angles, natural light, visible texture, steam/freshness cues
Prompt add: "food photography, appetizing, fresh, natural daylight, shallow depth of field"
Avoid: artificial-looking colors, perfectly symmetrical plating (looks fake)
text
Key: macro detail, reflective surfaces, black or gradient backgrounds
Prompt add: "jewelry photography, macro, sparkle, reflective surface, luxury"
Avoid: flat lighting (kills sparkle), busy backgrounds
text
Key: clean lines, dark or gradient backgrounds, rim lighting
Prompt add: "tech product photography, sleek, modern, rim lighting, premium"
Avoid: warm/rustic backgrounds (wrong aesthetic)
text
Key: flat lay or slight angle, marble/clean surfaces, soft pastels
Prompt add: "beauty product photography, clean, minimal, soft light, editorial"
Avoid: harsh shadows, dark moody lighting (unless luxury/niche)
text
Key: on model or flat lay, lifestyle context, brand mood
Prompt add: "fashion photography, editorial, styled, natural pose"
Avoid: pure white background for lifestyle (save for e-commerce only)
bash
# Generate base product image
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "premium headphones on white background, studio product photography",
"size": "2K"
}'
# Edit: change background to lifestyle
infsh app run bytedance/seededit-3-0-i2i --input '{
"prompt": "change the background to a modern minimalist desk setup with warm afternoon light, keep the headphones exactly the same",
"image": "headphones-white.png"
}'
# Upscale for print
infsh app run falai/topaz-image-upscaler --input '{
"image": "headphones-lifestyle.png"
}'
MistakeProblemFixBusy backgroundsProduct gets lostClean, simple backgrounds — product is the starFlat front-on angleLooks like a mugshotSlight 15-30° angle adds dimensionWrong lighting for categoryTech on rustic wood, food in cold lightMatch lighting to product category conventionsToo many propsDistracts from productMax 2-3 supporting props for lifestyle shotsInconsistent style across setLooks unprofessionalSame lighting setup, same background familyNo scale referenceCustomers can't judge sizeInclude at least one shot with hands or known objectsLow resolutionCan't zoom, looks amateurGenerate at 2K+ and upscale if neededPerfectly centered everythingStatic, boring layoutUse rule of thirds for lifestyle, center only for packshots
bash
npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@flux-image
npx skills add inference-sh/skills@prompt-engineering
Browse all apps: infsh app list