Install
openclaw plugins install clawhub:@d-ai/openclaw@d-ai/openclaw
OpenClaw plugin that exposes D.AI image, video, and music generation through the native image_generate, video_generate, and music_generate tools, and registers the public D.AI user MCP while the plugin is enabled.
Install
OpenClaw 2026.9.3+ asks for capability consent on third-party plugins. The interactive second [y/N] can lose stdin and roll the install back (Plugin not found: dai). Pass the flag:
openclaw plugins install clawhub:@d-ai/openclaw --accept-capabilities
openclaw plugins enable dai --accept-capabilities
Local checkout:
openclaw plugins install --link ./sdks/openclaw --accept-capabilities
After install, open Control UI → Config → Plugins → D.AI and paste the API key (ddsk_...). That writes plugins.entries.dai.config.apiKey. You can also set DAI_API_KEY, or write the same config by hand:
{
plugins: {
entries: {
dai: {
enabled: true,
config: {
apiKey: "ddsk_...",
// baseUrl: "https://dai.itbug.shop"
}
}
}
}
}
Default API host is https://dai.itbug.shop. Enabling the plugin also registers MCP server dai at https://mcp.itbug.shop/mcp with the same key. Optional mcpUrl is for private MCP hosts. Restart the Gateway after changing the key. Chat/TUI turns see the MCP tools; cron/heartbeat/subagent runs do not.
Models
Ask the agent to generate media, or pass a model ref:
| Surface | Default | Examples |
|---|---|---|
| Image | dai/gpt-image-2.5-flare | dai/gpt-image-2.5-sunburst, dai/gemini-3-pro-image-preview, dai/flux-2-max |
| Video | dai/veo-3.1-quality | dai/omni-flash, dai/flux-3-video |
| Music | dai/chirp-v5-5 | dai/chirp-v5 |
flux1-schnell is image-to-image only. Spend is billed to the D.AI wallet. Prefer native tools for GPT Image / Gemini / Flux / Veo / Suno. User MCP covers account, catalog, Midjourney, Novel, and the rest of the user tool surface.
Skill
Enabling the plugin loads dai-media, which tells the agent when to pick a dai/... model. Workspace skills with the same name override it.
