ProConfig Tutorial
  • Overview & Setup
  • Tutorial Structure
  • Tutorial
    • Hello World with Pro Config
    • Building Workflow
    • Transitions
    • Expressions and Variables
    • An Advanced Example
    • Function Calling Example
    • Random Routing Example
  • API Reference
    • Widgets
      • Bark TTS
      • Champ
      • CoinGecko
      • ControlNet with Civitai
      • Crawler
      • Crypto News
      • Data Visualizer
      • Email Sender
      • Google Flight Search
      • Google Hotel Search
      • Google Image Search
      • Google Map Search
      • Google News Search
      • Google Scholar Search
      • Google Search
      • GroundedSAM
      • Image Text Fuser
      • Information Extractor - OpenAI Schema Generator
      • Information Extractor
      • Instagram Search
      • JSON to Table
      • LinkedIn
      • MS Word to Markdown
      • Markdown to MS Word
      • Markdown to PDF
      • Mindmap Generator
      • Notion Database
      • OCR
      • Pdf to Markdown
      • RMBG
      • Stabel-Video-Diffusion
      • Stable Diffusion Inpaint
      • Stable Diffusion Recommend
      • Stable Diffusion Transform
      • Stable Diffusion Upscale
      • Stable Diffusion with 6 fixed category
      • Stable Diffusion with Civitai
      • Storydiffusion
      • Suno Lyrics Generator
      • Suno Music Generator
      • Table to Markdown
      • TripAdvisor
      • Twitter Search
      • UDOP: Document Question Answering
      • Weather forecasting
      • Whisper large-v3
      • Wikipedia
      • Wolfram Alpha Search
      • Yelp Search
      • YouTube Downloader
      • YouTube Transcriber
      • Youtube Search
  • Tools
    • AutoConfig Bot
    • Cache Mode
Powered by GitBook
On this page
  • Try it in the Widget Center
  • Usage
  • Detailed Guidelines
  1. API Reference
  2. Widgets

Stable Diffusion with 6 fixed category

Lazy version of Stabel Diffusion with Civitai. Generate images with rough 6 category. Free you from choosing model in civitai. You can freely control parameters such as prompt, size, etc

PreviousStable Diffusion UpscaleNextStable Diffusion with Civitai

Last updated 1 year ago

Try it in the Widget Center

Click this to try this widget and copy the Pro Config template.

Usage

Feeling too lazy to pick a model ID from Civitai? Give our pre-selected SD&LORAS a try. Effortless version of Stable Diffusion with Civitai. Produce images across approximately 6 categories. Eliminates the need to select a model in Civitai. You have the freedom to adjust parameters like prompt, size, and more.

Input Parameters

Name
Type
Description
Default
Required

category

string

Lazy to choose model id from civitai? try use our pre-picked sd&loras

Realistic & Photorealistic

prompt

string

The text prompt for image generation. Add lora? add `` to your prompt. `$id` is the series number and `$weight` is the lora weight you want (always set to 1.0). You can use multiple loras.

negative_prompt

string

The negative prompt for image generation.

(worst quality, low quality:1.4),(malformed hands:1.4),(poorly drawn hands:1.4),(mutated fingers:1.4),(extra limbs:1.35),(poorly drawn face:1.4),bad leg,strange leg, poor eyes, full screen of face

sampler

string

Sampler for diffusion model inference

DPM++ 2M Karras

height

integer

Height of the generated images

512

width

integer

Width of the generated images

512

steps

integer

Steps for sampler to step whle sampling

25

cfg_scale

number

Classifier Free Guidance Scale - how strongly the image should conform to prompt - lower values produce more creative results. Default to 7.

7.0

seed

integer

Random seed for generation process. -1 means random seed

-1

clip_skip

integer

Early stopping parameter for CLIP model; 1 is stop at last layer as usual, 2 is stop at penultimate layer, etc.

1

enable_hr

boolean

Enable the post-process high resolution. If it is set to false, please ignore the parameter with prefix `hr_`

False

hr_scale

integer

Improve the image quality by enlarging it in a way while maintains the original ratios. Default to 2. If `hr_height` or `hr_width` is set to a value other than zero, this parameter will not be applied.

2

hr_upscaler

string

The super resolution model used

ESRGAN_4x

hr_resize_x

integer

Resize width to, 0 means not defined. If x set to 0, and y is not 0, we will resize the length of image to y and change width accordingly. If x and y both not zero, use the max ratio max(hr_resize_x/image.width, hr_resize_y/image.height)

0

hr_resize_y

integer

Resize height to, 0 means not defined. If y set to 0, and x is not 0, we will resize the width of image to x and change width accordingly. If x and y both not zero, use the max ratio max(hr_resize_x/image.width, hr_resize_y/image.height)

0

hr_second_pass_steps

integer

Steps of sampling for second pass of diffusion model after hires. Set to 0 means the same steps as first pass.

0

hr_denoising_strength

number

Strength of image transfomation during hires transform. High means more influence during second pass sampling after hires

0.7

Output Parameters

Name
Type
Description
File Type

url

string

The url of generated image, stored in the cloud. Only temporarily effective, will be cleared in a few hours.

image

Output Example

{
  "url": "https://image.myshell.ai/image/chat/embed_obj/40295/20240423/d828b567573141a29bdb0f44a33936c1.jpg"
}
throw a Http error.

Detailed Guidelines

  • Unique Parameter:

    • category : Feeling too lazy to pick a model ID from Civitai? Give our pre-selected SD&LORAS a try.

      • Choose from ["Anime", "Realistic & Photorealistic", "Landscape", "Fantasy & Illustration", "3D & Cartoon", "Cute & Fantasy Characters"]

url