mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
refactor(docs/async_client.md): use async_generate for image generation
This commit is contained in:
parent
aef705021f
commit
b2b4188446
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ async def main():
|
|||
model="gpt-3.5-turbo",
|
||||
messages=[{"role": "user", "content": "Say this is a test"}],
|
||||
)
|
||||
task2 = client.images.generate(
|
||||
task2 = client.images.async_generate(
|
||||
model="dall-e-3",
|
||||
prompt="a white siamese cat",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue