Video Generation

Generate videos from text prompts or images with configurable size, fps, duration, and audio.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Kraits/cxc-ace --skill video-generation-kraits
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Video Generation
Source: https://github.com/Kraits/cxc-ace/tree/main/skills-backup/video-generation
Command: npx skills add https://github.com/Kraits/cxc-ace --skill video-generation-kraits

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires z-ai-web-dev-sdk, and includes scripts (resource) components.

What problem does it solve?

Automates video production by turning text prompts or input images into AI-generated video content, reducing manual production time.

Core Features & Use Cases

  • Asynchronous video generation: submit a task and poll for results, enabling scalable batch workflows.
  • Text-to-Video and Image-to-Video: generate videos from prompts or images with configurable size (e.g., 1920x1080), frame rate, duration, and optional audio.
  • Real-world use cases: quick marketing clips, educational demos, and social media content creation from descriptive prompts.

Quick Start

Use the supplied script in scripts/video.ts to create a video generation task and poll for results.

Frequently Asked Questions about Video Generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate AI video from text prompts or images programmatically?

To generate AI video from text prompts or images, you submit an asynchronous task using the supplied script and poll for the results to extract the final video URL. This automates multimedia creation with configurable size, frame rate, duration, and optional audio.

How does asynchronous polling work for text-to-video generation tasks?

Asynchronous polling for text-to-video generation works by submitting a video creation task and then continuously checking its status until completion. This mechanism enables scalable batch workflows without blocking execution, ultimately returning a final video URL.

Do I need a backend environment and the z-ai-web-dev-sdk to run image-to-video workflows?

Yes, you need a backend environment and the z-ai-web-dev-sdk dependency to run image-to-video workflows. Backend execution is required to handle the asynchronous task polling and carefully process the results to extract the generated video URL.

Can I configure custom size, fps, and duration when I create AI video from prompts?

Yes, you can configure custom size, fps, and duration when you create AI video from prompts. The generation workflow supports specific output dimensions like 1920x1080, adjustable frame rates, variable duration lengths, and optional audio tracks.

What are the limitations of asynchronous video generation for marketing clips?

Limitations of asynchronous video generation include the necessity of continuous polling to retrieve results and the requirement of a backend environment with the z-ai-web-dev-sdk. You must carefully handle polling results to successfully extract the final video URL.