@php $stablediffusion_select_options = [ 'style_preset' => [ '' => 'None', '3d-model' => '3D Model', 'analog-film' => 'Analog Film', 'anime' => 'Anime', 'cinematic' => 'Cinematic', 'comic-book' => 'Comic Book', 'digital-art' => 'Digital Art', 'enhance' => 'Enhance', 'fantasy-art' => 'Fantasy Art', 'isometric' => 'Isometric', 'line-art' => 'Line Art', 'low-poly' => 'Low Poly', 'modeling-compound' => 'Modeling Compound', 'neon-punk' => 'Neon Punk', 'origami' => 'Origami', 'photographic' => 'Photographic', 'pixel-art' => 'Pixel Art', 'tile-texture' => 'Tile Texture', ], 'image_mood_stable' => [ '' => 'None', 'aggressive' => 'Aggressive', 'angry' => 'Angry', 'boring' => 'Boring', 'bright' => 'Bright', 'calm' => 'Calm', 'cheerful' => 'Cheerful', 'chilling' => 'Chilling', 'colorful' => 'Colorful', 'dark' => 'Dark', 'neutral' => 'Neutral', ], 'sampler' => [ '' => 'None', 'DDIM' => 'DDIM', 'DDPM' => 'DDPM', 'K_DPMPP_2M' => 'K_DPMPP_2M', 'K_DPM_2' => 'K_DPM_2', 'K_DPM_2_ANCESTRAL' => 'K_DPM_2_ANCESTRAL', 'K_EULER' => 'K_EULER', 'K_EULER_ANCESTRAL' => 'K_EULER_ANCESTRAL', 'K_HEUN' => 'K_HEUN', 'K_LMS' => 'K_LMS', ], 'clip_guidance_preset' => [ '' => 'None', 'FAST_BLUE' => 'FAST BLUE', 'FAST_GREEN' => 'FAST GREEN', 'SIMPLE' => 'SIMPLE', 'SLOW' => 'SLOW', 'SLOWER' => 'SLOWER', 'SLOWEST' => 'SLOWEST', ], 'image_resolution' => [ '640x1536' => '640 x 1536', '768x1344' => '768 x 1344', '832x1216' => '832 x 1216', '896x1152' => '896 x 1152', '1024x1024' => '1024 x 1024', '1152x896' => '1152 x 896', '1216x832' => '1216 x 832', '1344x768' => '1344 x 768', '1536x640' => '1536 x 640', ], 'image_number_of_images_stable' => [ '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', ], ]; if ($settings_two->stablediffusion_default_model == 'stable-diffusion-v1-6' || $settings_two->stablediffusion_default_model == 'stable-diffusion-xl-beta-v2-2-2') { $stablediffusion_select_options['image_resolution'] = [ '896x512' => '896 x 512', '768x512' => '768 x 512', '512x512' => '512 x 512', '512x768' => '512 x 768', '512x896' => '512 x 896', ]; } @endphp