Call the existing CLI; do not write a separate web upload flow. The account name is a local session alias.
sau hupu login --account creator --headed
sau hupu check --account creator
sau hupu upload-video --account creator --file videos/demo.mp4 --title "标题" --desc "简介" --tags 虎扑,测试 --thumbnail covers/demo.png
Currently only videos are supported; image-text posts and scheduled publishing are not supported. The title length is 4–40 characters. Login may require the user to complete QQ or phone number verification in the browser; keep --headedwhen the page needs to be visible. The cover parameter --thumbnail can be omitted.
Before publishing, verify the account, video, title length, description, tags, and cover. If the result is unclear, check the Hupu backend first; do not repost directly.