Alibabacloud Bailian Videoanalysis
by @sdk-team
Alibaba Cloud Bailian Video Analysis Skill. Use for intelligent video comprehension and analysis via the Bailian (QuanMiaoLightApp) API. **Required API Produ...
1. Always verify environment first β run check_env.py before any other operation to catch missing dependencies or credentials early.
2. Auto-detect workspace_id β always fetch workspaces via list-workspaces; default to the first result, but present a selection list when the user explicitly asks to choose.
3. Use default OSS settings β unless the user specifies a particular bucket, let the script auto-detect the bucket and generate the oss object key.
4. Display partial results during polling β when task status is RUNNING, show available results (title, captions) to give the user real-time feedback.
5. Save complete result for summary β when status becomes SUCCESSED, use the full result payload directly for Step 6 without re-calling the API.
6. Respect URL expiration β temporary OSS URLs expire after expireSeconds (default 14400s); ensure the task is submitted before the URL expires.
7. Handle permission errors gracefully β follow the Permission Failure Handling process in the RAM Policy section; never improvise credential fixes.
clawhub install alibabacloud-bailian-videoanalysis