docs(docs/async_client.md): update G4F async client API guide

This commit is contained in:
kqlio67 2024-10-28 10:30:56 +02:00
parent a174093661
commit 61e74deb0f

View File

@ -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"
)