/v1 API.
Endpoint
MODROUTER_BASE_URL from the LibreChat runtime environment to the ModRouter root URL reachable by LibreChat.
Example Provider
Add a custom OpenAI-compatible endpoint inlibrechat.yaml:
Images and Vision
LibreChat can send image generation and vision requests through ModRouter when the selected model/provider supports the corresponding OpenAI-compatible endpoint. Use explicit model IDs such asopenai/gpt-image-1 or another image-capable provider/model configured in ModRouter.