Skip to content

🀯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

docs(lobehub-skill): add video/image model lookup guide to generate & model references (#14264)

Arvin Xu2965cbc83a30
diff --git a/packages/builtin-skills/src/lobehub/references/generate.ts b/packages/builtin-skills/src/lobehub/references/generate.ts
index 37c9100e34c..3017c0f4823 100644
--- a/packages/builtin-skills/src/lobehub/references/generate.ts
+++ b/packages/builtin-skills/src/lobehub/references/generate.ts
@@ -19,6 +19,33 @@ Generate text, images, videos, and audio. Alias: \`lh generate\`.
- \`--stream\` for text generation outputs tokens as they arrive
- \`--pipe\` for text generation outputs only the raw text (no formatting)
+## Finding Available Video / Image Models
+
+Before generating, always look up the correct model ID with \`lh model list\`:
+
+\`\`\`bash
+# List all video models for the lobehub provider
+lh model list lobehub --type video
+
+# List only enabled video models
+lh model list lobehub --type video --enabled
+
+# List image generation models
+lh model list lobehub --type image
+\`\`\`
+
+Use the \`id\` field from the output as the \`-m\` argument. Model IDs for video/image are
+**not** the same as human-readable display names β€” always use the exact \`id\` field.
+
+Example:
+\`\`\`bash
+# βœ… Correct β€” use the id from lh model list
+lh gen video "a cat riding a skateboard" -p lobehub -m dreamina-seedance-2-0-260128
+
+# ❌ Wrong β€” guessed slugs will fail with no_valid_channel_error
+lh gen video "a cat riding a skateboard" -p lobehub -m seedance-2.0
+\`\`\`
+
## ⚠️ asyncTaskId vs generationId
\`gen status\` and \`gen download\` require TWO different IDs:
diff --git a/packages/builtin-skills/src/lobehub/references/model.ts b/packages/builtin-skills/src/lobehub/references/model.ts
index e48ea8f95dd..44ac152b412 100644
--- a/packages/builtin-skills/src/lobehub/references/model.ts
+++ b/packages/builtin-skills/src/lobehub/references/model.ts
@@ -13,10 +13,26 @@ Manage AI models for providers.
- \`lh model batch-toggle <ids...> --provider <p> [--enable|--disable]\` - Batch toggle
- \`lh model clear --provider <p> [--remote] [--yes]\` - Clear all models for provider
+## Model Types
+
+The \`--type\` filter accepts the following values:
+
+| Type | Description |
+|------|-------------|
+| \`chat\` | Text chat / LLM models |
+| \`embedding\` | Text embedding models |
+| \`tts\` | Text-to-speech models |
+| \`stt\` | Speech-to-text models |
+| \`image\` | Image generation models |
+| \`video\` | Video generation models |
+| \`text2music\` | Music generation models |
+| \`realtime\` | Realtime audio/video models |
+
## Tips
- Models belong to providers; always specify \`--provider\` when needed
-- Use \`--type\` to filter by model type (chat, embedding, etc.)
+- \`lh model list\` without \`--type\` returns all model types; use \`--type video\` (or the relevant type) to narrow results when looking for non-chat models
+- Use \`--enabled\` to filter only active models
`;
export default content;