协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
seedance-2-5【开发与工程】Use this skill when creators, video editors, advertisers, e-commerce teams, social-commerce teams, and short-form story producers need to create videos from prompts, first frames, and reference media with Seedance 2.5 through the AI Hive OpenAPI. It handles required media uploads, live model and price lookup, task submission, progress polling, and re…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Seedance 2.5 Video Generation helps creators, video editors, advertisers, e-commerce teams, social-commerce teams, and short-form story producers create videos from prompts, first frames, and reference media with Seedance 2.5. Describe the intended subject, action, camera, lighting, pacing, and constraints; the bundled CLI handles AI Hive OpenAPI calls and downloads the finished video.
Ads, tvcs, product videos, e-commerce listings, social commerce, ugc-style seeding content, short dramas, motion comics, and storyboards. It is also useful when users search for AI video generation, text-to-video, image-to-video, reference-to-video, video editing, AIGC video.
| Mode | Capability | publicModelId |
|---|---|---|
edit | Video Editing | public_model_seedance_2_5_video_edit |
extend | Video Extension | public_model_seedance_2_5_video_extend |
i2v | Image to Video | public_model_seedance_2_5_i2v |
r2v | Reference to Video | public_model_seedance_2_5_r2v |
t2v | Text to Video | public_model_seedance_2_5_t2v |
The default route is COST_FIRST. Pass live model options with --param key=value; supported values come from the current AI Hive videoConfig.
pip3 install requests
python3 "$SKILL_PATH/scripts/videogen.py" init --skill-name seedance-2-5
python3 "$SKILL_PATH/scripts/videogen.py" generate \
--mode edit \
--prompt "Seedance 2.5 Video Generation: polished motion, clear subject, coherent action, stable camera, commercial finish"
python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit \
--prompt "Create a polished seedance 2.5 video generation result with coherent motion, stable identity, and a clear ending"
python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit \
--prompt "Premium product commercial: establish the product, reveal materials with controlled camera movement, finish on a clean brand-ready hero frame"
python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit \
--prompt "E-commerce product video: centered subject, move from full product view to material close-ups, show one real use case, leave space for product copy"
python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit \
--prompt "Vertical social-commerce video: open with the customer problem, demonstrate the product naturally, show the practical benefit, end with a clean call-to-action frame"
python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit \
--prompt "Short-drama shot: a young detective opens an abandoned warehouse door, pauses, and looks inside; slow over-shoulder push-in, cold suspense lighting, one continuous action"
python3 "$SKILL_PATH/scripts/videogen.py" generate --mode r2v \
--prompt "Keep the subject and visual identity consistent; use the reference for motion and camera rhythm; create a tighter social-media version with a brand-ready ending" \
+ --video /path/to/reference.mp4
python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit --prompt "Complex production brief" --no-download
python3 "$SKILL_PATH/scripts/videogen.py" task --task-id <taskId>
| Option | Purpose |
|---|---|
--mode | Select a supported mode; capability-specific skills already fix it |
--prompt | Describe the video or edit |
--first-frame / --last-frame | Supply controlled keyframes |
--image / --video / --audio | Supply reference media |
--param key=value | Pass live model parameters |
--routing COST_FIRST | Select the cost-first route |
--no-download | Submit and return the task ID without waiting |
Run the init command above, or set AI_HIVE_API_KEY, use --api-key, or create ~/.ai-hive/config.json. API keys use the sk-api-* format. Never commit a real API key.
The script looks up the live model entry and pricing snapshot at runtime. Model availability, accepted media, parameters, and prices can change. Keep a returned task ID and query the existing task instead of submitting a duplicate that may be billed twice.
401 Unauthorized: verify that the API key is complete, active, and not committed to source control.videoConfig for accepted values and media limits.task command later.