Update aiutils.py

This commit is contained in:
Abhi
2024-01-20 03:01:05 +05:30
committed by GitHub
parent 2ef7e873d0
commit 06d20024d8

View File

@@ -36,14 +36,15 @@ async def vdxl(c: Client, message: Message):
return return
data = { data = {
"model": "sdxl-turbo", "model": "juggernaut-xl-V5",
"prompt": prompt, "prompt": prompt,
"negative_prompt": "", "negative_prompt": "",
"image_count": 1, "image_count": 1,
"token": vca_api_key, "token": vca_api_key,
"width": 1024, "width": 1024,
"height": 768, "height": 768,
"enhance": False "enhance": True,
"watermark": False
} }
# Send the request to generate images # Send the request to generate images
response = requests.post(f"{api_url}/generate-xl", json=data, verify=False) response = requests.post(f"{api_url}/generate-xl", json=data, verify=False)