Brand-image generation via the higgsfield product-photoshoot create command. The CLI calls a backend prompt enhancer that holds mode-specific photography vocabulary and structural templates, then submits to gpt_image_2 and returns image URLs.
Before any other command:
higgsfield is not on $PATH, install it:```bash
curl -fsSL https://raw.githubusercontent.com/higgsfield-ai/cli/main/install.sh | sh
```
higgsfield account status fails with Session expired / Not authenticated, ask the user to run higgsfield auth login (interactive) and wait for confirmation.| Mode | When user wants… |
|---|---|
| --- | --- |
product_shot | Product on neutral / studio / catalog background |
lifestyle_scene | Product in real-world environment, hands, action, atmosphere |
closeup_product_with_person | Tight crop with hands / partial face — beauty application, holding, demonstrating |
pinterest_pin | Vertical 2:3 Pinterest-native aesthetic, moodboard feel |
hero_banner | Wide-format website / email / campaign header |
social_carousel | 3–10 connected slides for IG / LinkedIn / Facebook |
ad_creative_pack | Coordinated pack of static ad variants for Meta / TikTok / Pinterest / Google Ads |
virtual_model_tryout | Product worn or used by an AI-rendered model |
conceptual_product | Surreal / CGI-style / levitating / splash / sculptural product |
restyle | Transform an existing image's aesthetic, mood, or seasonal context |
Pick by intent, not surface keyword. When two modes could apply, prefer the more specific one.
product_shotlifestyle_scenecloseup_product_with_personpinterest_pinhero_bannersocial_carouselad_creative_packvirtual_model_tryoutconceptual_productrestyleTie-breakers:
pinterest_pin (Pinterest is the platform)hero_banner (banner format wins)social_carousel (multi-slide wins)closeup_product_with_person (specific genre wins)Ask 3–4 short questions before submitting. Always labeled options, never open-ended. Skip a question whose answer is obvious from context.
[1 / 3 / 5][Clean studio / Lifestyle / Conceptual / With a model / Other][Shopify / Instagram / Pinterest / Paid ads / Website hero]E.g. "make ads for my product", "make a Pinterest pin", "make a hero banner". Mode is obvious. Ask only the gaps:
→ restyle
[Clean girl / Cottagecore / Quiet luxury / Dark academia / Y2K / Other][Christmas / Valentine's / Halloween / Black Friday / None]→ virtual_model_tryout
[Studio clean / Outdoor natural / Street style / Editorial / Home cozy][Full body / Three-quarter / Waist up / Closeup on product area]E.g. "make me something cool for my brand".
[Sell on a marketplace / Build awareness / Run paid ads / Update website]After answers → return to the relevant Type A–E.
Single command. Backend assembles the final prompt and submits to gpt_image_2. URLs print on stdout.
higgsfield product-photoshoot create \
--mode <mode> \
--prompt "<short user-intent description from interview answers>" \
[--image <path-or-upload-id>]... \
[--count <1-10>] \
[--aspect_ratio <override>]
Examples:
higgsfield product-photoshoot create \
--mode lifestyle_scene \
--prompt "bottle of cold-brew on a sunlit kitchen counter, IG feed" \
--image bottle.jpg \
--count 3
higgsfield product-photoshoot create \
--mode pinterest_pin \
--prompt "vertical pin for my candle brand, cottagecore mood" \
--image candle.jpg
higgsfield product-photoshoot create \
--mode restyle \
--prompt "Christmas version, quiet-luxury aesthetic" \
--image existing-shot.jpg
--image accepts a local file path (auto-uploaded) OR an existing upload UUID. Repeat the flag for multiple references.
--count 3 returns 3 distinct image URLs. Backend asks the enhancer to vary preset, lighting, angle, and palette across variants — they will not be paraphrased copies of one another.
For social_carousel and ad_creative_pack, count = number of slides / variants in the pack. Backend locks the visual system across all slides automatically.
Backend picks a sensible default per mode. Override with --aspect_ratio only if the user explicitly asks for a different one. Allowed values: 1:1, 4:5, 5:4, 3:4, 4:3, 2:3, 3:2, 9:16, 16:9.
Print the image URLs as a short bulleted list. No JSON, no IDs, no internal model names, no enhanced prompt text. If a job failed, mention it briefly with the failure status.
3 lifestyle shots ready:
- https://cdn.higgsfield.ai/.../job_abc.jpg
- https://cdn.higgsfield.ai/.../job_def.jpg
- https://cdn.higgsfield.ai/.../job_ghi.jpg
gpt_image_2.higgsfield-generate Marketing Studio for branded video / avatar workflows.higgsfield-generate for raw text-to-image without a product or brand context.product_shot when the user wants a Pinterest pin).higgsfield generate create gpt_image_2 --prompt ... directly instead of higgsfield product-photoshoot create — bypasses the prompt enhancer and produces noticeably worse output.--mode value not in the table above.共 1 个版本