Misaka43fd

Mulerouter

設計創意v0.1.0
作者:Misaka43fd更新於 2026-05-11mulerouter-skills@clawhub_misaka43fd/mulerouter-skills
圖片生成影片處理#Video Editing

據 AlphaMoat 統計,截至 2026-09,Mulerouter 累計下載 1,938 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 4,469 位,在「設計創意」分類(512 個)中排名第 448 位。

累計安裝
129
累計下載
1938
星標
-
全站排名
#4,469
全站前 89% · 「設計創意」前 88%
平台累計安裝累計下載星標評論
ClawHub ↗481710--
SkillHub ↗1291938-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該技能提供文字生成圖像、圖像編輯、文字生成影片、圖像生成影片及影片編輯流程,並透過已配置的 API 服務提交請求。提示詞、媒體輸入和 API 金鑰會傳送到所選服務或自定義端點;只使用可信端點,不提交敏感素材,避免在程式碼庫儲存金鑰,並在上傳前核實本地圖像路徑。 需要 Python 3.10 或更高版本、uv 或 pip,以及網路訪問。

資料釋出於 2026-10-29

可以用來做什麼

  • 透過 API 生成圖像或影片
  • 對已有圖像或影片進行轉換與編輯
  • 檢查可用模型和呼叫引數

什麼時候用

  • 使用者明確要求使用 MuleRouter 或 MuleRun 生成或編輯媒體時
  • API 端點和金鑰已安全配置時
  • 提交的提示詞和媒體檔案適合傳送到該服務時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

請先列出將使用的 API 服務、模型和本地圖像路徑;確認沒有敏感內容後,再按我的提示生成影片。不要輸出或記錄 API 金鑰。

月度資料趨勢

累計下載1938
832142620202026-03 · 累計下載 9142026-05 · 累計下載 11772026-06 · 累計下載 13042026-07 · 累計下載 15402026-08 · 累計下載 16752026-09 · 累計下載 193826-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-06 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-091938—-
2026-081675+8.8%-
2026-071540+18.1%-
2026-061304+10.8%-
2026-051177—-
2026-03914—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

4.0 KB · ClawHub v0.1.0
---
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, Veo3, Nano Banana Pro, Sora2, Midjourney.
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.
展開全部(共 129 行)
## Configuration Check

Before running any commands, verify the environment is configured:

### Step 1: Check for existing configuration

```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"
```

### Step 2: Configure if needed

**Option A: Environment variables with custom base URL (highest priority)**
```bash
export 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)**
```bash
export 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/`).

### 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" --image "https://example.com/photo.jpg" #remote image url
```
```bash
uv run python models/alibaba/wan2.6-i2v/generation.py --prompt "Gentle zoom in" --image "/path/to/local/image.png" #local image path
```

## Image Input

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.

## Workflow

1. Check configuration: verify `MULEROUTER_BASE_URL` or `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

「設計創意」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。