Communitygithub.com

HiAPI 食品商業影片

透過 HiAPI 規劃、預覽、估價並產生單一鏡頭的食品與飲料商業影片,支援 3-15 秒 Kling 輸出或 4-15 秒 Seedance Fast 輸出。適用於咖啡注沖、飲料潑濺、食物微距、包裝產品主視覺廣告、餐廳氛圍片段及電子商務食品宣傳。

HiAPI 食品商業影片 是什麼?

HiAPI 食品商業技能(hiapi-food-commercial-video)是一個專門用於產生食品與飲料類商業影片的 AI 代理技能。它能根據使用者提供的文字提示、單張主視覺圖片或多張參考圖片,自動選擇合適的 AI 影片生成模型(Kling 3.0 Omni 或 Seedance 2.0 Fast),產出單一鏡頭、符合物理真實感且具吸引力的短片。此技能支援多種常見的食品拍攝場景,如產品主視覺、咖啡注沖、飲料潑濺、食物微距及餐廳氛圍,並提供詳細的持續時間規劃建議(3-15 秒)以匹配不同行銷用途。使用者可以透過 CLI 進行離線預覽、成本估算(預設上限 $0.50 USD)及實際任務提交,所有定價與任務皆透過 HiAPI 即時目錄處理。技能強調安全性與預算控制,要求使用者明確批准報價後才執行付費任務,並透過冪等金鑰避免重複扣款。它不支援人類代言人、動作轉移、多鏡頭剪輯或圖文合成,需將此類請求導向其他專用技能。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HiAPIAI/hiapi-product-video-skills/tree/main/skills/food-commercial

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

HiAPI 食品商業影片 是做什麼的?

製作一則簡短、誘人的商業影片鏡頭。務必保持產品真實性、物理合理性,並清楚標示付費任務的界限。

路由請求

選擇一個配方與一種媒體路由:

配方最佳用途
product-hero包裝食品、罐頭、瓶裝、罐裝、電商主視覺鏡頭
coffee-pour咖啡、茶、牛奶、奶泡、蒸氣、咖啡館飲品
beverage-splash汽水、果汁、氣泡水、機能飲料鏡頭
food-macro質地、熟度、淋醬、起司拉絲、擺盤細節
restaurant-atmosphere菜餚在餐廳或櫃檯服務環境中上桌的場景
媒體輸入路由模型
無圖片文字轉影片kling-3.0-omni/text-to-video
僅一張 --hero-image-*主視覺圖片轉影片kling-3.0-omni/image-to-video
1-9 張 --reference-image-*多參考圖生成seedance-2.0-fast

禁止混合主視覺圖片與參考圖片。當包裝形狀、標籤位置、品牌顏色或特定菜餚必須保持可辨識時,應優先使用主視覺或參考圖片。

不處理任何人類說話、品嚐、展示,或來自現有影片的動作與攝影機指引。請將此類請求路由到專用的代言人或參考動作技能;如果沒有安裝此類技能,請解釋本技能不支援此工作流程。

建立簡報

確認產品或菜餚、一項主要動作、一種攝影機運動、輸出比例、持續時間,以及任何必須避免的主張。如果使用者未提供持續時間,請先路由請求,提供簡短的自訂選單,並等待使用者選擇或明確接受 4 秒低成本的預設值,然後再執行 --dry-run。

接受所選模型範圍內的每個整數秒數:Kling 文字轉影片與主視覺圖片轉影片支援 3-15 秒;Seedance Fast 參考圖片生成支援 4-15 秒。使用以下規劃區間,但不要將它們視為硬性預設值:

持續時間最佳用途
3-4 秒即時鉤子、潑濺或包裝揭示;3 秒僅限 Kling
5-6 秒快速社交或電商主視覺鏡頭,帶有簡短的產品停留
7-9 秒完整的注沖、淋醬、質地或揭示,具有可讀的沉澱時間
10-12 秒高品質慢速揭示或餐廳氛圍,節奏克制
13-15 秒僅在動作保持有意義時才使用有意的長鏡頭;成本最高且連續性風險最高

較長的持續時間不允許額外的剪輯或不相關的拍子:保持一個動作、一種攝影機運動、一個連續鏡頭。配方提供簡潔的預設值;當簡報需要時,使用 --action、--setting、--lighting、--texture、--camera 或 --sound 覆蓋它們。

請參閱 references/prompting.md 以了解配方預設值以及食品專屬的真實性限制。

保護花費與機密

首先離線預覽完整的遮罩酬載:

node scripts/hiapi-food-commercial-video.mjs `
  --recipe coffee-pour `
  --prompt "A ceramic cup of dark-roast coffee for a premium cafe" `
  --duration 4 `
  --ratio 9:16 `
  --preview

僅在告知使用者他們將聯絡 HiAPI 但不會建立付費任務之後,才執行真實檢查:

node scripts/hiapi-food-commercial-video.mjs --check --env-file "D:\path\to\.env.local"

接著從公開即時目錄為預期請求定價:

node scripts/hiapi-food-commercial-video.mjs `
  --recipe product-hero `
  --hero-image-file "D:\media\product.jpg" `
  --prompt "The supplied sparkling-water can on a clean chilled counter" `
  --duration 4 `
  --dry-run

僅在使用者明確核准由對應 --dry-run 列印的即時估價、預算及雜湊值後,才使用 --spend --approved-request-hash HASH。預設客戶端估價上限為 $0.50;僅在已核准的預算內覆蓋 --max-cost-usd。這並非伺服器強制的最終收費上限,因為帳戶群組比例可能適用。每次調用最多建立一個付費任務。

從處理程序環境或 --env-file 讀取 HIAPI_API_KEY。切勿列印、持久儲存或將其包含在成品中。保持固定的 API 主機與暫存輸出儲存位置。

安全恢復

CLI 會將其冪等金鑰綁定到已核准的請求雜湊,在提交前列印它,並在建立後立即列印任務 ID。如果在任務 ID 返回前提交被中斷,請重複使用該確切的 --idempotency-key。如果重複金鑰回應已包含任務 ID,請不要附加當前簡報;請單獨恢復現有任務。在任務 ID 存在後,僅使用以下指令恢復:

node scripts/hiapi-food-commercial-video.mjs --task-id TASK_ID --env-file "D:\path\to\.env.local"

在輪詢或品質審查失敗後,切勿自動提交替代任務。

審查成品

保留 final.mp4、brief.md、遮罩後的 prompt.json、manifest.json 以及食品專用的 qc.json。將 generated_unreviewed 視為最終自動化狀態。在發布或做出產品、成分、過敏原、酒精、營養、認證或健康聲明之前,要求人工審查。

請參閱 references/output.md 以了解成品語意及 QC 檢查清單。在更改路由、定價邏輯、重試或任務處理時,請參閱 references/api.md。

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

hiapi-fashion-lookbook-video

Plan, preview, price, and generate short single-shot fashion videos through HiAPI. Use for runway walks, one target-outfit transition, editorial lookbook poses, and non-speaking person showcases for clothing brands, fashion creators, and ecommerce sellers. Route text-only briefs to Kling 3.0 Omni text-to-video, one authorized person or complete-look image to Kling image-to-video, and person plus garment/style references to Seedance 2.0 Fast. Do not use for exact virtual try-on or fit guarantees, multi-outfit montages, deterministic motion transfer, talking presenters, captions, logos, CTA compositing, or multi-shot editing.

hiapi-product-spokesperson-video

Generate product spokesperson, brand introduction, and on-camera advertising videos locally through HiAPI. Use for synthetic presenters, authorized talking-head videos from a person image, product introductions, or brand promotions from product and brand reference images. Route synthetic spokespersons to Kling 3.0 Omni text-to-video, talking heads to Kling 3.0 Omni image-to-video, and product or brand promos to Seedance 2.0 Fast. Do not use to edit or assemble existing footage.

hiapi-seedance-2-0-ugc-ad-video-skill

Create source-grounded, real-person or consented synthetic-actor UGC product ads with HiAPI Seedance 2.0 for TikTok and Instagram Reels. Use for ecommerce product trials, unboxings, direct-to-camera demos, creator-style scripts, paid-social variants, 9:16 video generation, or UGC campaign batches that need authentic phone-shot direction, native dialogue, claim controls, and final media QC.

相關技能