mirror of
https://github.com/mudler/LocalAI.git
synced 2024-06-07 19:40:48 +00:00
c9adc5680c
* readme: update quickstart * aio(gpu): fix dreamshaper * tests(aio): allow to run tests also against an endpoint * docs: split content * tests: less verbosity --------- Co-authored-by: Dave <dave@gray101.com>
26 lines
700 B
YAML
26 lines
700 B
YAML
name: stablediffusion
|
|
parameters:
|
|
model: DreamShaper_8_pruned.safetensors
|
|
backend: diffusers
|
|
step: 25
|
|
f16: true
|
|
|
|
diffusers:
|
|
pipeline_type: StableDiffusionPipeline
|
|
cuda: true
|
|
enable_parameters: "negative_prompt,num_inference_steps"
|
|
scheduler_type: "k_dpmpp_2m"
|
|
|
|
download_files:
|
|
- filename: DreamShaper_8_pruned.safetensors
|
|
uri: huggingface://Lykon/DreamShaper/DreamShaper_8_pruned.safetensors
|
|
|
|
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"
|
|
}' |