|
@ -320,12 +320,12 @@ async def generate_image_automatic(input_prompt: str, negative_prompt: str, api_ |
|
|
"width": 512, |
|
|
"width": 512, |
|
|
"height": 768, |
|
|
"height": 768, |
|
|
"restore_faces": True, |
|
|
"restore_faces": True, |
|
|
"gfpgan_visibility": 0.5, |
|
|
# "gfpgan_visibility": 0.5, |
|
|
"codeformer_visibility": 0.5, |
|
|
# "codeformer_visibility": 0.5, |
|
|
"codeformer_weight": 0.5, |
|
|
# "codeformer_weight": 0.5, |
|
|
# "override_settings": { |
|
|
## "override_settings": { |
|
|
# "filter_nsfw": False, |
|
|
## "filter_nsfw": False, |
|
|
# }, |
|
|
## }, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
output = await serverless_automatic_request(payload, "txt2img", api_url, api_key) |
|
|
output = await serverless_automatic_request(payload, "txt2img", api_url, api_key) |
|
|