From 61e74deb0f5cfbbeb7ebf909fe7fef7ac44baa5e Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Mon, 28 Oct 2024 10:30:56 +0200 Subject: docs(docs/async_client.md): update G4F async client API guide --- docs/async_client.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') 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" ) -- cgit v1.2.3