Generate a video end-to-end via dashboard-console.
https://xiaonian.cchttps://xiaonian.cc/employee-console/dashboard/v2/api1) Generate script
POST /video/script/gen → returns script2) Create video task
POST /video/task/create → returns task_id3) Poll until done
GET /video/task/state?task_id=... → returns status/progress/video_urlpython3 skills/local/video-quick-gen/scripts/video_quick_gen.py \
--request "<用户需求,尽量原样保留>" \
--video-type AUTO \
--duration 15 \
--orientation portrait \
--hd \
--out /tmp/video.mp4
Optional:
--image-url "" --no-subtitleJSON 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 --out is provided)After the script runs, summarize both the script content and the video URL to the user.
failed_reason and backend logs.共 1 个版本