September 26, 2026
A skill pack for AI Agents that provides AIGC capabilities such as image and video generation via the LibLib.tv OpenAPI.
npx skills add libtv-labs/libtv-skillspython3 skills/libtv-skill/scripts/create_session.py "生一个动漫视频"Product facts
- Type
- AI Skill & Agent
- Category
- AI & Machine Learning › Prompt Engineering & Skill Management
- Pricing
- Open source
- Platforms
- Web · macOS · Windows · Linux · iOS · Android
- License
- MIT
- Launched
- Sep 26, 2026
- Listed
- Sep 26, 2026
- Website
- github.com
Overview
libtv-skills is a set of Skills for AI Agents, written in Python and compliant with the OpenClaw skill specification. It uses the LibLib.tv OpenAPI to provide AIGC capabilities—such as AI image and video generation—to Agent platforms that support this specification.
What problem it solves
When an AI Agent receives a creative request from a user, it needs to interact with external AIGC services. libtv-skills encapsulates the entire communication flow with LibLib.tv—including creating sessions, sending commands, polling progress, uploading assets, and downloading results—so Agents can complete image and video generation tasks without integrating the API from scratch.
Key capabilities
- Session management: Create new sessions or append messages to existing ones, and retrieve the sessionId and projectUuid.
- Progress querying: Query session message lists with incremental fetching via the
--after-seqparameter, ideal for polling scenarios. - File upload: Upload images or videos to OSS; the returned URL can be passed into messages as reference material.
- Result download: Automatically extract and batch-download generated images/videos from a session to local storage, with configurable output directories and filename prefixes.
- Project switching: Switch the project bound to the current accessKey to isolate different tasks.
Technical details
All scripts rely solely on the Python 3.6+ standard library, requiring no additional third-party dependencies. API requests are authenticated using a Bearer Token in the HTTP Header. The project structure includes a libtv-skill folder containing a SKILL.md description file and several functional scripts (such as create_session.py, query_session.py, etc.).
Who it's for
Developers building or configuring AI Agents—especially those using platforms that support the OpenClaw specification—who want their Agents to call LibLib.tv for image and video generation.
Key features
- Create sessions & send commands: Use create_session.py to start a new session or append image/video generation messages to an existing one.
- Query session progress: Use query_session.py to fetch message lists, supporting incremental retrieval by seq to avoid duplicates.
- File upload: Use upload_file.py to upload images or videos to OSS, returning a URL you can use in commands.
- Batch download results: Use download_results.py to extract and download all generated images and videos from a session locally.
- Switch bound projects: Use change_project.py to switch the project tied to the current accessKey, isolating different tasks.
- OpenClaw compatible: Follows the OpenClaw skill specification, so supported AI Agent platforms can recognize and invoke it directly.
- Zero extra dependencies: Scripts use only the Python 3.6+ standard library—no third-party packages required.
Releases
Notify meQ&A
- What do I need to configure before using it?AI-generated
- You must set the LIBTV_ACCESS_KEY environment variable as the authentication key for the LibTV API. Optionally, configure the IM service address via OPENAPI_IM_BASE or IM_BASE_URL (defaults to https://im.liblib.tv).
- How do I install this skill pack?AI-generated
- Install interactively via npx skills add libtv-labs/libtv-skills, or install the specific skill directly using the --skill libtv-skill flag. Once installed, set the environment variables and the Agent will automatically recognize it.
- What environment is required to run these scripts?AI-generated
- Python 3.6 or later. All scripts use only the Python standard library, so no extra dependencies need to be installed via pip.
- Which file formats are supported for upload?AI-generated
- Only image (image/*) and video (video/*) files are supported. Other types will be rejected.
- What does a typical Agent workflow look like?AI-generated
- After the user issues a command, the Agent calls create_session.py to send it and obtain a sessionId, then polls query_session.py for results. Once finished, it uses download_results.py to batch-download them locally, and finally presents the results and project canvas link to the user.
This product has no owner yet
It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.
Claim this productAlternatives

teardown
A Claude Code skill that turns any machine into a disassemblable offline 3D simulator.

Anatomy
An AI skill that turns technical concepts into interactive isometric SVG, WebGL, and 3D illustrations.

Replica Skill
11 free Claude skills to reverse-engineer, rebuild, test, and improve any app.

YouTube Skills for AI Agents
Equips AI agents with YouTube transcript retrieval, video search, channel browsing, and playlist extraction.

Kotlin Agent Skills
A collection of AI agent skills following the Agent Skills standard for Kotlin projects.

Higgsfield AI Skills
A skill set that equips AI coding agents with image and video generation, plus full visual brand system creation.

video-shotcraft
An AI video skill for Claude Code and Codex that turns product pages into editable promo videos using Remotion.

Vibe Security
An Agent Skill for auditing common security vulnerability patterns in AI-assisted applications.

OpenClaw Agent Skills
Reusable, shared workflow skills for coding agents like Codex and Claude Code.

AWS Agent Skills
Localized engineering knowledge skill pack for Claude Code and Codex, covering 18 AWS services
The product content on this page was translated by AI from the author's original.
