mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
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:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user