|
| 1 | +# SKU Image Studio — OCI GenAI |
| 2 | + |
| 3 | +*A Streamlit-based application that generates lifestyle and product imagery for retail SKUs using Oracle Generative AI. The asset automates the creation of market-localised, shot-type-specific product visuals from structured product inputs, eliminating manual photography briefing and reducing time-to-asset for high-volume SKU catalogues.* |
| 4 | + |
| 5 | +Author: Ali Ottoman |
| 6 | + |
| 7 | +Reviewed date: 27.03.2026 |
| 8 | +--- |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | +--- |
| 13 | + |
| 14 | +# When to use this asset? |
| 15 | + |
| 16 | +*This asset is used by retail, e-commerce, and digital transformation teams when high-volume, market-localised product imagery is required without manual photography overhead.* |
| 17 | + |
| 18 | +### Who |
| 19 | +- E-commerce teams managing large SKU catalogues requiring frequent visual refresh |
| 20 | +- Retail marketing teams producing localised imagery across multiple target markets |
| 21 | +- Digital transformation teams modernising manual product photography workflows |
| 22 | + |
| 23 | +### When |
| 24 | +- SKU volume makes per-product photography cost-prohibitive |
| 25 | +- Market-specific visual variants are required (regional demographics, settings, tone) |
| 26 | +- Rapid concept visualisation is needed before committing to a full production shoot |
| 27 | +- Consistent, brand-aligned output is required at scale |
| 28 | + |
| 29 | +# How to use this asset? |
| 30 | + |
| 31 | +*The asset is deployed as a Streamlit application and guides users through entering product details, selecting visual parameters, and generating imagery.* |
| 32 | + |
| 33 | +### Application Workflow |
| 34 | +1. Enter product details: |
| 35 | + - Product name |
| 36 | + - Description (positioning, materials, key attributes) |
| 37 | +2. Select visual parameters: |
| 38 | + - Target market |
| 39 | + - Shot type |
| 40 | + - Setting / context |
| 41 | +3. Click **Generate Image** |
| 42 | +4. Review: |
| 43 | + - Generated product image |
| 44 | + - Metadata summary (market, shot type, setting, resolution) |
| 45 | + - Prompt sent to the model (for auditability and iteration) |
| 46 | + - Downloadable PNG output |
| 47 | + |
| 48 | +### Key Capabilities |
| 49 | +- Structured prompt construction from discrete UI inputs — no prompt engineering required from the operator |
| 50 | +- Market localisation across five regional profiles (Middle East, Western Europe, North America, South & Southeast Asia, Global) |
| 51 | +- Shot type control: Editorial, Candid, Flat Lay, On-Model, Product Only |
| 52 | +- Setting control: Studio, Home, Urban, Café, Nature |
| 53 | +- Full prompt transparency — the model prompt is surfaced in the UI for review and iteration |
| 54 | +- One-click PNG download per generated asset |
| 55 | + |
| 56 | +### File Structure |
| 57 | +``` |
| 58 | +. |
| 59 | +├── app.py |
| 60 | +├── prompt_builder.py |
| 61 | +├── oci_client.py |
| 62 | +├── requirements.txt |
| 63 | +└── README.md |
| 64 | +``` |
| 65 | + |
| 66 | +### Setup |
| 67 | +```bash |
| 68 | +pip install -r requirements.txt |
| 69 | +streamlit run app.py |
| 70 | +``` |
| 71 | + |
| 72 | +Update `oci_client.py` with your `COMPARTMENT_ID` and `PROFILE_NAME`. |
| 73 | + |
| 74 | +# Useful Links |
| 75 | + |
| 76 | +- OCI Generative AI Documentation |
| 77 | + - https://docs.oracle.com/en-us/iaas/Content/generative-ai/home.htm |
| 78 | + |
| 79 | +# License |
| 80 | + |
| 81 | +Copyright (c) 2026 Oracle and/or its affiliates. |
| 82 | +Licensed under the Universal Permissive License (UPL), Version 1.0. |
| 83 | + |
| 84 | +See [LICENSE](https://github.com/oracle-devrel/technology-engineering/blob/main/LICENSE.txt) for more details. |
0 commit comments