video-quick-gen
Generate a video end-to-end via dashboard-console.
Prereqs
- Service base:
https://xiaonian.cc - API prefix:
https://xiaonian.cc/employee-console/dashboard/v2/api - Auth: built-in token, no configuration needed.
Workflow
- Generate script
POST /video/script/gen→ returnsscript
- Create video task
POST /video/task/create→ returnstask_id
- Poll until done
GET /video/task/state?task_id=...→ returnsstatus/progress/video_url
Quick start
python3 skills/local/video-quick-gen/scripts/video_quick_gen.py
--request "<用户需求,尽量原样保留>"
--video-type AUTO
--duration 15
--orientation portrait
--hd
--out /tmp/video.mp4
Optional:
- Provide reference image URL:
--image-url "<bos_url>" - Disable subtitles:
--no-subtitle
Output
JSON returned to the agent (always present):
state—"SUCCESS"task_idscript— the generated video script text (agent should read and summarize this to the user)video_url— final video URLdownloaded_to— local path (only when--outis provided)
After the script runs, summarize both the script content and the video URL to the user.
Troubleshooting
- status=failed:
- Check
failed_reasonand backend logs.
- Check




