What are the optimal file output settings for AI e-commerce images?
2 min read
Quick Answer
For the final upload to your store, use WebP or JPEG at 80-90% quality to balance file size and visual fidelity. Use PNG only when you need a lossless working file or transparency. Nightjar exposes output format (JPEG, PNG, WebP), aspect ratio (1:1, 4:5, 9:16, 16:9, and more), and resolution (1K, 2K, 4K) as explicit settings on every image request, so you can pick the right combination per destination without re-saving in another tool.
Input vs. Output Settings
There are two stages to consider: the file you feed the AI, and the file you put on your website.
1. The Working File (Input/Editing)
When uploading a source product photo to Nightjar:
- Format: PNG when you have it, otherwise high-quality JPEG.
- Why: re-saving JPEGs over and over compresses the data each time, which adds up to visible "generation loss" across iterations. PNG is lossless and avoids that.
- Transparency: useful when a source image needs to be composited cleanly onto a different scene.
2. The Delivery File (Your Website)
Once the image is generated, pick the format and aspect ratio for the destination:
| Platform | Recommended Format | Common Aspect Ratio |
|---|---|---|
| Shopify / Web Store | WebP (or JPEG) | 1:1 (square) |
| Instagram / TikTok feed | JPEG | 4:5 (portrait) |
| Stories, Reels, vertical ads | JPEG | 9:16 |
| Amazon listing | JPEG (clean white background) | 1:1 |
Nightjar supports JPEG, PNG, and WebP output, generation at 1K, 2K, and 4K (1K is enough for most storefront tiles, 2K for hero images, 4K for marketplace zoom and print), and aspect ratios including 1:1, 4:5, 3:4, 2:3, 5:4, 4:3, 3:2, 16:9, 9:16, and 21:9.
A Note on Aspect Ratios
A common mistake is squashing a finished image into the wrong shape. Cropping loses part of the frame and stretching warps the product. The cleaner approach is to set the aspect ratio at generation time. Nightjar also has an Edit tab where you can type /ratio inline to switch a finished image to a different shape, /format to change the output format, or apply the Reframe shortcut to extend the canvas, without re-running the full image request.
Saving the Setup
Once you land on the right combination of format, aspect ratio, and resolution for a destination, Nightjar lets you save it as a Recipe: a reusable Create-form setup that captures output settings alongside the photographic style, composition, model, and background. Apply it to the next product and the output specs come along automatically, so the catalog stays consistent without re-picking settings every time.
Marketplace Specifics
Marketplaces have their own image rules that change. For Amazon's main image requirements (currently a 1000px minimum on the longest side, JPEG preferred), check the live Amazon product image standards before publishing a listing. For Shopify (which serves up to 5760x5760 and recommends square 2048x2048 for product zoom), refer to the current Shopify image specs for size and format limits.
Consistent and on brand AI photoshoots, optimized for conversion.
Nightjar