360 Secure SkillHub
360 安全技能中心

Crazyrouter Video Gen

该 Skill 根据文本提示词和指定模型调用 Crazyrouter 视频生成接口,异步轮询直至完成,并把结果视频写入指定输出文件。需先设置 CRAZYROUTER_API_KEY 环境变量;支持 sora-2、kling-v2-1、veo3 等模型,可通过命令行参数选择模型与输出路径。

分类:创作
xujfcn
xujfcn
热度 21.53
最近更新 2026-05-11 17:29:37

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add xujfcn/crazyrouter-video-gen
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
crazyrouter-video-gen
description
AI video generation via Crazyrouter API. Supports Sora 2, Kling V2, Veo 3, Seedance, Pika, MiniMax Hailuo, Runway. Text-to-video generation. Use when user asks to generate, create, or make a video. Requires environment variable CRAZYROUTER_API_KEY (get at https://crazyrouter.com).

Video Generation via Crazyrouter

Generate videos from text prompts using Crazyrouter — one API key, multiple video AI models.

Supported Models

Model ID Description
Sora 2 sora-2 OpenAI's video model
Kling V2 kling-v2-1 Kuaishou's cinematic model
Veo 3 veo3 Google's video model
Seedance 1.5 Pro doubao-seedance-1-5-pro_720p ByteDance
Pika 1.5 pika-1.5 Creative video
MiniMax Hailuo 2.3 MiniMax-Hailuo-2.3 MiniMax
Runway VIP runway-vip-video Professional synthesis

Script Directory

Agent Execution:

  1. SKILL_DIR = this SKILL.md file's directory
  2. Script path = ${SKILL_DIR}/scripts/main.mjs

Step 0: Check API Key ⛔ BLOCKING

[ -n "${CRAZYROUTER_API_KEY}" ] && echo "key_present" || echo "not_set"
Result Action
key_present Continue
not_set Ask user to set CRAZYROUTER_API_KEY. Get key at https://crazyrouter.com

Usage

# Generate with default model (sora-2)
node ${SKILL_DIR}/scripts/main.mjs --prompt "A cat playing piano" --output cat.mp4

# With Kling V2
node ${SKILL_DIR}/scripts/main.mjs --prompt "Ocean waves at sunset" --output waves.mp4 --model kling-v2-1

# With Veo 3
node ${SKILL_DIR}/scripts/main.mjs --prompt "Timelapse of city traffic" --output city.mp4 --model veo3

Options

Option Description Default
--prompt <text> Video description (required) —
--output <path> Output file path (required) —
--model <id> Model to use sora-2

Note: Video generation is async — it may take 30-120 seconds depending on model. The script will poll until complete.