2024-03-22 20:13:11 +00:00
|
|
|
name: stablediffusion
|
2024-03-21 00:12:20 +00:00
|
|
|
parameters:
|
2024-03-25 21:04:32 +00:00
|
|
|
model: DreamShaper_8_pruned.safetensors
|
2024-03-21 00:12:20 +00:00
|
|
|
backend: diffusers
|
|
|
|
step: 25
|
|
|
|
f16: true
|
2024-03-21 21:09:04 +00:00
|
|
|
|
2024-03-21 00:12:20 +00:00
|
|
|
diffusers:
|
|
|
|
pipeline_type: StableDiffusionPipeline
|
|
|
|
cuda: true
|
|
|
|
enable_parameters: "negative_prompt,num_inference_steps"
|
|
|
|
scheduler_type: "k_dpmpp_2m"
|
|
|
|
|
2024-03-25 21:04:32 +00:00
|
|
|
download_files:
|
|
|
|
- filename: DreamShaper_8_pruned.safetensors
|
|
|
|
uri: huggingface://Lykon/DreamShaper/DreamShaper_8_pruned.safetensors
|
|
|
|
|
2024-03-21 00:12:20 +00:00
|
|
|
usage: |
|
|
|
|
curl http://localhost:8080/v1/images/generations \
|
|
|
|
-H "Content-Type: application/json" \
|
|
|
|
-d '{
|
|
|
|
"prompt": "<positive prompt>|<negative prompt>",
|
|
|
|
"model": "dreamshaper",
|
|
|
|
"step": 25,
|
|
|
|
"size": "512x512"
|
|
|
|
}'
|