
higgsfield-generate
โ 509by higgsfield-ai ยท part of higgsfield-ai/skills
Generate images/videos via Higgsfield AI. Default: GPT Image 2 for images/design/text, Seedance 2.0 for video, Nano Banana 2/Pro for character/reference image work, Marketing Studio for ads with avatars/products/hooks, settings, plus Soul V2/Cinema/Cast/Location and Kling 3.0. Use when: "generate an image", "make a video", "animate this photo", "image-to-video", "edit/stylize/remix this image", "produce a clip", "create an ad", "make a UGC video", "product demo", "unboxing", "brand video",...
Generate images/videos via Higgsfield AI. Default: GPT Image 2 for images/design/text, Seedance 2.0 for video, Nano Banana 2/Pro for character/reference image work, Marketing Studio for ads with avatars/products/hooks, settings, plus Soul V2/Cinema/Cast/Location and Kling 3.0. Use when: "generate an image", "make a video", "animate this photo", "image-to-video", "edit/stylize/remix this image", "produce a clip", "create an ad", "make a UGC video", "product demo", "unboxing", "brand video",...
Inspect the full instructions your agent will receiveExpandCollapse
This is the exact playbook injected into your agent when the skill activates โ shown here so you can audit it before installing. You don't need to read it to use the skill.
version: 0.8.0
name: higgsfield-generate
description: |
Generate images/videos/3D assets/audio via Higgsfield AI. Defaults:
GPT Image 2 for image/design/text, Seedance 2.0 for
video, Nano Banana 2/Lite/Pro for character/reference
images, Marketing Studio for ads, Seed Audio 1.0 for audio.
Use when: "generate an image", "make a video", "animate
this photo", "image-to-video", "edit/stylize/remix this
image", "reframe this video", "edit this video from a
sketch", "create a 3D model/GLB", "create a sound effect",
"make music", "text-to-audio", "create an ad", "make a UGC
video", "unboxing", "presenter video", "import product from
URL", or "analyze video virality". Supports image-to-3D
(multi_image_to_3d),
text-to-audio/music (seed_audio), workflow generation
(draw_to_video, reframe), Marketing Studio, and
Virality Predictor (brain_activity).
Chain with higgsfield-soul-id for face/identity consistency.
NOT for: Soul Character training (use higgsfield-soul-id),
product photoshoots, marketplace listing cards,
text/chat/TTS tasks.
argument-hint: "[prompt-or-analysis-request] [--model <name>] [--image|--video <path-or-id>]"
allowed-tools: Bash
Higgsfield Generate
Submit jobs to any Higgsfield model. Wraps the higgsfield CLI. Covers generic image/video/3D/audio generation, Marketing Studio (branded ads, avatars, products, hooks, settings), and, secondarily, Virality Predictor video scoring.
Step 0 โ Bootstrap
Before any other command:
- If
higgsfieldis not on$PATH, install it:Copy & paste โ that's itcurl -fsSL https://raw.githubusercontent.com/higgsfield-ai/cli/main/install.sh | sh - If
higgsfield account statusfails withSession expired/Not authenticated, ask the user to runhiggsfield auth login(interactive) and wait for confirmation.
UX Rules
- Be concise. No raw IDs, no JSON dumps in chat. Print the media URL for generated assets, or the text summary for Virality Predictor.
- No internal jargon. Don't narrate "calling higgsfield cost", "polling job".
- Detect the user's language from the first message and reply in it. Technical args (
--aspect_ratio 16:9) stay English. - Don't batch-ask. Pick a sane default model and ask one thing at a time only if genuinely missing.
- Don't pre-estimate cost or optimize for cheaper models unless the user asks. Prefer the quality default first.
- Pass
--waittogenerate createso the command blocks until done and prints the result URL itself. Avoid the two-stepcreateโwaitpattern.
Discovery guardrail
When looking for a Higgsfield feature/model, do not rely only on semantic search or CLI --help. First run an unfiltered model list, then inspect likely job_set_type names. If the user says a model exists but search returns no results, trust that signal and verify with the full model list before answering.
Workflows are separate from models. Discover them with higgsfield workflow list and inspect params with higgsfield workflow get <workflow_name>.
Virality Predictor is exposed as:
- Customer-facing name: Virality Predictor
- Technical
job_set_type:brain_activity - Category/output: text report. This is video-in/text-out analysis, not a text/chat generation model.
- Input: uploaded video
- Purpose: finished-video hook, attention, retention, and virality analysis
If the user says "analyze this video", "score this ad", "evaluate the hook", or similar, route to brain_activity even though it appears under text/analysis models. Classify by task intent and required input, not by output category alone.
Workflow โ generic generation
-
Pick a model. Start with the core defaults unless the brief clearly needs a specialist:
- GPT Image 2 โ default image model for high-fidelity general generation, graphic design, UI, banners, typography, and on-image text.
- Seedance 2.0 โ default video model for serious motion, cinematic clips, multi-shot work, image-to-video, and 4โ15s production-quality output up to 4K. 12s is valid.
- Nano Banana 2/Lite/Pro โ default for character, cartoon, stylized, and reference-driven image work; use Lite for speed/cost, Pro for harder briefs.
- Marketing Studio โ default for ads, UGC, product demos, unboxing, TV spots, presenter videos, and brand/product workflows.
- Seed Audio 1.0 โ default audio model for text-to-audio, voice, sound effects, ambience, foley, and music-like audio unless the user names Sonilo/Mirelo.
Image:
- Brand product visual (Pinterest pin, lifestyle, hero banner, ad pack, virtual try-on) โ use
higgsfield-product-photoshootinstead. NOT this skill. - Generated product concept / packaging / can / bottle with brand name or label text โ GPT Image 2.
- Branded ad image with avatar + product (Marketing Studio shape) โ Marketing Studio Image (see Marketing Studio below)
- Aesthetic UGC / fashion editorial / lifestyle character โ Soul 2.0
- Cinematic still frame โ Soul Cinema
- Highly characterful creative persona (text-only, distinctive) โ Soul Cast
- Locations / environments / no-people scenes โ Soul Location (best in class)
- Logo, icon, vector-like illustration, brand mark, controlled-palette graphic โ Recraft V4.1 (
recraft_v4_1, often with--model_type vector) - Face edit + complex scene swap โ Seedream 4.5
- Soul Character (reference id from
higgsfield-soul-id) โ Soul 2.0 for stills, Soul Cinema for cinematic - Character or cartoon-style work โ Nano Banana 2; use Nano Banana 2 Lite (
nano_banana_2_lite) for fast/simple reference edits, step up to Nano Banana Pro on hard cases - Fast and cheap iteration โ Z Image
- Default for everything else โ GPT Image 2. Graphic design, UI, banners, typography, and high-fidelity general generation.
Video:
- All advertising / commercial / branded ad video โ Marketing Studio (see Marketing Studio below)
- Edit existing video from sketch/timestamp, or reframe to another aspect ratio โ workflow (
draw_to_videoorreframe), not a model. Seereferences/workflows.md. - Default all-purpose serious video (multi-shot, consistent identity, motion-heavy, image-to-video, 4โ15s requests) โ Seedance 2.0. SOTA. Do not downgrade to Seedance 1.5 just because its duration enum is easier to read; validate Seedance 2.0 first.
- Single-plane scene without strong dynamics, cheaper than Seedance 2.0 โ Kling 3.0; if the user explicitly asks for Turbo, faster, or lower-cost Kling output โ Kling 3.0 Turbo (
kling3_0_turbo) - Cheap clean shot without cuts, only when the user asks for cheaper/budget output โ Seedance 1.5 Pro
- Cinema-grade highest fidelity โ Cinema Studio Video 3.0
- Cheap with strong physics, no audio needed โ Minimax Hailuo
- Fast batch / volume โ Veo 3.1 Lite
- Bold/stylized image-to-video from a required start image โ Grok Video 1.5 (
grok_video_v15). Requires one--start-imageor--image, duration 2โ15s, resolution480por720p. - Multimodal reference-to-video with up to 7 images or one video reference โ Gemini Omni Flash (
gemini_omni); keep Seedance 2.0 as the default serious-video pick.
Video analysis:
- Rate a finished video's hook, virality potential, attention, retention, or distraction risk โ Virality Predictor (
brain_activity). This is a video analysis model that returns a text score/report, not a generated media asset.
3D:
- Create an actual 3D mesh/model/GLB from one or more object/product reference images โ Multi-Image to 3D (
multi_image_to_3d). Pass 1โ4 images with repeated--image; use--should_texture truewhen the asset needs texture. If the user only asks for a 3D-rendered picture, use an image model instead.
Audio:
- Default for audio generation โ Seed Audio 1.0 (
seed_audio). Use for text-to-audio, sound effects, ambience, foley, impacts, environmental audio, voice-style generations, and music-like audio. It requires--prompt; use optional--audio-references/--image-referencesonly when the user provides references. - Use Sonilo Music (
sonilo_music) only when the user explicitly asks for Sonilo or you need that specialist music model. It requires--promptand--duration, and returns audio. - Use Mirelo Text to Audio (
mirelo_text_to_audio) only when the user explicitly asks for Mirelo or you need that legacy SFX model. It requires--promptand--duration, and returns audio.
For the actual
--modelID to pass tohiggsfield generate create, runhiggsfield model list --json | jqto map display names to IDs. Seereferences/model-catalog.mdfor the full table. -
Pass media inputs straight to flags. Media flags accept a local file path or a UUID. CLI auto-uploads paths and auto-detects job vs upload for UUIDs. No need to pre-upload. Each model declares accepted media roles or
*_referencesparams โ seereferences/media-inputs.md. -
Validate quickly. If unsure of params, run
higgsfield model get <jst> --jsononce and pass only what's needed. Validate the preferred model before falling back to an older one. Use schema defaults otherwise. The server returnsadjustmentsfor non-fatal coercions (e.g.aspect_ratio=99:99โ closest match) and a structured error for invalid declared-param values. -
Submit and wait in one shot.
higgsfield generate create <jst> [--prompt "..."] [media flags] [param flags] --wait. Blocks until terminal status and prints the result on stdout. Tunables:--wait-timeout 20m(default 10m),--wait-interval 5s(default 3s). Virality Predictor does not need a prompt; pass--video. -
Deliver. For generated media and 3D assets, send the primary result URL plus a one-line summary (model, duration if video; GLB/asset URL for 3D). For Virality Predictor, deliver the scores, business interpretation, and the Open report link. Do not surface Virality Predictor
.glb,.bin, or region-table internals in normal chat output.
To inspect or rerun later, higgsfield generate list --json and higgsfield generate get <id> --json work for retrospection. higgsfield generate wait <id> is still available if you ever need to rejoin a job started without --wait.
For workflow jobs, use higgsfield generate workflow <workflow_name> ... --wait. Cost syntax is higgsfield generate cost workflow <workflow_name> .... See references/workflows.md.
Media flags
| Flag | Purpose | Models that accept it |
|---|---|---|
--image <path-or-id> | reference image | most image models, grok_video_v15, multi_image_to_3d, seedance_2_0, veo3, marketing_studio_video |
--start-image <path-or-id> | first frame for image-to-video transitions | grok_video_v15, kling3_0, kling3_0_turbo, kling2_6, veo3_1, seedance_2_0, marketing_studio_video |
--end-image <path-or-id> | last frame for transitions | kling3_0, seedance_2_0, marketing_studio_video |
--video <path-or-id> | reference or analyzed video | seedance_2_0, brain_activity |
--audio <path-or-id> | reference audio (lipsync, soundtrack match) | seedance_2_0 (use this, NOT --generate-audio) |
For reference-array models, the explicit flags are --image-references, --video-references, and --audio-references; --image, --video, and --audio are short aliases when the schema exposes those params.
Each flag accepts either a local file path (auto-uploaded) or a UUID (upload id from higgsfield upload create, or a previous job id). Each model declares its own media roles or *_references params. See references/media-inputs.md for the full table.
Common params
Flags pass through to model schema. Use higgsfield model get <jst> to discover.
higgsfield generate create gpt_image_2 --prompt "neon city at dusk" --aspect_ratio 16:9 --resolution 2k --wait
higgsfield generate create nano_banana_2 --prompt "anime character concept, expressive pose" --image ./ref.png --wait
higgsfield generate create seedance_2_0 --prompt "camera dollies in" --start-image ./first.png --duration 12 --resolution 4k --wait
higgsfield generate create grok_video_v15 --prompt "cinematic handheld shot, neon rainy street" --start-image ./image.png --duration 5 --resolution 720p --wait
higgsfield generate create text2image_soul_v2 --prompt "..." --soul-id <soul_ref_id> --quality 2k --wait
higgsfield generate create multi_image_to_3d --image ./front.png --image ./side.png --should_texture true --wait
higgsfield generate create seed_audio --prompt "cinematic rain ambience with distant thunder" --wait
higgsfield generate create sonilo_music --prompt "cinematic synthwave track" --duration 12 --wait
higgsfield generate create mirelo_text_to_audio --prompt "glass breaking in a large hall" --duration 4 --wait
higgsfield generate create brain_activity --video ./ad.mp4 --waitFor machine-readable output (chained pipelines, agent context), add --json. With --wait --json you get the final job object array. Without --wait, you get the job IDs. Virality Predictor stores raw analysis and render artifacts in the job params, but the default text output should stay to scores plus Open report.
Stdin prompt: echo "..." | higgsfield generate create z_image --wait.
Soul image quality: for text2image_soul_v2 and soul_cinematic, pass --quality 1.5k or --quality 2k. These are UI-facing tiers; the backend maps them to 720p/1080p and model-specific dimensions from the selected --aspect_ratio. soul_location has no quality selector; it uses fixed dimensions per aspect ratio.
Marketing Studio
Branded image/video gen: avatars + products + optional setup hooks/settings + ad-style modes. Use models marketing_studio_video and marketing_studio_image.
Concepts
- Avatar โ presenter face. Curated
preset(browsehiggsfield marketing-studio avatars list) orcustom(uploaded photos viahiggsfield marketing-studio avatars create). For UGC modes, an avatar is optional if the brief clearly mentions a person; the backend can create a Soul Character automatically. Pass an avatar when the user wants a specific presenter. - Product โ brand item with title + reference images. Imported from URL (
higgsfield marketing-studio products fetch --url ...) or created from uploaded images (higgsfield marketing-studio products create). - Webproduct โ App Store / web page version. Auto-routes when fetching App Store URLs.
- Hook โ reusable opening angle / ad hook. Browse with
higgsfield marketing-studio hooks list. Hook text is prepended to the user's prompt; it does not replace--prompt. - Setting โ reusable environment / scene context. Browse with
higgsfield marketing-studio settings list. - Ad reference โ reusable inspiration video that can be bound to an avatar and/or product. Created from an uploaded video (
--video-input <upload_id>) or a previous generation job (--job <job_id>). Browse withhiggsfield marketing-studio ad-references list. Seereferences/marketing-ad-references.md. - Brand kit โ captures a brand's identity (name, logo, hero images, colours, fonts, tone) for reuse across image generations. Created by handing in a website URL (
higgsfield marketing-studio brand-kits fetch --url https://โฆ --wait). Seereferences/marketing-brand-kits.md. - Ad format โ presets that drives the visual structure of a generated image (
headline,bullet-points, etc.). Read-only, browse withhiggsfield marketing-studio ad-formats list. Required input fordtc-ads generate.
Discovery commands
Use these exact list commands when the user asks what already exists:
higgsfield marketing-studio avatars list --json
higgsfield marketing-studio products list --json
higgsfield marketing-studio hooks list --json
higgsfield marketing-studio settings list --json
higgsfield marketing-studio ad-references list --json
higgsfield marketing-studio brand-kits list --json
higgsfield marketing-studio ad-formats list --json--hook_id and --setting_id are supported by marketing_studio_video only; do not pass them to marketing_studio_image.
UX rules (additional)
- One question per phase. Don't ask product+avatar+mode upfront.
- Two ad approaches are mutually exclusive. Either the user gives an ad reference video (reference-driven) or picks hook/setting blocks (composed-from-blocks) โ never both. If the user has an ad reference selected, do not offer hook/setting; if hook/setting are picked, do not offer to attach an ad reference.
- Ad reference source. The only valid inputs are a local video file (uploaded via
higgsfield upload create ... --video) or a prior video job. If the user provides anything else, ask for a local file. dtc-adsad format is mandatory. Always ask the user to pick fromad-formats list. There is no auto-default โ both the CLI and server reject calls without--format-id.dtc-adsoptional inputs. Suggest avatars, products, and reference media when the brief calls for them; only attach what the user picks.
Workflow โ quick ad video
- Get product.
- Existing product โ
higgsfield marketing-studio products list --json - URL โ
higgsfield marketing-studio products fetch --url <url> --wait(polls until import done) - Local images โ
higgsfield upload create <photo>...thenhiggsfield marketing-studio products create --title "..." --image <id>...Capture product id. When using--hook_id, strongly prefer passing--product_ids; hooks are designed to pivot into a product and work poorly without product context.
- Existing product โ
- Pick avatar if needed.
- Default:
higgsfield marketing-studio avatars listand pick a preset matching the brand voice. - Custom:
higgsfield marketing-studio avatars create --name "..." --image <upload_id>. For UGC modes, you may omit--avatarswhen no specific presenter is required and the brief mentions a person; the backend can synthesize a Soul Character.
- Default:
- Optionally pick setup items.
- Hook:
higgsfield marketing-studio hooks list --json - Setting:
higgsfield marketing-studio settings list --jsonPass selected IDs as--hook_id <hook_id>and--setting_id <setting_id>formarketing_studio_videoonly. Do not copy the hook's prompt into--promptunless the user explicitly wants to reinforce the same wording.
- Hook:
- Pick mode if needed. Default is
ugc;--modeis not required just because--hook_idis present. Other current slugs:ugc_how_to,ugc_unboxing,product_showcase,product_review,tv_spot,wild_card,ugc_virtual_try_on,virtual_try_on. Hook/setting are valid only forugc,ugc_how_to,ugc_unboxing,product_review,ugc_virtual_try_onโ do not pass--hook_id/--setting_idwith the other modes. Seereferences/marketing-modes.md. - Generate (one-shot).
AddCopy & paste โ that's it
PRODUCT_IDS_JSON=$(mktemp) AVATARS_JSON=$(mktemp) printf '["<product_id>"]' > "$PRODUCT_IDS_JSON" printf '[{"id":"<avatar_id>","type":"preset"}]' > "$AVATARS_JSON" higgsfield generate create marketing_studio_video \ --prompt "..." \ --avatars @"$AVATARS_JSON" \ --product_ids @"$PRODUCT_IDS_JSON" \ --mode ugc \ --duration 15 \ --resolution 720p \ --aspect_ratio 9:16 \ --wait--hook_id <hook_id>and/or--setting_id <setting_id>when a setup hook/setting was selected.product_idsandavatarsare JSON arrays; pass them via@/path/to/file.json. Do not pass a bare UUID to--product_ids. Resolution is480por720p. Aspect ratio is one ofauto/21:9/16:9/4:3/1:1/3:4/9:16.--generate-audio trueis supported here (unlikeseedance_2_0).--waitblocks until done; bump--wait-timeout 30mfor longer ad runs. - Deliver. URL + one-line summary (mode, duration).
Click-to-Ad shortcut (URL-driven)
When the user gives a product URL and wants a marketing video in one go:
# 1. Trigger fetch (returns the product id, import runs in the background)
higgsfield marketing-studio products fetch --url https://shop.example.com/sneakers --wait
# 2. Generate the marketing video against the same URL โ backend reuses the entity
higgsfield generate create marketing_studio_video \
--url https://shop.example.com/sneakers \
--mode ugc \
--duration 15 \
--aspect_ratio 9:16 \
--waitBackend dedupes by URL, so repeated runs reuse the existing entity instead of re-fetching.
Workflow โ marketing image
Same as above but use marketing_studio_image model:
higgsfield generate create marketing_studio_image \
--prompt "..." \
--aspect_ratio 1:1 \
--resolution 2k \
--waitVirality Predictor video scoring
Use Virality Predictor (brain_activity) when the user wants to evaluate a finished video as a business creative: hook strength, virality potential, attention, retention, or how well the content/product holds focus and minimizes distraction. Treat "Virality Predictor" as the customer-facing feature name; brain_activity is only the CLI/job_set_type.
higgsfield generate create brain_activity --video ./creative.mp4 --waitThe result is text, not a generated image/video. Report the overall score, peak hook second, sustain score, strongest/weakest regions, and report URL if present. Interpret it as an objective attention proxy for creative testing: higher Visual/Auditory/Language/Attention scores suggest stronger stimulus and focus; lower Default Mode is better because it suggests less mind-wandering.
The CLI prints an Open report URL like https://<app-domain>/apps/virality-predictor?resultJobId=<job_id>. Send that URL for the visual report. Raw artifact URLs such as brain_example_url, vertexMapBinaryUrl, and vertexMapUrl are implementation details; mention them only when the user asks for raw data or implementation details.
Good final shape:
Overall score: 44/100
Peak hook: 49% at 1s
Sustain: 89%
Strongest region: Visual Cortex
Risk: Default Mode is high, which can indicate mind-wandering.
Open report: <report_url>Errors
Missing required params: promptโ user gave no prompt; ask for it.Missing required params: mediasonbrain_activity/ Virality Predictor โ pass exactly one video via--video <path-or-id>.Invalid values: aspect_ratio=99:99 (allowed: ...)โ bad enum; pick from allowed.Unknown params: fooโ schema doesn't accept that flag; checkhiggsfield model get <jst>. If this happens forhook_idorsetting_id, the selected model/job_set_type does not support Marketing Studio setup items.Session expiredโhiggsfield auth login.
See references/troubleshooting.md for more.
Reference docs
Load on demand:
references/model-catalog.mdโ picking the right model for the taskreferences/workflows.mdโdraw_to_videoandreframeworkflow generationreferences/prompt-engineering.mdโ writing prompts that workreferences/media-inputs.mdโ image/video/audio reference flows and Virality Predictor video analysisreferences/troubleshooting.mdโ common errors and fixesreferences/marketing-avatars.mdโ preset vs custom avatarsreferences/marketing-products.mdโ URL fetch vs manual product createreferences/marketing-setup-items.mdโ hooks/settings discovery and usagereferences/marketing-ad-references.mdโ ad reference videos (create/list/get)references/marketing-brand-kits.mdโ brand kits (fetch from URL, list, get)references/marketing-dtc-ads.mdโ DTC Ads Engine (dtc-ads generate)references/marketing-modes.mdโ every Marketing Studio mode
npx skills add https://github.com/higgsfield-ai/skills --skill higgsfield-generateRun this in your project โ your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.