Generate vivid images with DALLE-3

It's apparently the default setting in chatgpt app according to the
openai cookbook at https://cookbook.openai.com/articles/what_is_new_with_dalle_3#examples-and-prompts
This commit is contained in:
Debanjum Singh Solanky
2024-09-12 02:21:55 -07:00
parent 1b82aea753
commit ed12f45a26

View File

@@ -988,6 +988,7 @@ async def text_to_image(
response = state.openai_client.images.generate(
prompt=improved_image_prompt,
model=text2image_model,
style="vivid",
response_format="b64_json",
extra_headers=auth_header,
)