Integrating liblib.tv's AI image and video capabilities within Agent sessions.

Preface

When you ask agents in environments like Cursor or Claude Code to “draw an image,” “edit this video,” or “generate a short drama with one line,” they often can only output text or a script. Calling text-to-image, image-to-video, or local shot editing still requires you to switch to a website or standalone tool. If you want the generation and editing pipeline of liblib.tv (liblib / libtv) to run directly in the conversation, you need a clear set of trigger rules and a backend integration approach. This article introduces the community Skill www on SkillHub (coordinate @user_99d76f2c/s2), which consolidates these scenarios into an agent-im conversational skill that the Agent enables automatically at the right moment.

What Is This

www is a conversational Skill for agent-im that leverages liblib.tv’s AI capabilities to generate, edit, and style images and videos. The Skill is published by the community user user_99d76f2c, categorized under design-media, with the current version 1.0.0 and the source marked as community. The SkillHub page indicates that this Skill requires API access (tag requires_api_key=true); before use, you must prepare a valid key or account system on the liblib side.

Official entry points:

  • SkillHub showcase page: https://www.skillhub.cn/skills/user_99d76f2c/s2
  • API resource address: https://api.skillhub.cn/user_99d76f2c/s2

Core Functions

The following capabilities are taken from the official SkillHub description, grouped by purpose and not exceeding what has been publicly stated.

Generation

  • Text-to-image, text-to-video, image-to-video
  • Animation creation and conversational requests (e.g., “draw a xxx” or “make a xxx clip”)

Editing & Modification

  • Replace, remove, or add elements (e.g., “swap xxx for yyy,” “remove xxx,” “add xxx”)
  • Global or local adjustments, shot revisions

Style & Continuation

  • Style transfer, repaint, style change
  • Video continuation, extension

Finished Pieces & Creative Formats

  • Replicate videos / TVCs / promotional films
  • Short dramas, short animated dramas
  • Music MVs, product ads and showcase videos
  • Storyboard and storyboard design
  • Educational videos, short-form video production

Trigger Conditions (Agent Side)

In addition to the task types above, the Skill should also be triggered when the user mentions liblib or libtv, uploads a reference image or video, or asks to check generation progress. The official guidance states: whenever a request involves AI image or video creation, generation, editing, or modification—regardless of phrasing (e.g., “draw a cat,” “make a poster,” “change the paper boat to a heart,” “help me edit this video,” “replicate this video,” “create an MV with this song,” “generate a short drama with one line”)—the Skill www should be activated.

Installation & Activation

Follow SkillHub’s general installation documentation; the Skill page advises installing the coordinate @user_99d76f2c/s2 according to the provided instructions.

1. Install the SkillHub CLI (if not yet installed)

First, check whether the CLI is available:

command -v skillhub && skillhub --version

If not installed, use the official one-click installer (includes the CLI and default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

If you only need the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install www into the current Agent’s skills directory

SkillHub requires using --dir to point to the skills directory recognized by your Agent; otherwise it defaults to ./skills/ and may not be loaded. Common paths are:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Example command to install this Skill in Cursor:

skillhub install @user_99d76f2c/s2 --dir ~/.cursor/skills/

You can also send the installation intent to the Agent, for example:

Please install @user_99d76f2c/s2 according to https://skillhub.cn/install/skillhub.md.

3. API Key

The Skill tag indicates requires_api_key=true. The specific environment variable names and configuration file paths depend on the SKILL.md inside the Skill package and liblib.tv’s official requirements. If the public page does not list the fields, after installation open the README in the installed directory to verify; do not invent configuration items.

After installing or updating a Skill, restart or reload the skills directory according to your client’s conventions so the Agent can pick up the new skill.

Typical Use Cases

This Skill is designed for “conversational triggers + backend generation” and does not separately list REST examples. With the Skill installed and the API configured, describe your task in natural language, and the Agent will call liblib.tv via www.

Example conversational intents (aligned with the official trigger guidance):

  1. Text-to-image: “Draw a cat on a windowsill, watercolor style.”
  2. Local editing: “Replace the paper boat in the poster with a heart, keep everything else the same.”
  3. Video modification: “Help me edit this video: zoom in a bit on the second shot.”
  4. Replication and finished piece: “Replicate the pacing and cinematography of this promo video, but swap the product to our SaaS.”
  5. Progress check: “I uploaded a reference image; please check liblib’s generation progress.”

When reference materials are involved, upload images or videos as prompted by the Agent; mentioning liblib or libtv will also prioritize this Skill.

Applicable Scenarios & Notes

Who It’s For

  • Developers or creators already using Skills in Cursor, Claude Code, Codex, etc., whose primary needs are AI image/video generation and editing.
  • Those who want to unify on liblib.tv capabilities instead of switching to external sites repeatedly in conversation.

Limitations & Caveats

  • Depends on the liblib.tv service and a valid API key; without configuration the Skill cannot perform actual generation.
  • Community-sourced (community); behavior and quotas follow the publisher’s and platform’s current policies. Before upgrading, check on SkillHub whether version 1.0.0 has updates.
  • SkillHub statistics (page scrape): rating 100000, downloads about 2705, installs about 207; these numbers change as the platform updates and are not performance guarantees.
  • Generation tasks often take longer; combine “check generation progress” instructions with the Agent’s feedback to avoid submitting the same task repeatedly.

Closing

www consolidates liblib.tv’s image/video generation, editing, styling, and finished-piece needs into a conversational skill the Agent can recognize, reducing the gap of “only being able to write prompts but not actually produce images or videos.” If your workflow already revolves around agents like Cursor and you frequently create AI visual content, you can install @user_99d76f2c/s2 following the SkillHub process, prepare your API key, and describe tasks directly in the conversation.

Official URL: https://www.skillhub.cn/skills/user_99d76f2c/s2

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye