$ 0.0015

Cost per second

For enterprise pricing and custom weights or models

AI Product Photo Editor

AI Product Photo Editor leverages advanced image-based ML techniques to generate high-quality product visuals using text prompts, product images, and background images. This method combines inpainting, superimposition, and a dual-pass image generation process, employing Canny edge detection and IP-Adapter for background integration. The output enhances image details, ensuring high fidelity and professional-grade photos.

Capabilities:

  1. Can generate high-quality product images based on a combination of text prompts, product images, and background images.

  2. Employs inpainting with IP-Adapter and superimposition techniques for seamless image creation.

  3. Utilizes Canny edge detection to enhance edge details, ensuring sharp and defined product outlines.

  4. Executes a two-pass image generation process: the first pass integrates the product image with the background, and the second pass refines details like shadows and textures.

  5. Offers flexibility in modifying backgrounds or environments where the product is displayed, enhancing the visual appeal and context..

Technical Architecture: Combines inpainting with IP-Adapter using a reference image for background setting. Implements Canny edge detection to enhance and refine edge details, ensuring high-fidelity product images.

Employs a two-pass image generation process:

  1. First pass: Generates the base image integrating the product with the background.

  2. Second pass: Enhances finer details such as shadows and textures to ensure a photorealistic output. Concludes with a superimposition step to finalize and perfect the overall image composition.

Strengths: Capable of producing highly realistic and visually appealing product images. Flexibility in customizing image backgrounds and detailed enhancements offers wide-ranging applications. The two-pass generation process ensures high attention to detail, resulting in polished final images. Canny edge detection significantly improves the clarity and precision of product outlines.

How to use the model?

Step 1: Enter Prompt

Prompt: Describe the product image you want to create. For example, "Photos of plastic containers in a studio kitchen, minimal studio background."

Step 2: Upload Images

  • Product Image: Click on the upload area to browse and select your product image or drag and drop the image file.

  • Background Image: Click on the upload area to browse and select your background image or drag and drop the image file.

Step 3: Configure Negative Prompt (Optional)

Negative Prompt: Enter descriptions of elements you want to exclude from the generated image, such as "Illustration, broken, low resolution, bad anatomy."

Step 4: Set Inference Steps

Inference Steps: Enter the number of steps for the machine learning model to generate the image, e.g., 21.

Step 5: Set Randomization Seed

Seed: Enter a seed number for randomization to reproduce the same image on subsequent runs.

Step 6: Advanced Parameters

Click on the "Advanced Parameters" dropdown to reveal additional settings to further fine tune the outputs.

  • Guidance Scale: Adjusts how much the model adheres to the text prompt (higher value = stricter adherence).

  • Sampler: Selects the algorithm used for sampling; for example, "dpmpp_3m_sde_gpu."

  • Scheduler: Algorithmic scheduler for managing the sampling steps.

  • IPA Weight: The weight for the IP-Adapter controlling how much it influences the background image blending.

  • IPA Weight Type: The interpolation type for setting the IPA weight (e.g., linear).

  • IPA Start: Beginning point for the IP-Adapter influence.

  • IPA End: End point for the IP-Adapter influence.

  • IPA Embeds Scaling: Determines how embeddings from the IP-Adapter are scaled.

  • ControlNet Strength: Amount of control the ControlNet model has over the generation.

  • ControlNet Start: Start point for ControlNet influence.

  • ControlNet End: End point for ControlNet influence.

  • Dilation: Amount of dilation applied to the edges.

  • Mask Threshold: Threshold value for the masking process.

  • Gaussian Blur Radius: Radius for applying Gaussian blur to the image.