Agnes Video Generation Expert: Integrating Agnes Video V2.0 Text-to-Video into an Agent

Introduction

In conversational Agents, generating short videos typically involves hand-coding scripts to call various video APIs, followed by handling authentication, polling, and local file saving. Agnes AI provides agnes-video-v2.0 text-to-video capability on apihub.agnes-ai.cn, but the Agent side still requires a reusable Skill specification to chain the process of “write prompt → call API → save local file” into a stable workflow.

Below introduces the SkillHub community Skill Agnes Video Generation Expert (Reference @user_858115ff/agnes-video-skills, Version 1.0.0): targeting requests such as “generate video with Agnes”, “Agnes Video V2.0 generate video”, or “call Agnes video interface”, this Skill guides the Agent to complete text-to-video generation and save the results locally.

What is this

One-sentence positioning: A text-to-video Agent Skill based on the Agnes AI platform agnes-video-v2.0 at apihub.agnes-ai.cn.

  • Production and Maintenance: SkillHub community release (Source community), Publisher user_858115ff, Author Zhang Xinghuan marked on the Skill page.
  • Category: design-media.
  • Problems Solved: Encapsulates the calling method of the Agnes video generation API into the standard SKILL.md format, allowing Agents that support Skills (such as Cursor, Claude Code, Codex) to initiate text-to-video tasks directly in conversation without writing integration code from scratch every time.

Official entry points:

  • API metadata: https://api.skillhub.cn/user_858115ff/agnes-video-skills
  • SkillHub display page: https://www.skillhub.cn/skills/user_858115ff/agnes-video-skills

Core Features

Combining the SkillHub page description with the skill documentation, the verifiable capabilities are as follows.

  1. Text-to-Video: Accepts a video theme or text prompt to generate short videos via the Agnes agnes-video-v2.0 capability.
  2. Local Persistence: Generated results are guided by the Skill flow to be saved locally, facilitating subsequent editing or delivery.
  3. Trigger Semantics: When a user expresses an intent such as “generate video with Agnes”, “Agnes Video V2.0 generate video”, or “call Agnes video interface”, the Agent should prioritize enabling this Skill.
  4. Authentication Requirements: The Skill tag is requires_api_key=true; a valid API Key from the Agnes platform is required before use (specific application and configuration follow Agnes official documentation; the Skill will prompt the Agent to handle it according to standards).

SkillHub side statistics (based on pre-crawled data): Rating 100000, Downloads 846, Install count 0 (statistics based on SkillHub).

Installation and Enablement

The installation method follows the instructions on the SkillHub Skill page: Refer to SkillHub Installation and Priority Source Configuration, and install the reference @user_858115ff/agnes-video-skills.

1. Prepare SkillHub CLI

First, confirm if the skillhub command exists on your machine:

command -v skillhub && skillhub --version

If not installed, you can install the CLI using the official installation script (or the full installation package):

# Full install (CLI + default Skills, recommended)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

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

2. Install to the current Agent’s skills directory

Official requirement: When installing, you must use --dir to point to the skills directory currently being used by the Agent; otherwise, it defaults to ./skills/, and the Agent may fail to load.

Common directories corresponding to Agents (excerpted from the SkillHub installation documentation):

Agent skills directory example
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under project

Example command to install this skill in Cursor (please verify the directory according to your environment):

skillhub install @user_858115ff/agnes-video-skills --dir ~/.cursor/skills/

After installation, restart or refresh the Skill list according to the instructions for your Agent to make agnes-video-skills effective.

3. Configure API Key

Due to requires_api_key=true, a valid key must be obtained on the Agnes AI / API Hub side and configured into the Agent or environment variables as specified in the Skill (the specific variable name is determined by SKILL.md inside the Skill package). Without a configured key, video generation requests cannot pass authentication.

Typical Usage

Assuming the Skill is enabled and the API Key is ready, the process can be summarized in three steps.

  1. Clarify video intent: Give the theme, visual elements, duration, or style in natural language (i.e., the prompt for text-to-video).
  2. Leave to Agent execution: The Agent reads this Skill and calls the agnes-video-v2.0 video generation interface on apihub.agnes-ai.cn to complete the generation.
  3. Confirm local file: Check the output path according to Skill instructions to confirm the short video is saved locally.

Dialogue-side example expressions (consistent with the skill description for easy triggering):

  • “Generate a 15-second intro video based on this copy using Agnes.”
  • “Use Agnes Video V2.0, prompt: City night scene, Cyberpunk style, slow camera push-in.”
  • “Call the Agnes video interface to generate the final cut from the above storyboard descriptions and save it locally.”

Applicable Scenarios and Notes

Suitable for

  • Developers or content creators already using Agnes AI or planning to integrate agnes-video-v2.0, who want to generate output via dialogue in agents like Cursor.
  • Teams that need a repeatable “prompt → API → local file” process instead of writing HTTP clients from scratch every time.

Limitations and Notes

  • Relies on internet access and Agnes platform availability; generation time, quotas, and content policies follow Agnes server-side rules.
  • You must provide your own API Key; do not commit keys to repositories or public snippets in chat logs.
  • The Skill version is 1.0.0; for upgrades or behavioral changes, please use skillhub to check version history on SkillHub before updating.
  • The “Install” count of 0 on the Skill page only represents the SkillHub statistical field and does not equal “no one is using it”; whether it fits your project still requires testing a generation pipeline in a test environment before going live.

Conclusion

The Agnes Video Generation Expert puts the Agnes agnes-video-v2.0 text-to-video capability into a standard Agent Skill, suitable for completing short video generation and local saving within a conversation. For installation, use the reference @user_858115ff/agnes-video-skills and follow the SkillHub Installation Documentation to specify the correct --dir.

  • Official API address: https://api.skillhub.cn/user_858115ff/agnes-video-skills
  • SkillHub Skill page: https://www.skillhub.cn/skills/user_858115ff/agnes-video-skills
羽毛球分组比赛记分
小程序二维码

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

Xiaoye