关于 higgsfield-marketplace-cards
通过 Higgsfield CLI 根据产品信息和可选图片制作商品视觉素材,支持预设套装或自选素材,并返回生成图片的链接。
主要功能
- 01生成商品视觉套装
- 02预设范围与自选素材
- 03可选产品图片输入
- 04产品与品牌背景参数
适用场景
- 01制作商品主图
- 02生成副图与 A+ 模块
- 03创建自定义视觉素材组合
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ higgsfield-ai/ skills --skill higgsfield-marketplace-cards安装后在 Claude Code 中输入/higgsfield-marketplace-cards确认已加载。
详细介绍
Marketplace 卡片
使用 higgsfield marketplace-cards create 创建可用于商城的产品视觉素材。
CLI 会先调用后端增强器(商城规则和模板均保密),然后创建 nano_banana_2 任务并输出结果 URL。
初始化
- 如果
$PATH中没有higgsfield,请使用 Bash 运行官方安装程序进行安装:curl -fsSL https://raw.githubusercontent.com/higgsfield-ai/cli/main/install.sh | sh。 - 如果
higgsfield account status因认证错误而失败,请让用户运行higgsfield auth login。
UX 规则
- 使用用户所用的语言回复。
- 运行前最多提出一个简短的确认问题。
- 优先使用产品图片。如果用户只提供文字或 URL,只有在产品详情明确时才继续。
- 不要自行编写最终的图像生成提示词。由后端增强器负责。
- 最终回复只能包含可用的图像 URL 和简短标签。
范围选择
用户要求常见组合时,使用 --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 <path-or-upload-id>,以及可选的上下文标志:--product_context、--brand_context、--category、--visual_style。
选择参数时可参照以下示例:
- 产品图片:
higgsfield marketplace-cards create --scope product-images --prompt "sparkling peach lemonade can for marketplace listing" --image ./can.png --category "beverage" - 完整组合:
higgsfield marketplace-cards create --scope full-set --prompt "premium skincare serum, clean clinical marketplace visual system" --image ./serum.jpg --brand_context "minimal white and sage palette" - 自定义组合:重复使用
--asset,例如:--asset main_image --asset infographic --asset lifestyle。 - 已完成的主图任务:与所需的副图或 A+
--asset值一起使用--main-job <completed_main_job_id>。
交付
输出带标签的 URL:
Marketplace cards ready:
- Main image: https://...
- Infographic: https://...
- Lifestyle: https://...
除非用户明确要求,否则不要输出 JSON、任务 ID、内部模型名称或增强后的提示词。
评论
支持 Markdown