text-to-video

Generate 5- or 10-second Kling videos from text prompts via asynchronous task polling.

23|4|Updated May 7, 2026
One-click install
npx skills add https://github.com/qq5855144/GitHubM --skill text-to-video
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: text-to-video
Source: https://github.com/qq5855144/GitHubM/tree/main/.skills/text-to-video
Command: npx skills add https://github.com/qq5855144/GitHubM --skill text-to-video

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill turns a text prompt into a short generated video so creators can produce simple promotional or educational clips without manual editing.

Core Features & Use Cases

  • Short-form generation: Create 5-second or 10-second videos from natural language prompts.
  • Model selection: Choose among Kling model variants and adjust duration, aspect ratio, and style-related inputs.
  • Async workflow: Submit a task, poll for completion, and then use the returned video URL or transfer it into persistent storage.
  • Use case: A marketer can turn a product brief into a quick social video concept for an ad, demo, or landing page.

Quick Start

Turn this prompt into a 5-second video: a futuristic product reveal with cinematic lighting and smooth camera movement.

Frequently Asked Questions about text-to-video

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

FAQPage Schema
How do I generate a short video from a text prompt without manual editing?

You can generate a short video from a text prompt by submitting a task to the Kling model, polling for completion asynchronously, and retrieving the resulting temporary video URL for immediate download or storage transfer.

What video durations and aspect ratios can I specify for text-to-video generation?

You can specify 5-second or 10-second video durations and adjust aspect ratio and style-related inputs for text-to-video generation using Kling model variants.

Does this text-to-video workflow support web and mini program platforms?

Yes, the text-to-video workflow supports web and mini program platforms, applying to marketing, education, and creative content workflows that require Kling video generation.

How does the async polling process work for retrieving the generated video?

The async polling process works by submitting a video generation task, polling the platform-managed Qianfan authentication endpoint for completion, and retrieving the returned temporary video URL.

Can I transfer the generated Kling video into persistent storage?

Yes, you can transfer the generated Kling video into persistent storage by retrieving the temporary video URL after polling completes and moving it to Supabase storage.

What is the best way to create a quick social media video concept from a product brief?

The best way to create a quick social media video concept is using text-to-video generation to turn a product brief into a 5-second or 10-second cinematic clip for ads or landing pages.