Table of Contents
How to generate pictures
Advantage
scenes to be used
Prerequisite
step
Home Computer Tutorials Computer Knowledge Private deployment of Stable Diffusion to play with AI drawing

Private deployment of Stable Diffusion to play with AI drawing

Mar 12, 2024 pm 05:49 PM
efficiency stable

Stable Diffusion is an open source deep learning model. Its main function is to generate high-quality images through text descriptions, and supports functions such as graph generation, model merging, and model training. The operating interface of the model can be seen in the figure below.

私有化部署 Stable Diffusion 玩转 AI 绘图

How to generate pictures

The following is an introduction to the process of generating a picture of a deer drinking water. When generating a picture, it is divided into prompt words and negative prompt words. When entering the prompt words, you must describe it clearly and try to describe the scene, object, style and color you want in detail. . For example, instead of just saying "the deer drinks water", it says "a creek, next to dense trees, and there are deer drinking water next to the creek". The negative prompt words are in the opposite direction. For example: no buildings, no people , no bridges, no fences, and too vague a description may lead to results that are not as expected.

私有化部署 Stable Diffusion 玩转 AI 绘图

The core advantages of Stable Diffusion

Advantage

There are many applications for AI painting, so what are the core advantages of Stable Diffusion?

Compared with many other AI painting tools, Stable Diffusion is completely open source, which means that anyone can use, modify and distribute it for free, and can train the model by themselves. There are many styles of paintings, and there are many styles of models in civitai (overseas) and LibuLibu AI (domestic), animation games, architectural space design, two-dimensional, 3D, logo icons, etc. . .

I saw an article before that said that payment is automatic, and Stable Diffusion is equivalent to manual transmission.

Then Stable Diffusion stands out among many AI painting applications, mainly due to the following core advantages:

  • Compared with many other AI painting tools, Stable Diffusion is completely open source, which means that anyone can use it for free, and it can be developed on the original basis for users to register.
  • Stable Diffusion supports a high degree of customization, and users can adjust model parameters to generate images that meet specific styles or needs. Competent users can even train models.
  • Stable Diffusion is capable of producing high-resolution, visually impressive images. It leverages advanced deep learning technology to generate detailed, complex images based on text descriptions.
  • Stable Diffusion is particularly good at generating images based on text prompts, and you can use simple descriptions to create the images you want.
  • Stable Diffusion is involved in many fields such as artistic creation, entertainment industry, advertising, education, and side business.
  • scenes to be used

    You can publish some works through a certain music, a certain hand and a certain book. AI painting is not very common in self-media yet, and the traffic is pretty good. The key to monetizing on these platforms is to continuously produce high-quality and attractive content, actively interact with fans, and build a fan base.

    One thing I have been trying is to use GPT to generate copy to make graphic videos, generate multiple pictures through carefully created copy, and then combine these pictures into a video. In this process, picture quality plays a decisive role in the traffic of the video.

    There are many picture tools in Mouyin (I use Blue Cat Wallpaper). This picture tool allows fans to download pictures here. You must watch the advertisement before downloading. You can convert the generated high-quality avatars and wallpapers. , logo into the tool to earn advertising revenue.

    Well enough:

  • After you have traffic, you can customize it and customize unique paintings according to customer needs. For mothers, you can customize baby avatars and so on.
  • AI painting stalls can be set up offline. You only need a laptop and a printer to support a stall, such as in a university town or a night market with a lot of traffic.
  • You can draw portraits based on the ability of drawings, and then sell them for cash.
  • Installation and deployment

    Prerequisite

  • You need to install Rainbond. Rainbond is a cloud-native application management platform that does not require knowledge of Kubernetes. Deployment of applications does not require complex configuration.
  • The machine configuration for deploying Stable Diffusion is no less than CPU: 8 cores, memory: 16GB.
  • step

  • Enter Rainbond platform management, select the project team in the sidebar, and create your first team.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • After clicking to enter the team – Create a new application – External application market – Select the open source application store – Search for Stable-diffusion.

    私有化部署 Stable Diffusion 玩转 AI 绘图

    You can choose the application version to install the Stable-diffusion application.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • After successful creation, you can see the Stable-diffusion application in the topology diagram of the application view.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • Click on the gateway on the left - click on the current component gateway - edit - turn on WebSocket support.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • Enter the component and wait for the initialization file - check the log (the decompression process is slow, please wait).

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • Seeing this log means that the startup is successful and you can access it.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • Click the access button in the upper right corner to access Stable-diffusion.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • Stable-diffusion interface, a Chinese language pack was also added when making this application.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • The installation has been completed here, you can try to generate the desired picture.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • The above is the detailed content of Private deployment of Stable Diffusion to play with AI drawing. For more information, please follow other related articles on the PHP Chinese website!

    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

    Hot AI Tools

    Undresser.AI Undress

    Undresser.AI Undress

    AI-powered app for creating realistic nude photos

    AI Clothes Remover

    AI Clothes Remover

    Online AI tool for removing clothes from photos.

    Undress AI Tool

    Undress AI Tool

    Undress images for free

    Clothoff.io

    Clothoff.io

    AI clothes remover

    Video Face Swap

    Video Face Swap

    Swap faces in any video effortlessly with our completely free AI face swap tool!

    Hot Tools

    Notepad++7.3.1

    Notepad++7.3.1

    Easy-to-use and free code editor

    SublimeText3 Chinese version

    SublimeText3 Chinese version

    Chinese version, very easy to use

    Zend Studio 13.0.1

    Zend Studio 13.0.1

    Powerful PHP integrated development environment

    Dreamweaver CS6

    Dreamweaver CS6

    Visual web development tools

    SublimeText3 Mac version

    SublimeText3 Mac version

    God-level code editing software (SublimeText3)

    How to turn productivity mode on or off for an app or process in Windows 11 How to turn productivity mode on or off for an app or process in Windows 11 Apr 14, 2023 pm 09:46 PM

    The new Task Manager in Windows 11 22H2 is a boon for power users. It now provides a better UI experience with additional data to keep tabs on your running processes, tasks, services, and hardware components. If you've been using the new Task Manager, you may have noticed the new productivity mode. what is it? Does it help improve the performance of Windows 11 systems? Let’s find out! What is Productivity Mode in Windows 11? Productivity mode is one of the tasks in Task Manager

    He can surpass humans in two hours! DeepMind's latest AI speedruns 26 Atari games He can surpass humans in two hours! DeepMind's latest AI speedruns 26 Atari games Jul 03, 2023 pm 08:57 PM

    DeepMind’s AI agent is at work again! Pay attention, this guy named BBF mastered 26 Atari games in just 2 hours. His efficiency is equivalent to that of humans, surpassing all his predecessors. You know, AI agents have always been effective in solving problems through reinforcement learning, but the biggest problem is that this method is very inefficient and requires a long time to explore. Picture The breakthrough brought by BBF is in terms of efficiency. No wonder its full name can be called Bigger, Better, or Faster. Moreover, it can complete training on only a single card, and the computing power requirements are also much reduced. BBF was jointly proposed by Google DeepMind and the University of Montreal, and the data and code are currently open source. The highest attainable human

    PyCharm Remote Development Practical Guide: Improve Development Efficiency PyCharm Remote Development Practical Guide: Improve Development Efficiency Feb 23, 2024 pm 01:30 PM

    PyCharm is a powerful Python integrated development environment (IDE) that is widely used by Python developers for code writing, debugging and project management. In the actual development process, most developers will face different problems, such as how to improve development efficiency, how to collaborate with team members on development, etc. This article will introduce a practical guide to remote development of PyCharm to help developers better use PyCharm for remote development and improve work efficiency. 1. Preparation work in PyCh

    List some tools used to test the stability of Linux systems List some tools used to test the stability of Linux systems Feb 18, 2024 pm 03:07 PM

    Title: Linux System Stability Stress Testing Tool and Code Example Introduction: In computer systems, stability is a very important indicator. Especially for devices that run for a long time such as servers, their stability is particularly important. As Linux is a stable and reliable operating system, stress testing tools for its stability are crucial. This article will introduce several commonly used Linux system stability stress testing tools, and attach specific code examples to help readers better understand and apply these tools. Text: Stress-ngSt

    Private deployment of Stable Diffusion to play with AI drawing Private deployment of Stable Diffusion to play with AI drawing Mar 12, 2024 pm 05:49 PM

    StableDiffusion is an open source deep learning model. Its main function is to generate high-quality images through text descriptions, and supports functions such as graph generation, model merging, and model training. The operating interface of the model can be seen in the figure below. How to generate a picture. The following is an introduction to the process of creating a picture of a deer drinking water. When generating a picture, it is divided into prompt words and negative prompt words. When entering the prompt words, you must describe it clearly and try to describe the scene, object, style and color you want in detail. . For example, instead of just saying "the deer drinks water", it says "a creek, next to dense trees, and there are deer drinking water next to the creek". The negative prompt words are in the opposite direction. For example: no buildings, no people , no bridges, no fences, and too vague description may lead to inaccurate results.

    Java development skills revealed: Optimizing database transaction processing efficiency Java development skills revealed: Optimizing database transaction processing efficiency Nov 20, 2023 pm 03:13 PM

    With the rapid development of the Internet, the importance of databases has become increasingly prominent. As a Java developer, we often involve database operations. The efficiency of database transaction processing is directly related to the performance and stability of the entire system. This article will introduce some techniques commonly used in Java development to optimize database transaction processing efficiency to help developers improve system performance and response speed. Batch insert/update operations Normally, the efficiency of inserting or updating a single record into the database at one time is much lower than that of batch operations. Therefore, when performing batch insert/update

    How to turn on power saving mode in Microsoft Edge? How to turn on power saving mode in Microsoft Edge? Apr 20, 2023 pm 08:22 PM

    Chromium-based browsers like Edge use a lot of resources, but you can enable efficiency mode in Microsoft Edge to improve performance. The Microsoft Edge web browser has come a long way since its humble beginnings. Recently, Microsoft added a new efficiency mode to the browser, which is designed to improve the overall performance of the browser on PC. Efficiency mode helps extend battery life and reduce system resource usage. For example, browsers built with Chromium, such as Google Chrome and Microsoft Edge, are notorious for hogging RAM and CPU cycles. Therefore, in order

    Master Python to improve work efficiency and quality of life Master Python to improve work efficiency and quality of life Feb 18, 2024 pm 05:57 PM

    Title: Python makes life more convenient: Master this language to improve work efficiency and quality of life. As a powerful and easy-to-learn programming language, Python is becoming more and more popular in today's digital era. Not just for writing programs and performing data analysis, Python can also play a huge role in our daily lives. Mastering this language can not only improve work efficiency, but also improve the quality of life. This article will use specific code examples to demonstrate the wide application of Python in life and help readers

    See all articles