Communitygithub.com

littlewindy123/lianhuanhua-skills

Lianhuanhua Short Video Codex Skill: Token-saving prompt packs, external/built-in image generation, Doubao TTS, FFmpeg composition

What is lianhuanhua-skills?

littlewindy123/lianhuanhua-skills is a specialized AI agent skill designed for creating 'Lianhuanhua' (traditional Chinese comic strip) style short videos. It integrates multiple capabilities: it uses optimized, token-efficient prompt packs to reduce generation costs, supports both external services and built-in models for image generation, leverages Doubao (a popular Chinese TTS service) for text-to-speech narration, and employs FFmpeg for automated video composition. The skill streamlines the entire content creation pipeline—from storyboarding and image generation to audio dubbing and final video assembly—making it ideal for developers and content creators using Codex or similar AI coding assistants. It is particularly useful for producing engaging, narrated comic strip videos quickly while minimizing token consumption.

Works with~Claude Code✓Codex CLI~Cursor
npx skills add littlewindy123/lianhuanhua-skills

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does lianhuanhua-skills do?

Lianhuanhua Short Video Codex Skill: Token-saving prompt packs, external/built-in image generation, Doubao TTS, FFmpeg composition

Overview

This skill is designed for generating "Lianhuanhua" (comic strip) style short videos using AI. It integrates image generation, text-to-speech, and video composition to create engaging multimedia content efficiently.

Features

  • Token-Saving Prompt Packs: Pre-optimized prompt templates reduce token usage while maintaining quality.
  • Image Generation: Supports both external services (e.g., DALL·E, Stable Diffusion) and built-in generation.
  • Doubao TTS: High-quality Mandarin TTS using Doubao (豆包) API for natural narration.
  • FFmpeg Composition: Automated video assembly with transitions, subtitles, and timing.

Usage

  1. Prepare a storyboard or script.
  2. Use the skill's prompt pack to generate images.
  3. Generate audio narration via Doubao TTS.
  4. Compose the final video with FFmpeg.

Example

# Example command to generate a Lianhuanhua video
skill lianhuanhua --script "story.txt" --output "video.mp4"

Requirements

  • Python 3.8+
  • FFmpeg installed
  • Doubao API key (optional for external TTS)
  • Image generation service (optional for external generation)

Notes

  • Token-saving prompt packs are optimized for Codex and similar AI assistants.
  • All generated content should comply with applicable terms of service.

Related Skills