Skip to content
Back to skills

Mulerouter

ASecurity

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 or Nano Banana.

  • 416 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
ai-agentspythonbashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill mulerouter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mulerouter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mulerouter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-mulerouter/badge)](https://www.skillsdirectory.com/skills/aiskillstore-mulerouter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mulerouter
description: 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 or Nano Banana.
compatibility: Requires Python 3.10+, uv (or pip), and network access to api.mulerouter.ai or api.mulerun.com
---

# MuleRouter API

Generate images and videos using MuleRouter or MuleRun multimodal APIs.

## Configuration Check

Before running any commands, verify the environment is configured:

### Step 1: Check for existing configuration

```bash
# Check environment variables
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"
```

### Step 2: Configure if needed

**Option A: Environment variables**
```bash
export MULEROUTER_SITE="mulerun"    # or "mulerouter"
export MULEROUTER_API_KEY="your-api-key"
```

**Option B: Create .env file**

Create `.env` in the current working directory:

```env
MULEROUTER_SITE=mulerun
MULEROUTER_API_KEY=your-api-key
```

**Note:** The tool only reads `.env` from the current directory. Run scripts from the skill root (`skills/mulerouter-skills/`).

### Step 3: Using `uv` to run scripts

The skill uses `uv` for dependency management and execution. Make sure `uv` is installed and available in your PATH.

Run `uv sync` to install dependencies.

## Quick Start

### 1. List available models

```bash
uv run python scripts/list_models.py
```

### 2. Check model parameters

```bash
uv run python models/alibaba/wan2.6-t2v/generation.py --list-params
```

### 3. Generate content

**Text-to-Video:**
```bash
uv run python models/alibaba/wan2.6-t2v/generation.py --prompt "A cat walking through a garden"
```

**Text-to-Image:**
```bash
uv run python models/alibaba/wan2.6-t2i/generation.py --prompt "A serene mountain lake"
```

**Image-to-Video:**
```bash
uv run python models/alibaba/wan2.6-i2v/generation.py --prompt "Gentle zoom in" --images '["https://example.com/photo.jpg"]'
```

## Workflow

1. Check configuration: verify `MULEROUTER_SITE` and `MULEROUTER_API_KEY` are set
2. Install dependencies: run `uv sync`
3. Run `uv run python scripts/list_models.py` to discover available models
4. Run `uv run python models/<path>/<action>.py --list-params` to see parameters
5. Execute with appropriate parameters
6. Parse output URLs from results

## Tips
1. For an image generation model, a suggested timeout is 5 minutes.
2. For a video generation model, a suggested timeout is 15 minutes.

## References

- [REFERENCE.md](references/REFERENCE.md) - API configuration and CLI options
- [MODELS.md](references/MODELS.md) - Complete model specifications

Files in this skill

  • EVALUATION_OUTPUT.json10.6 KB
  • README.md850 B
  • SKILL.md2.8 KB
  • core/__init__.py1 KB
  • core/client.py6.3 KB
  • core/config.py3.8 KB
  • core/registry.py6.1 KB
  • core/task.py5.7 KB
  • models/__init__.py1.1 KB
  • models/alibaba/__init__.py1.7 KB
  • models/alibaba/wan2.1-kf2v-plus/generation.py3.3 KB
  • models/alibaba/wan2.1-vace-plus/generation.py7.3 KB
  • models/alibaba/wan2.2-i2v-flash/generation.py2.8 KB
  • models/alibaba/wan2.2-i2v-plus/generation.py2.8 KB
  • models/alibaba/wan2.2-t2v-plus/generation.py2.8 KB
  • models/alibaba/wan2.5-i2i-preview/generation.py2.9 KB
  • models/alibaba/wan2.5-i2v-preview/generation.py3.2 KB
  • models/alibaba/wan2.5-t2i-preview/generation.py2.6 KB
  • models/alibaba/wan2.5-t2v-preview/generation.py3.3 KB
  • models/alibaba/wan2.6-i2v/__init__.py149 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…