update:change text_to_image default size 1024x1024

This commit is contained in:
zhanglei 2024-04-02 21:23:19 +08:00
parent 864c10ca31
commit e6b7ae8a2b
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ from metagpt.tools.openai_text_to_image import oas3_openai_text_to_image
from metagpt.utils.s3 import S3
async def text_to_image(text, size_type: str = "512x512", openai_api_key="", model_url="", **kwargs):
async def text_to_image(text, size_type: str = "1024x1024", openai_api_key="", model_url="", **kwargs):
"""Text to image
:param text: The text used for image conversion.