text-to-short-video

Generate 30-60s MP4 videos from text via a video generation API with roles.json role consistency.

4|2|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/LaiTszKin/apollo-toolkit --skill text-to-short-video
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: text-to-short-video
Source: https://github.com/LaiTszKin/apollo-toolkit/tree/main/text-to-short-video
Command: npx skills add https://github.com/LaiTszKin/apollo-toolkit --skill text-to-short-video

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill enables API-only short-video generation from plain text, preserving character consistency via roles.json and minimizing manual setup.

Core Features & Use Cases

  • API-only workflow: resolve roles from roles.json, build a single prompt, submit to a video generation API, and download the final MP4.
  • Role continuity: uses roles.json as the authoritative source to keep user-identities stable across clips.
  • Post-processing: optionally enforce aspect ratio/size to match target dimensions.

Quick Start

Provide project_dir, content_name, and source text to generate a 30-60s video through the API-only workflow.

Frequently Asked Questions about text-to-short-video

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

FAQPage Schema
How do I generate short videos from text using an API-only workflow?

Short video generation from text is handled via an API-only workflow that resolves roles, builds a prompt, submits to a video generation endpoint, polls the job, and downloads the final MP4 file.

How does character consistency work when generating AI short videos from text?

Character consistency in AI short video generation is maintained by using a roles.json file as the authoritative source, ensuring user-identities remain stable across different video clips and variable prompts.

Can I enforce a specific aspect ratio or size when generating videos from text via API?

Aspect ratio and size correction for API-generated videos is supported through optional post-processing, allowing you to enforce specific target dimensions on the final downloaded MP4 file.

What do I need to provide to start generating 30 to 60 second videos through a video generation API?

To generate 30 to 60 second videos through the API, you need to provide a project directory, a content name, and the source text to trigger the end-to-end generation workflow.

Are there external dependencies required for API-driven text to video generation?

API-driven text to video generation requires minimal manual setup and has no external dependencies, operating entirely through scripts to manage the generation endpoint and MP4 download.

What is the best way to automate short video creation from text prompts while keeping roles stable?

Automating short video creation while keeping roles stable is best achieved by resolving identities from a roles.json file and submitting a single constructed prompt to a video generation API endpoint.