市集卡片
使用 higgsfield marketplace-cards create 建立市集就緒的產品視覺。
CLI 會先呼叫後端增強器(此處保留市集規則與範本),接著建立 nano_banana_2 任務,並輸出結果網址。
初始設定
- 如果
higgsfield不在$PATH中,請透過官方安裝程式以 Bash 安裝:curl -fsSL https://raw.githubusercontent.com/higgsfield-ai/cli/main/install.sh | sh。 - 如果
higgsfield account status因驗證錯誤而失敗,請要求使用者執行higgsfield auth login。
UX 規則
- 使用使用者的語言回應。
- 執行前最多提出一個簡潔的確認問題。
- 偏好產品圖片。如果使用者僅提供文字或網址,只有在產品詳細資訊明確時才繼續處理。
- 不要自行撰寫最終的圖片生成提示詞。後端增強器負責此工作。
- 最終答案應僅包含準備好的圖片網址與簡短標籤。
範圍選擇
當使用者要求常見的組合時,請使用 --scope:
| 範圍 | 建立內容 |
|---|---|
main | 1 張市集主圖 |
product-images | 主圖 + 5 張次要圖片 |
aplus | 主圖 + 7 個 A+ 模組 |
full-set | 主圖 + 5 張次要圖片 + 7 個 A+ 模組 |
僅在自訂子集時使用重複的 --asset:
main_imageinfographicmulti_angledetail_shotlifestylewhats_in_boxaplus_hero_banneraplus_pain_pointsaplus_featuresaplus_ingredientsaplus_efficacyaplus_how_to_useaplus_endorsement
指令
根據使用者的請求建立並執行一個 higgsfield marketplace-cards create 指令。
對於常見的組合,使用 --scope <main|product-images|aplus|full-set>、--prompt "<簡短的產品與上架意圖>"、可選的重複 --image <路徑或上傳 ID>,以及可選的情境旗標:--product_context、--brand_context、--category、--visual_style。
選擇參數時可參考以下範例:
- 產品圖片:
higgsfield marketplace-cards create --scope product-images --prompt "氣泡蜜桃檸檬水罐頭,適合市集上架" --image ./can.png --category "beverage" - 完整套組:
higgsfield marketplace-cards create --scope full-set --prompt "高級精華液,乾淨臨床感的市集視覺系統" --image ./serum.jpg --brand_context "極簡白色與鼠尾草色調" - 自訂子集:重複使用
--asset,例如--asset main_image --asset infographic --asset lifestyle。 - 使用已完成的現有主圖任務:搭配要求的次要或 A+
--asset值,使用--main-job <已完成的主圖任務 ID>。
交付
以標籤形式列印網址:
市集卡片已就緒:
- 主圖:https://...
- 資訊圖表:https://...
- 情境照:https://...
除非使用者明確要求,否則應避免輸出 JSON、任務 ID、內部模型名稱或增強後的提示文字。