libtv-skill

Orchestrate OpenAPI-based sessions to create, prompt, upload media, and poll progress.

1|Updated May 12, 2026
One-click install
npx skills add https://github.com/cocyuhao/my-ai-skills-library --skill libtv-skill-cocyuhao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: libtv-skill
Source: https://github.com/cocyuhao/my-ai-skills-library/tree/main/libtv-skill
Command: npx skills add https://github.com/cocyuhao/my-ai-skills-library --skill libtv-skill-cocyuhao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill enables building and managing AI media generation sessions via the OpenAPI interface, supporting session creation, messaging, media uploads, and progress tracking.

Core Features & Use Cases

  • Create sessions and send messages to generate images or videos.
  • Upload media files to OSS and retrieve accessible URLs.
  • Query session progress across projects to monitor live-generation results.

Quick Start

Create a new session and request a generated image or video.

Frequently Asked Questions about libtv-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an API session for AI image and video generation?

How do I upload media to OSS and get a URL for an OpenAPI session? You upload media files directly through the API interface to OSS storage, which returns an accessible URL that can be used to attach existing media to your active AI generation sessions.

Do I need any external Python libraries to manage live-media sessions via API?

You do not need external Python libraries to manage live-media sessions via API. The implementation uses only Python's standard library without additional dependencies, requiring only a Bearer access key and optional base URL configurations.

How does polling progress work for AI-generated images and videos?

Polling progress for AI-generated images and videos works by querying the session status across projects via the OpenAPI interface. This mechanism allows you to monitor live-generation results and check ongoing session status until the media output is complete.

Can I use my own OpenAPI base URL for media-generation tasks?

You can use your own OpenAPI base URL for media-generation tasks by setting the optional OPENAPI_IM_BASE or IM_BASE_URL environment variable. This allows custom endpoint configuration alongside the required Bearer authentication key.