CommunityCoding & Developmentgithub.com

Tencent/workrally

A comprehensive toolset for AI Agent-driven AIGC comic-video creation, covering the entire workflow.

What is workrally?

Tencent/workrally is a comprehensive toolset designed for AI agents to automate the full pipeline of AIGC (AI-Generated Content) comic-to-video creation. It streamlines the process from script generation and storyboard design to character animation, scene composition, and final video rendering, enabling efficient and scalable production of manhua-style animated videos. The toolset integrates with popular AI agent platforms like Claude Code, Cursor, and Codex, and provides a modular, skill-based interface that agents can invoke to execute each step of the creative workflow. By leveraging this skill, developers and AI agents can dramatically reduce manual effort in comic video production, allowing for rapid prototyping, batch generation, and consistent output quality. It is particularly useful for content creators, game studios, and multimedia applications seeking to automate visual storytelling.

Works with~Claude Code~Codex CLI~Cursor
npx skills add Tencent/workrally

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

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

Documentation

What does workrally do?

面向 AI Agent 的 AIGC 漫剧视频创作全流程工具集。

This is a comprehensive toolset for AI Agent-driven AIGC comic-video creation, covering the entire workflow.

Overview

Tencent/workrally provides a modular, skill-based interface for AI agents (Claude Code, Cursor, Codex, etc.) to automate the creation of manhua-style animated videos. The toolset supports the following key stages:

  • Script Generation – Automatically generate story scripts based on user prompts or templates.
  • Storyboard Design – Create visual storyboard panels from the script, including character poses, backgrounds, and scene transitions.
  • Character Animation – Apply pre-built or custom animation behaviors to characters (e.g., walking, talking, emoting).
  • Scene Composition – Assemble scenes with assets, lighting, and camera angles.
  • Video Rendering – Export final videos in common formats (MP4, GIF) with configurable resolution and frame rate.

Installation

To use the toolset within your AI agent environment, clone the repository:

git clone https://github.com/Tencent/workrally.git
cd workrally

Then install the required dependencies:

pip install -r requirements.txt

Usage

For AI Agents

The toolset exposes a set of functions and classes that can be called directly from your agent's code. For example, to generate a script:

from workrally.script import ScriptGenerator

generator = ScriptGenerator()
result = generator.generate(topic="A brave knight's adventure")
print(result.script)

To render a video:

from workrally.render import VideoRenderer

renderer = VideoRenderer()
renderer.render(
    script_path="output/script.md",
    output_path="output/video.mp4",
    fps=24,
    resolution=(1920, 1080)
)

For Human Users

You can also use the CLI tool directly:

python -m workrally create --topic "A day in the life of a robot" --output ./my_video.mp4

Configuration

Environment variables that control the toolset's behavior:

VariableDescriptionDefault
WORKRALLY_API_KEYAPI key for cloud-based rendering servicesNone
WORKRALLY_MODELAI model to use for generation (e.g., "gpt-4", "claude-3")"claude-3-haiku"
WORKRALLY_OUTPUT_DIRDirectory for generated assets and videos"./output"

Examples

Check the examples/ directory for full workflows:

  • examples/basic_scene.py – A minimal scene creation and rendering example.
  • examples/multi_scene_video.py – A multi-scene video with transitions.
  • examples/character_custom.py – Custom character animation.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

We welcome contributions! Please read CONTRIBUTING.md for guidelines on code style, testing, and submission.

Support

For issues, questions, or feature requests, open an issue on the GitHub repository.

Related Skills