mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-21 14:05:17 +02:00
update:change text_to_image default size 1024x1024
This commit is contained in:
parent
864c10ca31
commit
e6b7ae8a2b
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue