Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

qwencloud-video-generation

БесплатноЗапускает вложенные скриптыНе проверен

Generate videos using Wan models. Supports text-to-video, image-to-video, first+last frame, reference-based role-play, and video editing (VACE). TRIGGER when…

QwenCloudот QwenCloud★ 44 звезды на GitHub

Об этом скилле

Qwen Video Generation

Generate videos using Wan models. All tasks are asynchronous — submit, then poll until completion. This skill is part of qwencloud/qwencloud-ai.

⚠️ Critical Parameter Differences:

  • kf2v (First+Last Frame): Duration is fixed at 5 seconds — other values will fail. Output is silent only.
  • Resolution parameters vary by model family, not mode alone: Fetch the current model catalog before choosing size, resolution, or ratio.

Skill directory

Use this skill's internal files to execute and learn. Load reference files on demand when the default path fails or you need details.

Location Purpose
scripts/video.py Default execution — mode auto-detect, submit, poll, download
references/execution-guide.md Fallback: curl for all 5 modes, code generation
references/request-fields.md Field tables and audio handling by mode
references/workflows.md Duration extensions, multi-shot, VACE pipelines
references/polling-guide.md Polling patterns and timing
references/merge-media.md Concat, trim, audio overlay — ffmpeg/moviepy recipes
references/prompt-guide.md Per-mode prompt formulas, sound description, multi-shot structure
references/examples.md Full script examples per mode
references/sources.md Official documentation URLs

Security

NEVER output any API key or credential in plaintext. Always use variable references ($QWENCLOUD_API_KEY in shell, os.environ["QWENCLOUD_API_KEY"] in Python). The scripts accept QWENCLOUD_API_KEY, then QWEN_API_KEY, then DASHSCOPE_API_KEY. Any check or detection of credentials must be non-plaintext: report only status (e.g. "set" / "not set", "valid" / "invalid"), never the value. Never display contents of .env or config files that may contain secrets.

When the API key is not configured, NEVER ask the user to provide it directly. Instead, help create a .env file with a placeholder (QWENCLOUD_API_KEY=sk-your-key-here) and instruct the user to replace it with their actual key from the QwenCloud Console. Only write the actual key value if the user explicitly requests it.

Key Compatibility

Scripts support both standard QwenCloud API keys (sk-...) and Token Plan keys (sk-sp-...). Token Plan keys are automatically routed to the Token Plan endpoint for supported video models — see Token Plan Support below.

Token Plan: do not use curl; always use the bundled Python script.

Coding Plan keys (also sk-sp- prefix but purchased via Coding Plan subscription) cannot be used — video generation models are not available on Coding Plan. Video generation incurs per-second charges on standard keys. The script detects key type at startup and routes accordingly. If qwencloud-ops-auth is installed, see its references/codingplan.md for full details.

Detect the API key type without exposing the key:

python3 -c "
import sys; sys.path.insert(0, 'scripts')
from qwencloud_lib import detect_api_key_type
print(detect_api_key_type('scripts/qwencloud_lib.py'))
"
Output Meaning
token-plan Token Plan key detected (sk-sp- prefix)
payg Standard PAYG key detected
not-set No API key found in environment

For Token Plan, fetch and read the current Token Plan model catalog, then use an exact listed model. If CDN access fails, use the local fallback.

Mode Selection Guide

User Want Mode Key Field
Generate video from text description only t2v prompt only
Animate a single image i2v img_url or reference_image
wan2.7 unified i2v: first frame, first+last frame, video continuation, audio sync i2v media (array), first_frame_url, first_clip_url, driving_audio_url
Transition between two images (⚠️ 5s fixed, silent only) kf2v first_frame_url + last_frame_url
Role-play: make characters act a new script r2v reference_urls or media; read the CDN model catalog for model-specific limits
Video editing: multi-image ref, repainting, local edit, extend, outpaint vace function; read the CDN model catalog for the current default
Video editing via media protocol videoedit --model + media or video_url; read the CDN model catalog for supported models
Transfer a person's actions/expressions from a reference video to a character image animate --model + image_url + video_url + mode; read the CDN model catalog for supported models

Model Selection

🚫 CRITICAL — Never override user-specified parameters. If the user explicitly specifies a model (in prompt or request JSON), you MUST use

Полный SKILL.md на GitHub

Установить qwencloud-video-generation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

cdn/config/qwencloud-token-plan-config.jsoncdn/config/qwencloud-video-generation-config.jsoncdn/references/qwencloud-model-pricing.mdcdn/references/qwencloud-token-plan-models.mdcdn/references/qwencloud-video-generation-models.mdreferences/api-guide.mdreferences/examples.mdreferences/execution-guide.mdreferences/merge-media.mdreferences/polling-guide.mdreferences/prompt-guide.mdreferences/request-fields.mdreferences/sources.mdreferences/workflows.mdscripts/gossamer.pyscripts/qwencloud_lib.pyscripts/video.pyscripts/video_lib.py

FAQ

Что делает скилл qwencloud-video-generation?

Generate videos using Wan models. Supports text-to-video, image-to-video, first+last frame, reference-based role-play, and video editing (VACE). TRIGGER when: user wants to create, generate, or edit video content, mentions video generation/animation/video clips/Wan models, or explicitly invokes this skill by name (e.g. use qwencloud-video-generation). DO NOT TRIGGER when: user wants to generate images (use qwencloud-image-generation), understand/analyze existing videos (use qwencloud-vision), text-only tasks.

Как установить скилл qwencloud-video-generation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл qwencloud-video-generation запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить qwencloud-video-generation с