Skip to content

Image Generation

BobMaster edited this page Dec 23, 2023 · 4 revisions

Image Generation with DALL·E or LocalAI or stable-diffusion-webui

sample .env

SERVER_URL="xxxxx.xxxxxx.xxxxxxxxx"
EMAIL="xxxxxx"
USERNAME="@chatgpt"
PASSWORD="xxxxxxxxxxxxxx"
IMAGE_GENERATION_ENDPOINT="http://127.0.0.1:7860/sdapi/v1/txt2img"
IMAGE_GENERATION_BACKEND="sdwui" # openai or sdwui or localai

sample config.json

{
    "server_url": "xxxx.xxxx.xxxxx",
    "email": "[email protected]",
    "username": "@chatgpt",
    "password": "xxxxxxx",
    "image_generation_endpoint": "http://localhost:8080/v1/images/generations",
    "image_generation_backend": "localai"
}
Clone this wiki locally