For civitai.image.create(..), both width and height are limited to 1024. A reasonable default, but it prevents full SDXL in landscape (1216x832) or portrait (832x1216) mode. These dimensions are available on civitai.com's UI.
I was able to work around it locally by modifying civitai/schemas/__init__py:30 (params_validator), and the service accepted me generating a 832x1216 portrait image.
Happy to send a PR if I could get some clarity on the actual intent of the limitation, e.g.: are you aiming for a single dimension max of 1024? or a max of 1024*1024 pixels for the total image? other?
Thanks!
For
civitai.image.create(..), both width and height are limited to1024. A reasonable default, but it prevents full SDXL in landscape (1216x832) or portrait (832x1216) mode. These dimensions are available on civitai.com's UI.I was able to work around it locally by modifying
civitai/schemas/__init__py:30(params_validator), and the service accepted me generating a832x1216portrait image.Happy to send a PR if I could get some clarity on the actual intent of the limitation, e.g.: are you aiming for a single dimension max of 1024? or a max of 1024*1024 pixels for the total image? other?
Thanks!