I'm Developing a Project for Product Photography with Dalle-2, But I'm Getting Error

Hello everyone!

I am excitedly working on a new project. The idea is very simple. Add any product photo to the system and change the background with the help of Dalle2. For example, it will be very easy to create a great background image for a product image you took with a phone.

I have reached a certain stage.

I am using this page.

The problem I’m having is this: Yes, the background is rendered the way I want. However, the added product photo is also replaced by Dalle 2. So, while it should only create the background, it also touches the product. I dont want this.

I’ve added a screenshot to explain better. Do you have any suggestions for the solution?

If you have any alternative approaches or suggestions, I’m all ears!

Thanks a million in advance for your insights!

Welcome to the community.

What prompt are you using?

Thank you :slight_smile:
Example promptum for background: on the rock, sunlight background

You might try something like

Headphones sitting on a sandy beach

or

(your product) + (background information)

1 Like

Thank you very much for your kind support. But, the problem is not with PROMPT. I think it’s another problem :frowning:

The prompt is likely part of the problem. I would try it without the item name too and just describe the background you want it on.

What do you think the problem is?

I think the source of your problem has to do with “mask”

@efendymail do you already solve it?
i went sam problem as yours too