20 lines
1.1 KiB
Markdown
20 lines
1.1 KiB
Markdown
# AI in the editors
|
|
|
|
**Generate…** in the [resource editors](resource-editors.md) (sprites, sound effects, tunes, levels, tilesets) asks one of:
|
|
|
|
| Provider | Needs | Runs |
|
|
|---|---|---|
|
|
| Claude | the `claude` command, your login | Anthropic |
|
|
| OpenCode | the `opencode` command; a model `provider/model` | the model OpenCode uses |
|
|
| OpenAI, Mistral, Groq, OpenRouter, Google Gemini | your API key | online |
|
|
| **Ollama, LM Studio, llama.cpp**, any OpenAI-compatible server | nothing | **your computer: nothing leaves it** |
|
|
| OpenAI Images | your API key | online (sprites, tilesets made pixel art) |
|
|
| ElevenLabs | your API key | online: real sound effects and music (mp3) |
|
|
|
|
Keys are kept in the IDE's settings on this computer, never in the project. The IDE checks every answer before an editor gets it, and
|
|
sends a wrong one back once with what is wrong (small local models often need it).
|
|
|
|
A tileset comes back as a sheet of tiles that fit together with their collision; a real sound is saved as an mp3 next to the resource
|
|
(`assets/sfx/…`), which a game plays as it is.
|
|
|
|
For code, see [Claude and OpenCode](claude.md).
|