Giter VIP home page Giter VIP logo

sd-interior-design's Introduction

RealisticVision for Interior Design

A custom interior design pipeline API that combines Realistic Vision V3.0 inpainting pipeline with segmentation and MLSD ControlNets. This repo uses Cog to create a dockerized API. See the Replicate demo to test the running API.

Basic Usage

You will need to have Cog and Docker installed to serve your model as an API. To run a prediction:

cog predict -i image=@test_images/bedroom_3.jpg prompt="A bedroom with a bohemian spirit centered around a relaxed canopy bed complemented by a large macrame wall hanging. An eclectic dresser serves as a unique storage solution while an array of potted plants brings life and color to the room"

To start your server and serve the model as an API:

cog run -p 5000 python -m cog.server.http

The API input arguments are as follows:

  • image: The provided image serves as a base or reference for the generation process.
  • prompt: The input prompt is a text description that guides the image generation process. It should be a detailed and specific description of the desired output image.
  • negative_prompt: This parameter allows specifying negative prompts. Negative prompts are terms or descriptions that should be avoided in the generated image, helping to steer the output away from unwanted elements.
  • num_inference_steps: This parameter defines the number of denoising steps in the image generation process.
  • guidance_scale: The guidance scale parameter adjusts the influence of the classifier-free guidance in the generation process. Higher values will make the model focus more on the prompt.
  • prompt_strength: In inpainting mode, this parameter controls the influence of the input prompt on the final image. A value of 1.0 indicates complete transformation according to the prompt.
  • seed: The seed parameter sets a random seed for image generation. A specific seed can be used to reproduce results, or left blank for random generation.

Model Details

This is a custom pipeline inspired by AICrowd's Generative Interior Design hackathon that uses Realistic Vision V3.0 as the base model. See the base and ControlNet model pages for their respective licenses. This code base is licensed under the MIT license.

From neuralwork with ❤️

sd-interior-design's People

Contributors

alaradirik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.