diff --git "a/crazy_functions/\345\233\276\347\211\207\347\224\237\346\210\220.py" "b/crazy_functions/\345\233\276\347\211\207\347\224\237\346\210\220.py" index ae832c597..d9e2787aa 100644 --- "a/crazy_functions/\345\233\276\347\211\207\347\224\237\346\210\220.py" +++ "b/crazy_functions/\345\233\276\347\211\207\347\224\237\346\210\220.py" @@ -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)