summaryrefslogtreecommitdiff
path: root/stable_diffusion.h
diff options
context:
space:
mode:
Diffstat (limited to 'stable_diffusion.h')
-rw-r--r--stable_diffusion.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/stable_diffusion.h b/stable_diffusion.h
index 6e7dd54..97ae076 100644
--- a/stable_diffusion.h
+++ b/stable_diffusion.h
@@ -9,17 +9,24 @@
#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 = 25;
- int32 Width = 512;
- int32 Height = 512;
+ int32 Steps = 10;
+ int32 Width = 384;
+ int32 Height = 384;
int32 SamplerIndex = 0;
real32 CFG = 7;
- real32 DenoisingStrength = 0.7;
+ real32 DenoisingStrength = 0.2;
int32 Seed = -1;
};