INFO: x.x.x.x:49134 - "POST /v1/images/generate HTTP/1.1" 500 Internal Server Error
ERROR:root:'Image' object has no attribute 'to_dict'
Traceback (most recent call last):
File "/app/g4f/api/__init__.py", line 222, in generate_image
response_data = [image.to_dict() for image in response.data]
^^^^^^^^^^^^^
AttributeError: 'Image' object has no attribute 'to_dict'