resolution
This commit is contained in:
parent
08e184ea55
commit
986653b43e
@ -22,7 +22,7 @@ def gen_image(llm_kwargs, prompt, resolution="256x256"):
|
||||
data = {
|
||||
'prompt': prompt,
|
||||
'n': 1,
|
||||
'size': '256x256',
|
||||
'size': resolution,
|
||||
'response_format': 'url'
|
||||
}
|
||||
response = requests.post(url, headers=headers, json=data, proxies=proxies)
|
||||
|
Loading…
x
Reference in New Issue
Block a user