yangel-hide/video-production-planner-agent/generate-video

Claude Code and agent skill by yangel-hide/video-production-planner-agent

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when a user wants MagicLight image-to-video generation that may require polling for the final video URL

Install

npx vskill@latest install yangel-hide/video-production-planner-agent/generate-video

SKILL.md

The same SKILL.md was published earlier as yangel-hide/video-production-planner-agent/generate-video.

Generate Video

Overview

Use this skill to generate videos through the MagicLight image-to-video API. It wraps both task creation and task polling in a single Python script so the agent can reliably return the final video_url.

When To Use

  • The user wants to animate an image into a short video clip
  • The request should go through the MagicLight i2v API
  • The task may need polling before the final asset URL is available
  • The workflow should return a stable JSON result instead of a manual curl transcript

Do not use this skill for still image generation. Use generate-img when the user wants t2i or i2i.

When this skill is loaded inside the video production chain, consume a stable source image from user media or a prior generate-img result and return enough task metadata for asset-manifest.json and retry recovery.

Workflow

  1. Confirm the required environment variables exist:
  • MAGIC_SVC_KEY
  • MAGIC_SVC_AUTH
  • MAGIC_USER_ID
  1. Collect the required inputs:
  • prompt
  • source img_url
  1. Run scripts/generate_video.py.
  2. If the create response sets need_query=true, let the script poll until it returns status=2 or times out.
  3. Return the final video_url and task metadata to the user.

Always use the script. Do not manually poll the API in the model response unless the user explicitly asks for raw request examples.

Command

bash
python3 /Users/zengqi/projects/magic-skills/generate-video/scripts/generate_video.py \
--prompt "图中的人物在游泳池自由泳,保持人物面部细节不变" \
--img-url "https://as1.ftcdn.net/v2/jpg/05/98/80/90/1000_F_598809067_KSuZtTsrFSRyRMTbBAJEn0wWAsEnJSIa.jpg" \
--ratio 1 \
--definition 720 \
--duration 5 \
--image2video-pro-type seedance2_0 \
--enable-audio

Inputs

  • Required:
  • --prompt
  • --img-url
  • Optional:
  • --ratio
  • --definition
  • --duration
  • --image2video-pro-type
  • --enable-audio or --disable-audio
  • --poll-interval-seconds
  • --max-wait-seconds
  • --no-wait
  • --base-url
  • --user-id
  • --timeout

Output

The script prints JSON with:

  • task_id
  • status
  • need_query
  • video_url
  • query_attempts
  • elapsed_seconds
  • raw_create_response
  • raw_query_response

Reference

Read references/api.md when you need the exact API contract.

Common Mistakes

  • Forgetting --img-url: video generation always requires a source image
  • Stopping after create when need_query=true: the script should keep polling unless --no-wait is set
  • Treating status=1 as failure: it means the task is still running

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/yangel-hide/video-production-planner-agent/generate-video/badge)](https://verified-skill.com/skills/yangel-hide/video-production-planner-agent/generate-video)

Something wrong with this skill or its page? Tell us.