Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates images and videos using MuleRouter or MuleRun multimodal APIs. Text-to-Image, Image-to-Image, Text-to-Video, Image-to-Video, video editing (VACE, keyframe interpolation). Use when the user wants to generate, edit, or transform images and videos using AI models like Wan2.6, Veo3, Nano Banana Pro, Sora2, Midjourney.
.claude/skills/berabuddies-mulerouter/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 25% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -6% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 12% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 18% | 0% |
Generate images and videos using MuleRouter or MuleRun multimodal APIs.
Before running any commands, verify the environment is configured:
bash# Check environment variables echo "MULEROUTER_BASE_URL: $MULEROUTER_BASE_URL" echo "MULEROUTER_SITE: $MULEROUTER_SITE" echo "MULEROUTER_API_KEY: ${MULEROUTER_API_KEY:+[SET]}" # Check for .env file ls -la .env 2>/dev/null || echo "No .env file found"
Option A: Environment variables with custom base URL (highest priority)
bashexport MULEROUTER_BASE_URL="https://api.mulerouter.ai" # or your custom API endpoint export MULEROUTER_API_KEY="your-api-key"
Option B: Environment variables with site (used if base URL not set)
bashexport MULEROUTER_SITE="mulerun" # or "mulerouter" export MULEROUTER_API_KEY="your-api-key"
Option C: Create .env file
Create .env in the current working directory:
env# Option 1: Use custom base URL (takes priority over SITE) MULEROUTER_BASE_URL=https://api.mulerouter.ai MULEROUTER_API_KEY=your-api-key # Option 2: Use site (if BASE_URL not set) # MULEROUTER_SITE=mulerun # MULEROUTER_API_KEY=your-api-key
Note: MULEROUTER_BASE_URL takes priority over MULEROUTER_SITE. If both are set, MULEROUTER_BASE_URL is used.
Note: The tool only reads .env from the current directory. Run scripts from the skill root (skills/mulerouter-skills/).
uv to run scriptsThe skill uses uv for dependency management and execution. Make sure uv is installed and available in your PATH.
Run uv sync to install dependencies.
bashuv run python scripts/list_models.py
bashuv run python models/alibaba/wan2.6-t2v/generation.py --list-params
Text-to-Video:
bashuv run python models/alibaba/wan2.6-t2v/generation.py --prompt "A cat walking through a garden"
Text-to-Image:
bashuv run python models/alibaba/wan2.6-t2i/generation.py --prompt "A serene mountain lake"
Image-to-Video:
bashuv run python models/alibaba/wan2.6-i2v/generation.py --prompt "Gentle zoom in" --image "https://example.com/photo.jpg" #remote image url
bashuv run python models/alibaba/wan2.6-i2v/generation.py --prompt "Gentle zoom in" --image "/path/to/local/image.png" #local image path
For image parameters (--image, --images, etc.), prefer local file paths over base64.
bash# Preferred: local file path (auto-converted to base64) --image /tmp/photo.png --images ["/tmp/photo.png"]
The skill automatically converts local file paths to base64 before sending to the API. This avoids command-line length limits that occur with raw base64 strings.
MULEROUTER_BASE_URL or MULEROUTER_SITE, and MULEROUTER_API_KEY are setuv syncuv run python scripts/list_models.py to discover available modelsuv run python models/<path>/<action>.py --list-params to see parametersOther measured skills in the registry, with their headline benchmark lift.