Example request: AIML API as OpenAI-compatible provider config
Author: D1m7asisCreated Jun 12, 2026Updated Jun 12, 2026
Hi, thanks for open-sourcing ViMax.
Would you be open to a small AIML API configuration example for the existing provider settings?
From a quick pass over the repo, ViMax already has provider-neutral config surfaces such as:
llm.model_providerllm.modelllm.base_urlllm.api_key- image/video
base_urlandapi_keyfields in the example configs
AIML API exposes an OpenAI-compatible LLM endpoint at:
https://api.aimlapi.com/v1Auth is standard bearer token auth:
Authorization: Bearer <AIMLAPI_API_KEY>A focused PR could avoid changing core runtime logic and only add a documented/config example, for example:
llm:
model_provider: openai
model: openai/gpt-4o-mini
base_url: https://api.aimlapi.com/v1
api_key: ${AIMLAPI_API_KEY}Potential scope:
- add
configs/*_aimlapi.yamlor a README section showing AIML API as an OpenAI-compatible LLM provider - document the env var/key setup path (
AIMLAPI_API_KEY, https://aimlapi.com/app/keys) - keep image/video generation examples separate unless their endpoint contracts match ViMax's current adapters cleanly
- add no new dependency and avoid changing the default provider behavior
If this would be useful, I can prepare a small docs/config PR.
Source: HKUDS/ViMax