summaryrefslogtreecommitdiff
path: root/stable_diffusion.h
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2022-12-16 20:16:43 -0500
committerFox Caminiti <fox@foxcam.net>2022-12-16 20:16:43 -0500
commitbedd6906eabdd513042d6a178d4dc56a3a41d1d3 (patch)
tree2bcbd3e46ae61e583707a2ccc5b3f5cfeacb61a8 /stable_diffusion.h
parentcdb9e1f7240cb0716b7d99df5e1fd7c3fc3407a8 (diff)
v3, file/build organization
Diffstat (limited to 'stable_diffusion.h')
-rw-r--r--stable_diffusion.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/stable_diffusion.h b/stable_diffusion.h
deleted file mode 100644
index 3335796..0000000
--- a/stable_diffusion.h
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-// curl -X POST -H 'Content-Type: application/json' -i 'http://127.0.0.1:7860/sdapi/v1/txt2img' --data '{
-// "prompt": "cute dinosaur sticker with polka dots",
-// "steps": 50,
-// "sampler_index": "DDIM"
-// }'
-
-#define SD_LEN_PROMPT 256
-#define SD_LEN_ADDRESS 128
-
-// struct sd_mode
-// {
-// sd_mode_txt2txt,
-// sd_mode_txt2img
-// }
-
-struct sd_state
-{
- bool32 Mode = 1;
- char Prompt[256];
- char NegPrompt[256];
- char ServerAddress[128];
- int32 Steps = 10;
- int32 Width = 512;
- int32 Height = 512;
- int32 SamplerIndex = 0;
- real32 CFG = 7;
- int32 BatchSize = 1;
- real32 DenoisingStrength = 0.4;
- int32 Seed = -1;
-};
-