{"id":2549,"date":"2023-07-03T11:11:31","date_gmt":"2023-07-03T11:11:31","guid":{"rendered":"https:\/\/www.codeastar.com\/?p=2549"},"modified":"2023-07-04T17:51:21","modified_gmt":"2023-07-04T17:51:21","slug":"learn-how-to-use-stable-diffusion-part-2-sampling-methods","status":"publish","type":"post","link":"https:\/\/www.codeastar.com\/learn-how-to-use-stable-diffusion-part-2-sampling-methods\/","title":{"rendered":"Learn how to use Stable Diffusion Part 2 – Sampling Methods"},"content":{"rendered":"\n

In our last post, Learn how to use Stable Diffusion – Part 1<\/a>, we mentioned sampling methods and stated that this is a huge topic. Right now, let’s continue our Stable Diffusion learning journey. Besides discussing the main course, Sampling Methods, we are going to have appetizers as well, like prompt and checkpoint. We hope you all can enjoy the meal this time. Let’s dig in!<\/p>\n\n\n\n

Appetizer I: Prompt<\/h3>\n\n\n\n

Most of the generative art starts with text inputs, the prompts, so let us start from here. We knew from our last post<\/a>, prompts can be inputted as a full sentence or a list of keywords. For beginners, we would suggest using full sentences as inputs first. So you may see what you have inputted in a human-readable way. When you are more familiar with Stable Diffusion, you can use keywords as the prompts for a faster process. Speaking of keywords, here are the major types we use as inputs:<\/p>\n\n\n\n