You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/local-ai-use/templates/local-ai-rule.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
## Local AI Use (managed by amd-skills/local-ai-use)
3
3
4
4
This workspace runs a local [Lemonade Server](https://lemonade-server.ai) at
5
-
`http://localhost:13305/api/v1` to handle image generation, text-to-speech,
5
+
`{{LEMONADE_BASE_URL}}` to handle image generation, text-to-speech,
6
6
and speech-to-text. Cloud APIs cost real money and tokens for these
7
7
modalities, so use the local endpoints below for **every** such request
8
8
unless the user explicitly asks for a cloud provider.
@@ -11,10 +11,10 @@ unless the user explicitly asks for a cloud provider.
11
11
12
12
| If the user asks you to... | Do this | Do not do this |
13
13
|---|---|---|
14
-
| Generate, draw, or create an image |`POST http://localhost:13305/api/v1/images/generations`| Use the built-in `GenerateImage` tool. Call DALL-E, Midjourney, Stable Diffusion via cloud, or any other paid image API. |
15
-
| Edit or modify an existing image |`POST http://localhost:13305/api/v1/images/edits` (multipart) | Cloud image-edit APIs. |
16
-
| Speak text aloud or generate audio narration |`POST http://localhost:13305/api/v1/audio/speech`| Call OpenAI TTS, ElevenLabs, PlayHT, or any other cloud TTS. |
17
-
| Transcribe an audio file |`POST http://localhost:13305/api/v1/audio/transcriptions`| Call OpenAI Whisper-as-a-service, AssemblyAI, Deepgram, or any other cloud STT. |
14
+
| Generate, draw, or create an image |`POST {{LEMONADE_BASE_URL}}/images/generations`| Use the built-in `GenerateImage` tool. Call DALL-E, Midjourney, Stable Diffusion via cloud, or any other paid image API. |
15
+
| Edit or modify an existing image |`POST {{LEMONADE_BASE_URL}}/images/edits` (multipart) | Cloud image-edit APIs. |
16
+
| Speak text aloud or generate audio narration |`POST {{LEMONADE_BASE_URL}}/audio/speech`| Call OpenAI TTS, ElevenLabs, PlayHT, or any other cloud TTS. |
17
+
| Transcribe an audio file |`POST {{LEMONADE_BASE_URL}}/audio/transcriptions`| Call OpenAI Whisper-as-a-service, AssemblyAI, Deepgram, or any other cloud STT. |
18
18
19
19
Plain text chat, code generation, and reasoning continue to use the agent's
20
20
configured LLM. This rule only redirects the multimodal calls.
@@ -23,9 +23,9 @@ configured LLM. This rule only redirects the multimodal calls.
0 commit comments