Stable Diffusion
Stable Diffusion Models
List Models
GET
/sd/list
List all currently available Stable Diffusion models
Headers
Content-Type
application/json
Response
List Samplers
GET
/sd/sampler
List available Samplers
Headers
Content-Type
application/json
Response
List Loras
GET
/sd/loras
List available Loras
You can use loras in your prompt with <lora:Name:weight>
Headers
Content-Type
application/json
Response
List Embedding
GET
/sd/embeddings
List available Embeddings
Headers
Content-Type
application/json
Response
Create Image
POST
/sd/:model
Send image prompt to Stable Diffusion
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
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