d7e92ab7e3
Adds a bundled image-generation backend for the Meta Model API (https://api.meta.ai/v1), which is OpenAI-compatible. Exposes the muse-image-1.0 model via the standard image_generate tool. This is the image-gen companion to the already-bundled meta-ai chat provider (plugins/model-providers/meta-ai, PR #88565). - plugins/image_gen/meta-ai/ — provider registered as `meta-ai`, matching the chat provider's id. Reuses the openai SDK pointed at Meta's base URL. - Auth mirrors the chat provider: MODEL_API_KEY (Meta's documented var), with META_API_KEY / META_MODEL_API_KEY aliases and a META_BASE_URL override. - Text-to-image only for now (capabilities gated); base64 (WebP) and URL responses both handled and saved under $HERMES_HOME/cache/images/. - Auto-loads as `kind: backend` and appears in `hermes tools` with no central list edits, matching the other bundled providers. - tests/plugins/image_gen/test_meta_ai_provider.py — 27 tests (metadata, auth-alias resolution, base-url override, model resolution, generate paths incl. b64 save, aspect mapping, URL caching, error handling). - docs: image-generation feature page + provider-plugin built-in list.
Website
This website is built using Docusaurus, a modern static website generator.
Installation
yarn
Local Development
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
USE_SSH=true yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
Diagram Linting
CI runs ascii-guard to lint docs for ASCII box diagrams. Use Mermaid (````mermaid`) or plain lists/tables instead of ASCII boxes to avoid CI failures.