LocalAI/aio/cpu/image-gen.yaml
Ettore Di Giacinto 2b86c05a68 Try to fix tests
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-01-21 18:03:32 +01:00

35 lines
No EOL
1.3 KiB
YAML

name: stablediffusion
backend: stablediffusion-ggml
cfg_scale: 4.5
options:
- clip_l_path:clip_l.safetensors
- clip_g_path:clip_g.safetensors
- t5xxl_path:t5xxl-Q5_0.gguf
- sampler:euler
parameters:
model: sd3.5_large-Q4_0.gguf
step: 25
download_files:
- filename: "sd3.5_large-Q4_0.gguf"
sha256: "c79ed6cdaa7decaca6b05ccc636b956b37c47de9b104c56315ca8ed086347b00"
uri: "huggingface://second-state/stable-diffusion-3.5-large-GGUF/sd3.5_large-Q4_0.gguf"
- filename: clip_g.safetensors
sha256: ec310df2af79c318e24d20511b601a591ca8cd4f1fce1d8dff822a356bcdb1f4
uri: huggingface://second-state/stable-diffusion-3.5-large-GGUF/clip_g.safetensors
- filename: clip_l.safetensors
sha256: 660c6f5b1abae9dc498ac2d21e1347d2abdb0cf6c0c0c8576cd796491d9a6cdd
uri: huggingface://second-state/stable-diffusion-3.5-large-GGUF/clip_l.safetensors
- filename: t5xxl-Q5_0.gguf
sha256: f4df16c641a05c4a6ca717068ba3ee312875000f6fac0efbd152915553b5fc3e
uri: huggingface://second-state/stable-diffusion-3.5-large-GGUF/t5xxl-Q5_0.gguf
usage: |
curl http://localhost:8080/v1/images/generations \
-H "Content-Type: application/json" \
-d '{
"prompt": "<positive prompt>|<negative prompt>",
"step": 25,
"size": "512x512"
}'