by runware · v0.0.1
Runware inference provider. OpenAI-compatible LLM endpoint serving open models (DeepSeek, Qwen, GLM, Kimi, MiniMax) plus pass-through families.
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
Registers Runware as a first-class model provider in Dify. Runware exposes
an OpenAI-compatible /v1/chat/completions endpoint, so this plugin subclasses
the Dify SDK's OAICompatLargeLanguageModel and only adds Runware-specific
wiring (branding, credential schema, predefined model catalog).
.difypkg directly under
Plugins → Install Plugin → Local Package.https://api.runware.ai/v1.
Only change this if you're proxying or self-hosting an OpenAI-compatible
endpoint.No other connection requirements: the plugin only calls Runware's
OpenAI-compatible HTTPS API (/v1/chat/completions) with the credentials
above. No webhooks, no inbound connections, no other services involved.
The Dify Plugin SDK (dify_plugin) supports exactly two configurate methods:
predefined-model and customizable-model. There is no fetch-from-remote
method, and there is no runtime hook that returns a credential-authenticated
model list for the UI dropdown (models() / predefined_models() receive no
credentials; get_ai_model_schemas is per-model). Auto-discovery from
/v1/models is therefore a build step, not a runtime feature.
This plugin uses both methods:
models/llm/. The
API key is entered once at the provider level (provider_credential_schema).model_credential_schema).endpoint_url and mode are required by the OAICompat base; for predefined
models they are injected in RunwareLargeLanguageModel._update_credentials
before delegating to the base (the DeepSeek/OpenRouter pattern).
runware/
├── manifest.yaml # plugin manifest
├── main.py # entrypoint
├── pyproject.toml # deps, dev dependency group, pytest config
├── _assets/ # brand icons (icon.svg, icon_square.svg)
├── provider/
│ ├── runware.yaml # methods + dual credential schemas + model glob
│ └── runware.py # validate_provider_credentials
├── models/llm/
│ ├── llm.py # OAICompat subclass + credential injection
│ ├── _position.yaml # display order
│ └── *.yaml # predefined models
└── tests/
├── test_llm.py
└── test_provider.py
uv sync # installs runtime + dev deps (pytest)
uv run pytest # run the test suite
dify plugin package ./ # produces runware.difypkg
The baseline that already works without this plugin: the official
langgenius/openai_api_compatible plugin with Base URL https://api.runware.ai/v1
Note: author in manifest.yaml must equal your Dify Marketplace organization
name (your GitHub handle/org). It is set to Runware; change it if you publish
under a different account.