@@ -15,42 +15,23 @@ Clone the AI Server repository from GitHub:
1515
1616``` sh
1717git clone https://github.com/ServiceStack/ai-server
18+ cd ai-server
19+ cat install.sh | bash
1820```
1921
20- ### Edit the example.env File
22+ ### Optional ComfyUI Agent
2123
22- Create your own ` .env ` file by copying the ` example.env ` file:
24+ The installer will also ask if you want to install the ComfyUI Agent locally if you run AI server from the installer.
2325
24- ``` sh
25- cp example.env .env
26- ```
27-
28- And then edit the ` .env ` file with your desired settings:
26+ If you want to run the ComfyUI Agent separately, you can follow these steps:
2927
3028``` sh
31- # OpenAI API Key - Head to https://platform.openai.com/account/api-keys to get your API key
32- # OPENAI_API_KEY=your-openai-api-key
33- # Google Cloud API Key - Head to https://console.cloud.google.com/apis/credentials to get your API key
34- # GOOGLE_API_KEY=your-google-api-key
35- # OpenRouter API Key - Head to https://openrouter.io/ to get your API key
36- # OPENROUTER_API_KEY=your-openrouter-api-key
37- # Mistral API Key - Head to https://mistral.ai/ to get your API key
38- # MISTRAL_API_KEY=your-mistral-api-key
39- # GROQ API Key - Head to https://groq.com/ to get your API key
40- # GROQ_API_KEY=your-groq-api-key
41- # Custom Port for the AI Server
42- PORT=5005
29+ git clone https://github.com/ServiceStack/agent-comfy.git
30+ cd agent-comfy
31+ cat install.sh | bash
4332```
4433
45- These keys are used during the AI Server initial database setup to configure the AI providers based on the keys you * uncomment and provide* .
46-
47- ### Run the Docker Compose
48-
49- Start the AI Server with Docker Compose:
50-
51- ``` sh
52- docker compose up
53- ```
34+ Providing your AI Server URL and API Key when prompted will automatically register the ComfyUI Agent with your AI Server to handle related requests.
5435
5536## Accessing AI Server
5637
0 commit comments