A Claude Code skill for generating images and videos with Segmind APIs. Covers all four production models:
- Nano Banana 2 — Fast image generation with web search, from $0.06/image
- Nano Banana Pro — High-fidelity production images, from $0.15/image
- Seedance 2.0 — Cinematic video with native audio, ~$1.21/video
- Seedance 2.0 Fast — Quick video drafts, ~$0.77/video
The skill gives Claude deep knowledge of:
- All model parameters — endpoints, pricing, aspect ratios, resolution options
- API calling patterns — Python, cURL, and Node.js examples
- Video prompt engineering — camera language, time-segmented prompts, style modifiers
- Reference asset usage — character consistency, camera replication, beat-matching, effects templates
- Production workflows — image-to-video pipelines, iteration strategies, ad campaign batches, frame chaining
- Budget optimization — cost-effective strategies for different use cases
Copy SKILL.md to your Claude Code skills directory:
# Create the skills directory if it doesn't exist
mkdir -p ~/.claude/skills/segmind-media
# Copy the skill file
cp SKILL.md ~/.claude/skills/segmind-media/SKILL.mdgit clone https://github.com/segmind/segmind-media-skill.git ~/.claude/skills/segmind-media- Get your API key at https://cloud.segmind.com
- Set the environment variable:
export SEGMIND_API_KEY="your_key_here"Once installed, Claude Code will automatically use this skill when you ask it to generate images or videos. Example prompts:
- "Generate a product photo of these sneakers on a clean background"
- "Create a 15-second video ad for this product image"
- "Make Instagram, YouTube, and Pinterest versions of this banner"
- "Animate this hero image into a cinematic video with music"
| Model | Type | Cost | Best For |
|---|---|---|---|
| Nano Banana 2 | Image | $0.06–0.16 | Quick concepts, web-referenced designs |
| Nano Banana Pro | Image | $0.15–0.25 | Final creatives, text rendering, 4K |
| Seedance 2.0 | Video | ~$1.21 | Production video with audio |
| Seedance 2.0 Fast | Video | ~$0.77 | Storyboards, previews, drafts |
Video prompt engineering patterns adapted from dexhunter/seedance2-skill.
MIT — see LICENSE.