File size: 2,917 Bytes
537fd2c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93a27e4
 
 
 
537fd2c
 
 
 
 
 
 
5b6020f
537fd2c
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
title: SDXL Background Replacement for Product Images
emoji: 🖼️
colorFrom: green
colorTo: purple
sdk: gradio
sdk_version: 3.43.2
app_file: app.py
pinned: true
---

# SDXL Background Replacement for Product Images

Building an online store requires lots of high quality product and marketing images. This is an early demo of a background replacement tool built with Stable Diffusion XL that makes it easy to use your existing product images to make something new. Please be patient during peak demand. 😅

To use it, upload your product photo and describe the background you’d like to see in place of the original. Optionally, describe what you don’t want in the negative prompt field.

<center>
  <video width="512" height="512" controls autoplay src="https://cdn-uploads.huggingface.co/production/uploads/64e678b09cb7c83a9d72241c/nHdQpjHXtZQ9lDXGreyGs.mp4"></video>
</center>

## More information

You can check our FAQs below! We are also gathering resources from the community and sharing ideas in the [Community](https://huggingface.co/spaces/Shopify/background-replacement/discussions) tab. Shopify is on a mission to redefine commerce with AI. If you’re an AI or ML engineer looking to build the future of commerce, [join us](https://www.shopify.com/careers)!

## FAQs

1. **What is the purpose of this Space?** This is a preview of our background replacement tool for product imagery built with Stable Diffusion XL. Access to innovative text-to-image solutions will transform the possibilities for millions of merchants. We’re releasing an early demo to learn from the community.
2. **Can I use the demo for commercial usage?** The demo is a preview and isn’t intended for production use, but the source is available and there is no commercial use restriction in the license.
3. **What data is Shopify collecting?** Shopify isn’t collecting any usage data from this Space. We’re sharing this demo because we’re excited to bring these technologies to merchants and hope to get there faster with direct feedback from the community. We look forward to hearing from you!
4. **I got a weird image, can I report it or send it to you?** Absolutely! We appreciate your help in identifying any issues or anomalies. Please report any strange or unexpected results with the image and relevant details in the community channel. It will help us refine and improve the tool for future users.
5. **Are there any limitations to the demo?** This tool is currently in its early stages and you may hit edge cases that don’t function as intended. Share these examples with us. We appreciate your patience and feedback as we work to improve the technology!
6. **What are the system requirements to run the background replacement demo?** If you’d like to run the Space on your own GPU it can be run on an NVIDIA T4 Medium but we recommend the NVIDIA A10G Small for improved stability and performance.