LibTV Conversational Image and Video Generation
Paste the following prompt into your AI chat to install this skill:
Please install @user_99d76f2c/s2 according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
In AI image and video platforms such as LibTV, a single user request may require multiple backend operations: uploading reference assets, choosing models, splitting a short drama into shots, applying style edits, and collecting generated media. If a client-side agent expands prompts, invents style descriptors, or manually orchestrates model calls, it can disrupt the backend workflow and make integration brittle. This skill exposes a session-based interface so the user can send natural-language creative instructions while the backend agent handles understanding, orchestration, and model invocation.
How It Works
- Create session / send message: Use
create_sessionto start a session or send an instruction such as “generate an anime video” or “replace the paper boat with a heart.” - Upload and edit: When the user supplies a local image or video, call
upload_fileto obtain anOSSURL, then submit the original instruction together with that URL. Editing tasks depend on the uploaded asset reference. - Poll and retrieve: Query progress with
query_session, usingsessionIdand incremental--after-seqvalues, typically every 8 seconds. Treat an assistant message containing a result URL as completion, then usedownload_resultsto download images or videos in bulk. - Project and display:
create_sessionmay returnprojectUrl; after the task finishes, show both the result link and the project canvas link. Do not expose the canvas link during in-progress polling.
Boundaries and Notes
This skill fits environments where LibTV credentials and session context are available. It supports text-to-image, text-to-video, image-to-video, video continuation, local edits, element replacement, style transfer, and longer productions such as short dramas, MVs, or promotional videos. Uploaded files are limited to images and videos, usually under 200MB. Complex tasks may take time, so use the polling timeout and retry behavior. The client-side agent should remain a messenger: upload assets, pass the user's request through unchanged, and deliver the final result and project canvas link.
Use Cases
- After receiving a product reference image, upload it and request a local replacement to revise showcase footage
- Enter a short-drama idea, create a session, poll assistant results, and batch-download storyboard frames and final video
- Given a client video file, upload it to get an OSS URL, then request style transfer or shot adjustments
- Append new shots to an existing session, poll incremental messages, and extract image/video URLs for delivery
Best For
- Agent developers integrating the LibTV API: wire user creative requests into the session interface and retrieve media results
- Content engineers automating short dramas/MVs: send creative prompts to the backend agent, poll results, and batch-download finished videos
- Application teams building image/video editing bots: upload assets, send local-edit instructions, and display result links
- Backend engineers maintaining AI production workflows: debug project switching, session polling, file upload, and download flows
Related Skills
Generate an interactive HTML product detail page from images and copy, with multi-product carousel, inline text editing, design controls, and PDF/JPG/PSD export support.
Enter a material name to get preview and download links for free, commercially usable video assets, with paid platform options, pricing, and search suggestions when results are limited.
Generate and validate JianYing drafts from storyboard JSON with narrated commentary, original-sound preservation, timing checks, and draft inspection.
Restyle a short video into a new visual style while preserving core elements such as characters, actions, and composition, suitable for various creative conversions like anime, illustration, ink wash, etc.