mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-20 21:23:10 +00:00
6b72bdcb0a
purge a few remaining runway model references Signed-off-by: Dave Lee <dave@gray101.com>
20 lines
516 B
YAML
20 lines
516 B
YAML
name: stablediffusion
|
|
parameters:
|
|
model: Lykon/dreamshaper-8
|
|
backend: diffusers
|
|
step: 25
|
|
f16: true
|
|
diffusers:
|
|
pipeline_type: StableDiffusionPipeline
|
|
cuda: true
|
|
enable_parameters: "negative_prompt,num_inference_steps"
|
|
scheduler_type: "k_dpmpp_2m"
|
|
|
|
usage: |
|
|
curl http://localhost:8080/v1/images/generations \
|
|
-H "Content-Type: application/json" \
|
|
-d '{
|
|
"prompt": "<positive prompt>|<negative prompt>",
|
|
"step": 25,
|
|
"size": "512x512"
|
|
}' |