From fc4fe211994312cf947f69745dd6e09335b04c85 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sat, 7 Dec 2024 03:01:43 +0100 Subject: Add Authentication Setup Guide --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7509af2e..3b847e49 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ docker run \ hlohaus789/g4f:latest-slim \ rm -r -f /app/g4f/ \ && pip install -U g4f[slim] \ - && python -m g4f.cli api --gui --debug + && python -m g4f --debug ``` It also updates the `g4f` package at startup and installs any new required dependencies. @@ -134,7 +134,7 @@ By following these steps, you should be able to successfully install and run the Run the **Webview UI** on other Platforms: -- [/docs/guides/webview](docs/webview.md) +- [/docs/webview](docs/webview.md) ##### Use your smartphone: @@ -204,7 +204,7 @@ image_url = response.data[0].url print(f"Generated image URL: {image_url}") ``` -[![Image with cat](/docs/cat.jpeg)](docs/client.md) +[![Image with cat](/docs/images/cat.jpeg)](docs/client.md) #### **Full Documentation for Python API** - **New:** @@ -241,6 +241,10 @@ This API is designed for straightforward implementation and enhanced compatibili ### Configuration +#### Authentication + +Refer to the [G4F Authentication Setup Guide](docs/authentication.md) for detailed instructions on setting up authentication. + #### Cookies Cookies are essential for using Meta AI and Microsoft Designer to create images. -- cgit v1.2.3