POST
javascript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 const axios = require('axios'); const api_key = "YOUR API-KEY"; const url = "https://api.segmind.com/v1/bria-product-packshot"; const data = { "image_url": "https://segmind-resources.s3.amazonaws.com/input/fd346304-76b4-4dfa-abca-3ba32a35ddf0-21a15249f703fcb53e03b65740531230.jpeg", "background_color": "#FFFFFF", "content_moderation": true }; (async function() { try { const response = await axios.post(url, data, { headers: { 'x-api-key': api_key } }); console.log(response.data); } catch (error) { console.error('Error:', error.response.data); } })();
RESPONSE
image/jpeg
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing

Attributes


skustr ( default: 1 )

SKU uniquely identifies a product. Use a meaningful identifier if available.


image_urlstr *

Image URL is the input for processing. Ensure it's publicly accessible for best results.


background_colorstr ( default: #FFFFFF )

Sets the packshot background color. Use 'transparent' for no background or '#FFFFFF' for white.


force_rmbgboolean ( default: 1 )

Enables background removal. Set true if refinement is needed on existing images.


content_moderationboolean ( default: true )

Moderates input for inappropriate content. Enable to prevent misuse.

To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.

Bria AI Product Packshot – Product Image Enhancement Model

What is Bria AI Product Packshot?

Bria AI Product Packshot is an advanced AI model designed to automatically transform product photos into professional-quality marketing images. The model specializes in creating clean, studio-grade packshots by intelligently removing backgrounds, applying consistent shadows, and enhancing product presentation. It's built specifically for e-commerce and marketing teams who need to process large volumes of product imagery quickly while maintaining professional standards.

The model goes beyond basic background removal by understanding product context and applying appropriate visual enhancements that make items look their best in commercial settings.

Key Features

  • Intelligent Background Removal: Precisely cuts out products with edge detection that handles complex shapes and textures
  • Professional Packshot Generation: Creates clean, consistent product images with studio-quality lighting and shadows
  • Customizable Backgrounds: Supports white backgrounds, transparent outputs, or custom color selections
  • Automotive Specialization: Enhanced processing for vehicles with realistic reflections, tire refinements, and environmental effects
  • AI-Driven Lifestyle Integration: Generates contextual lifestyle shots from text descriptions or reference images
  • Batch Processing Ready: Designed for high-volume e-commerce workflows with SKU tracking support

Best Use Cases

E-commerce Platforms: Standardize product catalogs across thousands of items with consistent backgrounds and professional presentation. Perfect for marketplaces, online stores, and product comparison sites.

Marketing Agencies: Quickly transform client product photos into campaign-ready assets without extensive manual editing or expensive photoshoots.

Automotive Industry: Create showroom-quality vehicle imagery with specialized enhancements for reflections, environmental context, and detail refinement.

Product Catalogs: Generate consistent, professional imagery for print and digital catalogs where visual uniformity is crucial for brand presentation.

Prompt Tips and Output Quality

The model works with image URLs rather than text prompts, making it straightforward to use. For optimal results, provide high-resolution product images with good lighting and minimal background clutter.

Background Control: Use #FFFFFF for clean white backgrounds, transparent for PNG outputs with no background, or specify custom hex colors to match brand guidelines.

Quality Enhancement: Enable force_rmbg when working with images that already have background removal but need refinement or when the automatic detection needs additional processing power.

SKU Management: Include meaningful SKU identifiers to track processed images in batch workflows and maintain organization across large product catalogs.

FAQs

Is Bria AI Product Packshot suitable for high-volume processing? Yes, the model is designed for e-commerce scale with SKU tracking and batch processing capabilities, making it ideal for processing thousands of product images efficiently.

What image formats and sizes does the model support? The model accepts publicly accessible image URLs and works best with high-resolution product photos. Standard web formats (JPG, PNG) are fully supported.

How does the automotive specialization work? The model automatically detects vehicle imagery and applies specialized enhancements including realistic reflections, tire detail refinement, and environmental effects like fog or snow for contextual appeal.

Can I get transparent backgrounds instead of white? Yes, set the background_color parameter to transparent to generate PNG outputs with no background, perfect for overlaying on other designs.

What's the difference between automatic and forced background removal? The model automatically detects when background removal is needed. Use force_rmbg=true when you need additional processing power for complex images or refinement of existing cutouts.

Does the model include content moderation? Yes, content moderation is enabled by default to ensure appropriate use and can be configured based on your workflow requirements.