Free-Dall-E-Proxy, an open-source repository that serves as a proxy for API-based interactions with OpenAI's DALL·E 3 image generation model provided by coze.
Free-Dall-E-Proxy, an open-source repository that serves as a proxy for API-based interactions with OpenAI's DALL·E 3 image generation model provided by coze.
free-dall-e-proxy is a project that leverages the power of bots supported by the coze (currently Telegram and Discord) to provide free access to OpenAI's DALL·E 3 image generation capabilities. This proxy service offers an OpenAI-standard API endpoint, allowing developers to easily integrate DALL·E 3 into their applications.
Before you can start using free-dall-e-proxy, you need to configure agents on the Coze platform. These agents act as intermediaries, facilitating the communication between your application and the DALL·E 3 API through the supported bots. More details refer to how_to_create_coze_agent.
For ease of deployment, free-dall-e-proxy is containerized using Docker. To deploy the proxy using Docker, follow these steps:
git clone https://github.com/Feiyuyu0503/free-dall-e-proxy.gitcd free-dall-e-proxydata/.env file according to the prompt, now the docs is here:cp data/.env.example data/.env
vim data/.env# Pull my published image. Alternatively, you can build the Docker image yourself.
docker pull feiyuyu/free-dall-e-proxy# if you set `Telegram` to True in the data/.env, it might require to login with your phone after running following commands.
# after logining, you can press 'ctrl+p+q' to detach the container without stoping the container.
# run:
docker run -it -p 8000:8000 -v $PWD/data:/app/data --name free-dall-e-proxy feiyuyu/free-dall-e-proxy
# if you only set `DISCORD` to True in the data/.env, you can run the following command instead:
docker run -it -d -p 8000:8000 -v $PWD/data:/app/data --name free-dall-e-proxy feiyuyu/free-dall-e-proxyThe proxy service will now be running on port 8000 of your host machine.
If you prefer to run the proxy service directly with Python, you can follow these steps: (Ensure you have Python 3.8+ installed on your machine.)
git clone https://github.com/Feiyuyu0503/free-dall-e-proxy.gitcd free-dall-e-proxypip install -r requirements.txtdata/.env file according to the prompt, now the docs is here:cp data/.env.example data/.env
vim data/.env# use python
python main.py
# or use uvicorn
uvicorn main:api.appThe proxy service will now be accessible on the configured port(default:8000).
To generate images with DALL·E 3, send a POST request to the proxy's API endpoint with your image generation parameters. The proxy will handle the request, communicate with the Coze platform supported bots(like Telegram,Discord...), and return the generated image.
…For any questions or issues regarding the deployment or usage of free-dall-e-proxy, please feel free to open an issue in the GitHub repository.
This project is open-source and intended solely for educational purposes. It must not be used for any illegal activities.
No open issues yet, or sync has not completed.