mcpField
H
higgsfield-marketplace-cards

higgsfield-marketplace-cards

github.com/higgsfield-ai营销与增长1.8k196.6k 次安装1 天前更新
代码仓库

关于 higgsfield-marketplace-cards

通过 Higgsfield CLI 根据产品信息和可选图片制作商品视觉素材,支持预设套装或自选素材,并返回生成图片的链接。

主要功能

  1. 01生成商品视觉套装
  2. 02预设范围与自选素材
  3. 03可选产品图片输入
  4. 04产品与品牌背景参数

适用场景

  1. 01制作商品主图
  2. 02生成副图与 A+ 模块
  3. 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。

初始化

  1. 如果 $PATH 中没有 higgsfield,请使用 Bash 运行官方安装程序进行安装:curl -fsSL https://raw.githubusercontent.com/higgsfield-ai/cli/main/install.sh | sh。
  2. 如果 higgsfield account status 因认证错误而失败,请让用户运行 higgsfield auth login。

UX 规则

  1. 使用用户所用的语言回复。
  2. 运行前最多提出一个简短的确认问题。
  3. 优先使用产品图片。如果用户只提供文字或 URL,只有在产品详情明确时才继续。
  4. 不要自行编写最终的图像生成提示词。由后端增强器负责。
  5. 最终回复只能包含可用的图像 URL 和简短标签。

范围选择

用户要求常见组合时,使用 --scope:

范围创建内容
main1 张商城主图
product-images主图 + 5 张副图
aplus主图 + 7 个 A+ 模块
full-set主图 + 5 张副图 + 7 个 A+ 模块

仅在用户需要自定义组合时重复使用 --asset:

  • main_image
  • infographic
  • multi_angle
  • detail_shot
  • lifestyle
  • whats_in_box
  • aplus_hero_banner
  • aplus_pain_points
  • aplus_features
  • aplus_ingredients
  • aplus_efficacy
  • aplus_how_to_use
  • aplus_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