🎨Stable Diffusion

Stable Diffusion Models

List Models

GET /sd/list

List all currently available Stable Diffusion models

Headers

Name
Value

Content-Type

application/json

Response

["Counterfeit_v3", "Anything_v5", ...]

List Samplers

GET /sd/sampler

List available Samplers

Headers

Name
Value

Content-Type

application/json

Response

["Euler", "Euler a", "LMS", ...]

List Loras

GET /sd/loras

List available Loras You can use loras in your prompt with <lora:Name:weight>

Headers

Name
Value

Content-Type

application/json

Response

List Embedding

GET /sd/embeddings

List available Embeddings

Headers

Name
Value

Content-Type

application/json

Response

Create Image

POST /sd/:model

Send image prompt to Stable Diffusion

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description
Default

prompt

string

Image Prompt

none

negative_prompt

string

Negative prompt

custom

steps

number

Diffusion steps

20

cfg_scale

number

Prompt following

7

sampler

string

Diffusion sampler

DPM++ 2M Karras

Response

Example

Last updated