Update aiutils.py
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user