🛍️ Product Mockups with AIGen SDK
Create realistic, professional-looking product mockups with just a few lines of code. Use AI to place your product in context, simulate branding, or generate multiple market-specific visuals from a single base image.
🧠 What Is a Product Mockup?
A product mockup is a realistic representation of your item in use — useful for:
- E-commerce listings (Amazon, Shopify, Etsy, Marketplaces)
- Marketing campaigns and ads
- Social media product launches
- Print-on-demand previews
🛠️ Simple Mockup Example
const url = await aigen.generateImage(
'Place this product on a clean white background with a soft shadow. Make it look like a high-quality ecommerce photo.',
{
original: 'https://images.pexels.com/photos/715688/pexels-photo-715688.jpeg',
model: 'gpt-image-1@openai'
}
)
🎯 Branded Product Preview
await aigen.generateImage(
'Add a circular black logo that says "LUNAR COFFEE" in the center of this cup. Keep it realistic and print-ready.',
{
original: 'https://images.pexels.com/photos/585750/pexels-photo-585750.jpeg',
model: 'gpt-image-1@openai'
}
)
📱 Device Mockup with App Screenshot
await aigen.generateImage(
'Insert a screenshot of a mobile app into the screen of this phone. Keep reflections and lighting natural.',
{
original: 'https://images.pexels.com/photos/1092671/pexels-photo-1092671.jpeg',
model: 'gpt-image-1@openai'
}
)
🌍 Mockup for Different Markets
await aigen.generateImage(
'Show this product being used in a modern Japanese kitchen. Add subtle culturally appropriate details like bamboo or minimalist ceramics.',
{
original: 'https://images.pexels.com/photos/1644888/pexels-photo-1644888.jpeg',
model: 'gpt-image-1@openai'
}
)
🧑🤝🧑 Use Social Profiles as Models
await aigen.generateImage(
'Show $$profile.name$$ holding our branded water bottle in a professional setting with a white background.',
{
original: 'https://images.pexels.com/photos/1644888/pexels-photo-1644888.jpeg',
profile: 'linkedin:john.doe',
model: 'gpt-image-1@openai'
}
)
🧵 Apparel Mockup
await aigen.generateImage(
'Add a modern "VOLTAGE" logo to the center of this hoodie. Make it look like a real fashion shoot, clean and minimalist.',
{
original: 'https://images.pexels.com/photos/1036623/pexels-photo-1036623.jpeg',
model: 'gpt-image-1@openai'
}
)
✅ Tips for Better Mockups
- Be specific in your prompt about background, lighting, logos, and text
- Use high-quality base images
- Mention “realistic”, “print-ready”, “product placement”, or “mockup” in the prompt
- Combine multiple versions for different markets or styles
📦 Use Cases
- Apparel & accessories previews
- Branded packaging visuals
- App screenshots in device frames
- Personalized merchandise with user photos
❤️ Build stunning product visuals faster — with aigen.run
Other pages
Print-on-Demand & Ecommerce
See what you can create for Print-on-Demand & Ecommerce
Product mockups
Easily create product mockups or professional looking images of your products
Remove images' background
Examples in how to remove images background with ease
Virtual Models & Fashion Try-Ons
Generate AI fashion try-ons and outfit mockups with real people.