diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-28 09:30:56 +0100 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-28 09:30:56 +0100 |
commit | 61e74deb0f5cfbbeb7ebf909fe7fef7ac44baa5e (patch) | |
tree | 43a025c8d14c194c765e36f162d932b1f333aab7 /docs | |
parent | Updaate (README.md) (diff) | |
download | gpt4free-61e74deb0f5cfbbeb7ebf909fe7fef7ac44baa5e.tar gpt4free-61e74deb0f5cfbbeb7ebf909fe7fef7ac44baa5e.tar.gz gpt4free-61e74deb0f5cfbbeb7ebf909fe7fef7ac44baa5e.tar.bz2 gpt4free-61e74deb0f5cfbbeb7ebf909fe7fef7ac44baa5e.tar.lz gpt4free-61e74deb0f5cfbbeb7ebf909fe7fef7ac44baa5e.tar.xz gpt4free-61e74deb0f5cfbbeb7ebf909fe7fef7ac44baa5e.tar.zst gpt4free-61e74deb0f5cfbbeb7ebf909fe7fef7ac44baa5e.zip |
Diffstat (limited to 'docs')
-rw-r--r-- | docs/async_client.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/async_client.md b/docs/async_client.md index 05c7a0b8..357b0d86 100644 --- a/docs/async_client.md +++ b/docs/async_client.md @@ -189,7 +189,7 @@ async def main(): response = await client.images.async_generate( prompt="a white siamese cat", - model="dall-e-3" + model="flux" ) image_url = response.data[0].url @@ -210,7 +210,7 @@ async def main(): response = await client.images.async_generate( prompt="a white siamese cat", - model="dall-e-3", + model="flux", response_format="b64_json" ) @@ -242,7 +242,7 @@ async def main(): ) task2 = client.images.async_generate( - model="dall-e-3", + model="flux", prompt="a white siamese cat" ) |