diff --git a/nbs/SD3_API.ipynb b/nbs/SD3_API.ipynb index 6ce00902..4506be51 100644 --- a/nbs/SD3_API.ipynb +++ b/nbs/SD3_API.ipynb @@ -440,7 +440,6 @@ "#@title SD3.5 Flash\n", "\n", "prompt = \"towering storm clouds over the ocean at sunset. flashes of lightning illuminate the sky.\" #@param {type:\"string\"}\n", - "negative_prompt = \"\" #@param {type:\"string\"}\n", "aspect_ratio = \"1:1\" #@param [\"21:9\", \"16:9\", \"3:2\", \"5:4\", \"1:1\", \"4:5\", \"2:3\", \"9:16\", \"9:21\"]\n", "seed = 0 #@param {type:\"integer\"}\n", "output_format = \"jpeg\" #@param [\"jpeg\", \"png\"]\n", @@ -449,7 +448,6 @@ "\n", "params = {\n", " \"prompt\" : prompt,\n", - " \"negative_prompt\" : negative_prompt,\n", " \"aspect_ratio\" : aspect_ratio,\n", " \"seed\" : seed,\n", " \"output_format\" : output_format,\n", @@ -805,7 +803,6 @@ "\n", "image = \"/content/veggiecar.jpg\" #@param {type:\"string\"}\n", "prompt = \"A car made out of bismuth\" #@param {type:\"string\"}\n", - "negative_prompt = \"\" #@param {type:\"string\"}\n", "seed = 0 #@param {type:\"integer\"}\n", "output_format = \"jpeg\" #@param [\"jpeg\", \"png\"]\n", "strength = 0.94 #@param {type:\"slider\", min:0.0, max: 1.0, step: 0.01}\n", @@ -815,7 +812,6 @@ "params = {\n", " \"image\" : image,\n", " \"prompt\" : prompt,\n", - " \"negative_prompt\" : negative_prompt,\n", " \"strength\" : strength,\n", " \"seed\" : seed,\n", " \"output_format\": output_format,\n", diff --git a/nbs/Stable_Image_API_Public.ipynb b/nbs/Stable_Image_API_Public.ipynb index 02b8db09..bee3308d 100644 --- a/nbs/Stable_Image_API_Public.ipynb +++ b/nbs/Stable_Image_API_Public.ipynb @@ -455,7 +455,7 @@ "\n", "params = {\n", " \"prompt\" : prompt,\n", - " \"negative_prompt\" : negative_prompt if model != \"sd3.5-large-turbo\" else \"\",\n", + " \"negative_prompt\" : negative_prompt if model != \"sd3.5-large-turbo\" and model != \"sd3.5-flash\" else \"\",\n", " \"aspect_ratio\" : aspect_ratio,\n", " \"seed\" : seed,\n", " \"output_format\" : output_format,\n",