# dsh-llm-multimodal [![中文](https://img.shields.io/badge/lang-zh-CN-blue)](./README.md) [![English](https://img.shields.io/badge/language-English-lightgrey)](./README.en.md) [![npm](https://img.shields.io/npm/v/dsh-llm-multimodal)](https://www.npmjs.com/package/dsh-llm-multimodal) > **DSH plugin: six generation tools for text / image / video / vision / speech / music, backed by OpenAI-compatible APIs.** `generate_text` / `generate_image` / `generate_video` / `generate_vision` / `generate_tts` / `generate_music` are auto-discovered from the existing `llm-pi-ai` settings. Every model's modalities (text / image / video / vision / tts / music) are resolved by a **layered capability resolver**: a manual pin wins, then the provider's declared metadata, then metadata probed from the provider's own model list, then family rules, and finally a text fallback. A verdict can be corrected by hand in the settings card — see [Model capability resolution](https://github.com/xiaokaizhou/dsh-llm-multimodal/blob/main/docs/capability-resolution.md). ## Companion plugins This plugin forms a complete **generate → orchestrate → preview** loop with two sibling DSH plugins by the same author. Install them together: | Plugin | Role | npm | |---|---|---| | [dsh-media-studio](https://github.com/xiaokaizhou/dsh-media-studio) | Multi-project infinite canvas: lands generated media on canvas nodes, plus a per-project asset library and global search. `canvas_refresh_node` calls back into this plugin's generators | [npm: dsh-media-studio](https://www.npmjs.com/package/dsh-media-studio) | | [media-preview](https://github.com/xiaokaizhou/dsh-media-preview) | Renders local/online media paths in chat as playable previews (Range / caching / 27 formats) | [npm: media-preview](https://www.npmjs.com/package/media-preview) | - **Generate + orchestrate**: `dsh-media-studio` publishes the cross-plugin `mediaStudio` service (soft reference, no hard dependency). With the default `outputStrategy=project`, this plugin's `generate_image` / `generate_video` / `generate_tts` / `generate_music` write straight into the active media-studio project's `/assets//` (images default to `character`, pass `asset_kind=scene` for backgrounds; video → `clips`; audio → `audio`). Results carry `projectId` + `canvasUrl`, so `canvas_graph_patch`'s `batchAddMedia` attaches them to canvas nodes in one step. When media-studio is absent or has no active project, the plugin falls back to the `outputDir` strategy (default `/tmp`) — install order does not matter. - **Preview**: `media-preview` renders the `file://` paths this plugin produces as inline `