Nodes/AI-HIVE 图片与视频生成/AI-HIVE 电商带货视频
ComfyUI Node

AI-HIVE 电商带货视频

The Same Video Node, With the Platform Wired Into Your Prompt

By wubin1836·Created 2 months ago·Updated 2 months ago· 1
AI-HIVE 电商带货视频
  • reference_image
  • result_urls_json
  • task_id
  • task_json
◄platform抖音电商 / 小红书 / Amazon / TikTok Shop►
◄prompt电影级产品视频,动作自然,运镜稳定►
◄model_family▾►
◄generation_mode▾►
◄custom_public_model_id►
◄routing_mode▾►
◄image_media_ids_json[]►
◄video_media_ids_json[]►
◄audio_media_ids_json[]►
◄first_frame_media_id►
◄last_frame_media_id►
◄model_params_json{}►
◄wait_for_resulttrue►
◄timeout_seconds600►

AI-HIVE 电商带货视频 (class AIHiveEcommerceVideo) is AIHiveGenerateVideo wearing a marketing hat. Same three model families (seedance_2_5, minimax_h3, happyhorse), same five generation modes (t2v, i2v, r2v, edit, extend), same string-URL outputs. The only real difference is a platform field plus a block of ecommerce guidance prepended to your prompt before the job goes out.

One thing to notice: here platform is a free-text STRING (default 抖音电商 / 小红书 / Amazon / TikTok Shop), not an enum like the image-side ecommerce node. That's a clue to how it works - the platform text is just injected into the prompt. The node prepends something along the lines of: generate an ecommerce product, 带货, or lifestyle video; show the subject, a usage action, key details, and real selling points; frame for mobile; and don't fabricate efficacy, prices, certifications, or brand facts. Say your target platform in Chinese or English, and it tunes the framing.

Is it worth using over the base node?

That depends on how you work. This node saves you from writing the same platform boilerplate into every prompt, and it enforces the structure (subject → usage → details → CTA) so a lazy "make me a product video" prompt doesn't come back as a twenty-second closeup of a label. If you're churning out douyin or xiaohongshu product clips in volume, that enforcement is worth it. If you write long, deliberate prompts anyway, you lose nothing by using the base AI-HIVE 视频生成与编辑 node and skipping the injected text - it's the same engine, and your prompt is your prompt either way.

A realistic setup

platform: 小红书
model_family: seedance_2_5
generation_mode: i2v
prompt: 15 秒竖屏种草视频:产品特写开场,展示使用动作,关键细节特写,结尾留出行动号召空间

Feed a product image into reference_image, and the node uploads it and appends it to the image list automatically. Outputs are result_urls_json, task_id, task_json - remember, URLs, not a video tensor, so plan a download step.

Installing

ComfyUI Manager: search AI-HIVE, install, restart. Or:

cd ComfyUI/custom_nodes
git clone https://github.com/wubin1836/comfyui-ai-hive.git
pip install -r comfyui-ai-hive/requirements.txt

Only requests and Pillow. Set AI_HIVE_API_KEY (or ~/.ai-hive/config.json) before launch.

Gotchas

The family rules from the base node apply unchanged - minimax_h3 has no edit or extend mode, for instance, and hitting an unsupported combo means filling custom_public_model_id (must start with public_model_). Billing is real and video is the expensive direction, so watch batch/length and use AI-HIVE 查询任务 after any timeout instead of resubmitting. And keep the honesty framing in mind: the guidance tells the model not to invent claims, but it's still your product and your prompt.

CategoryAI-HIVE/Ecommerce

Inputs (15)

NameTypeDefaultDescription
platformSTRING抖音电商 / 小红书 / Amazon / TikTok Shop—
promptSTRING电影级产品视频,动作自然,运镜稳定—
model_familyCOMBO3 options: seedance_2_5, minimax_h3, happyhorse
generation_modeCOMBO5 options: t2v, i2v, r2v, edit, extend
custom_public_model_idSTRING—
routing_modeCOMBO3 options: COST_FIRST, SPEED_FIRST, SUCCESS_FIRST
image_media_ids_jsonSTRING[]—
video_media_ids_jsonSTRING[]—
audio_media_ids_jsonSTRING[]—
first_frame_media_idSTRING—
last_frame_media_idSTRING—
model_params_jsonSTRING{}—
wait_for_resultBOOLEANtrue—
timeout_secondsINT60030–1200—
reference_imageoptIMAGE—

Outputs (3)

NameTypeDescription
result_urls_jsonSTRING—
task_idSTRING—
task_jsonSTRING—