Task Objective
- This skill is used for: full-process automated creation of cute pet product-selling short videos, focusing on gaining followers and product conversion
- Capabilities include:
- Viral video link parsing and reverse engineering with automatic storage
- Creative breakdown, script creation, and storyboard design based on the knowledge base
- Generation of storyboard images, subtitles, and sound effect materials adapted to the COZE API
- Support for interactive evaluation at every step and batch material download
- COZE API integrates all materials to synthesize a finished product-selling video
- Full-process quality inspection and data iteration loop
- Trigger conditions: user needs for cute pet short video creation (story/review/science popularization/product selling), video link parsing needs, and knowledge base retrieval needs
Prerequisites
- Dependency description: dependency packages required by the skill
coze-workload-identity>=1.0.0 # COZE视频API调用 yt-dlp>=2024.1.0 # 视频下载(支持抖音/B站/YouTube等) - Credential configuration:
- COZE video API credential configured: coze_video_api
- Credential Key format: COZE_COZE_VIDEO_API_7598017404148613135
- Usage: automatically read through environment variables, no manual entry required
- Video download directory:
./downloads(automatically created)
Operation Steps
-
Standard process:
- The user inputs a video link (Douyin/Bilibili/YouTube, etc.)
- Call
scripts/video_downloader.pydownload the video and metadata - Call
scripts/coze_video_api.pyto handle material upload, video synthesis, and status polling - Execute multi-agent collaborative creation based on the knowledge base reference document (references/agents-prompts.md)
- Each agent generates independent outputs with like/dislike/share functions
- The finished video supports high-definition download, secondary creation, and platform publishing
-
Video download steps:
- The user inputs a video link (supports mainstream platforms such as Douyin/Bilibili/YouTube/Kuaishou/Xiaohongshu, etc.)
- Call
scripts/video_downloader.py download <URL>download the video - Automatically extract video metadata (title, duration, author, view count, like count, etc.)
- Automatically download the video thumbnail
- Output the video file path and complete metadata JSON
- The Viral Analysis Poop Scooper performs parsing and reverse engineering based on the downloaded video
-
Core agent collaboration:
- Viral Analysis Poop Scooper - video link parsing and reverse engineering, knowledge base operations
- Cute Fun Creativity Poop Scooper - creative breakdown, cute point extraction, product placement point design
- Story Script Meow Manager - product-selling-oriented script creation, shot breakdown
- Storyboard Script Shadow Painter - COZE API-adapted standardized storyboard script
- Storyboard Director Meow Sir - visual specification design, product display composition planning
- Cute Lens Painter Furball Artisan - storyboard image generation, batch download support
- Subtitle Cute Editor Pet Sauce - subtitle parameter package, product-selling voiceover text script creation
- Sound Effect Fun Matcher Woof Sauce - sound effect material package, voiceover material package creation
- Video Composition Director - COZE API full-material integration, sales-oriented finished video composition
- Quality Control Inspection Pet Butler - Full-process quality inspection, API adaptation verification, sales-traffic-oriented verification
- Data Iteration Poop-Scooping Officer - Data statistics, iterative optimization suggestions, skill upgrades
-
Mandatory rules for pure API composition:
- It is prohibited to use any local dependency packages (moviepy/opencv-python/mediapipe/pillow/numpy)
- All materials (images/subtitles/sound effects) must comply with COZE API format requirements
- The script passes
scripts/coze_video_api.pycalls the COZE API, using requests from coze-workload_identity - If local package invocation behavior occurs, immediately terminate the process
-
Optional branches:
- When a video link is provided: execute viral hit analysis and reverse engineering → automatic storage → generate reference package
- When secondary creation is needed: trace back from the finished video to any creation step for modification
- When knowledge base retrieval is needed: match viral hit references according to sales category/follower growth goals
Resource Index
- Required scripts:
- scripts/video_downloader.py(Purpose: video download, supports mainstream platforms such as Douyin/Bilibili/YouTube, extracts video metadata and thumbnails)
- scripts/coze_video_api.py(Purpose: COZE video API wrapper, supports material upload, video composition, status polling)
- Domain references:
- references/agents-prompts.md(When to read: when executing multi-agent collaborative creation, the complete prompts for the 11 major agents)
- references/coze-api-specs.md(When to read: when configuring API parameters and verifying material formats)
- references/pet-character-library.md(When to read: when designing cute pet character specifications)
- references/output-templates.md(When to read: when generating standardized output formats)
- references/knowledge-base-structure.md(When to read: when understanding knowledge base classification and automatic storage logic)
- Output assets: (dynamically generated, no fixed static assets)
Notes
- Strictly follow the pure API composition principle; all technical operations are completed through the COZE API
- Sales traffic is the core orientation; all creation stages must clearly define traffic hooks, product placement points, and follow guidance points
- Knowledge base linkage takes effect in real time; viral hit analysis results are automatically stored, and creation-type agents automatically retrieve references
- Interaction data from all steps is synchronized in real time to the creation optimization data pool as the basis for iterative optimization
- Materials support single-item/single-file + full-package batch download, with unified and reusable formats
- Finished videos support high-definition download, secondary creation, and platform publishing, with sales information clearly conveyed
Usage Examples
Example 0: Video Download and Analysis Reverse Engineering (New)
- Function description: download videos from platforms such as Douyin/Bilibili/YouTube, extract metadata, and perform analysis reverse engineering
- Execution method: video_downloader.py + Viral Hit Analysis Poop-Scooping Officer
- Key parameters:
- Video link: the user provides the video URL
- Output directory: ./downloads (automatically created)
- Example process:
- The user inputs a video link (such ashttps://www.bilibili.com/video/BV1xx411c7mD)
- call video_downloader.py to download the video
python scripts/video_downloader.py download "https://www.bilibili.com/video/BV1xx411c7mD" - automatically download the video file (MP4 format)
- automatically extract video metadata (title, duration, author, view count, like count, etc.)
- automatically download the video thumbnail
- Output results include:
- Video file path:
./downloads/视频标题.mp4 - Metadata JSON:
./downloads/视频标题.info.json - Thumbnail:
./downloads/视频标题.jpg
- Video file path:
- Viral Analysis Poop Scooper analyzes and reverse-engineers based on the downloaded video
- Generate an analysis report and automatically store it in the knowledge base
Example 1: Cute Pet Product Review Sales Video Creation
- Function Description: Create a cat food review sales video, 15-second vertical screen 9:16
- Execution Method: Multi-agent collaboration + COZE API synthesis
- Key Parameters:
- Creation Type: Product Review
- Sales Category: Staple Food (Cat Food)
- Follower Growth Goal: Targeted Pet Owners
- Duration: 15 seconds
- Style: Cute Pet Light Comedy
- Example Process:
- Viral Analysis Poop Scooper retrieves the knowledge base and outputs a review sales reference package
- Cute Creative Poop Scooper breaks down the creative concept (first 3 seconds show cat food packaging → cat craving → eating footage → follow guidance)
- Story Script Meow Manager creates the sales script (voiceover: "This cat food formula is super clean, look how much the cat loves it! Remember to like and follow")
- Storyboard Director Meow Sir plans the product display composition (cat food close-up + cat eating action)
- Cute Shot Artist Furball Artisan generates 4-6 storyboard images, supports batch download
- Subtitle Cute Editor Pet Sauce creates the subtitle parameter package (selling point subtitles: clean formula/no additives, follow guidance: follow to get coupons)
- Sound Effect Fun Mixer Woof Sauce creates the sound effect + voiceover asset package (light background music + clear voiceover tone)
- Video Synthesis Camera Officer calls the COZE API to integrate all assets
- Quality Control Inspector Pet Butler checks API compatibility and the practicality of the sales traffic guidance
- Output the finished video + asset integration ledger, supports download and secondary creation
Example 2: Viral Video Link Analysis and Reverse Engineering
- Function Description: Analyze a viral Douyin cute pet sales video, reverse-engineer the creation logic, and automatically store it in the knowledge base
- Execution Method: Viral Analysis Poop Scooper + Automatic Knowledge Base Archiving
- Key Parameters:
- Video Link: User provides a link from platforms such as Douyin/Kuaishou/Xiaohongshu
- Analysis Dimensions: Traffic logic, sales conversion logic, content creation reverse engineering
- Example Process:
- User inputs the video link
- Viral Analysis Poop Scooper analyzes the video (duration 100k+, likes 50k+, conversion rate 2.3%)
- Generate analysis report:
- Traffic Hook: In the first 3 seconds, the cat emerges from the cat food bag
- Sales Placement: At the 5th second, the voiceover mentions the cat food brand
- Follow Guidance: At the 12th second, the subtitle displays "Follow for perks"
- Automatically classify and store by "Pet Breed/Creation Type/Sales Category"
- Output a reference package for subsequent creation calls
Example 3: Full-Step Interactive Optimization and Secondary Creation
- Function Description: Based on the interaction data of the finished video, optimize creation and perform secondary creation
- Execution Method: Interaction data collection + retrospective modification + re-synthesis
- Key Parameters:
- Finished Video: The already generated sales video
- Interaction Data: Like rate 85%, dislike rate 5%, comment feedback "Product selling points are not prominent"
- Example Process:
- User views the finished video, likes/dislikes/shares/comments
- Data iteration: the poop-scooper analyzes interactive data (dislikes are concentrated on "unclear selling points")
- Generate optimization suggestions (strengthen product selling point subtitles, add close-up shots of selling points)
- User clicks "one-click secondary creation"
- Go back to the storyboard script artist Huiyingjiang / storyboard director and cinematographer Meow Sir to modify the product display design
- Regenerate materials and synthesize the finished video
- Output the optimized finished video and compare the product promotion and traffic-driving effects before and after optimization