akcodez/seedance-auto-generate
Automatically generate a Seedance 2.0 video on Higgsfield using Playwright browser automation. Use when the user provides an image and wants to create an AI video from it on Higgsfield. Triggers on requests like "generate a video", "create a seedance video", "make a video on higgsfield", "auto-generate video", or any request to automatically submit a video generation job to higgsfield.ai. Requires Playwright MCP tools.
npx skills add https://github.com/AKCodez/higgsfield-claude-skills --skill seedance-auto-generate
This skill automates the full Higgsfield Seedance 2.0 video creation flow using Playwright browser automation. It uploads an image, fills in a prompt, and clicks Generate — hands-free.
> Source: github.com/beshuaxian/higgsfield-seedance2-jineng
This auto-generate skill is the automation engine. To craft the best possible prompt for your video, first invoke the matching style sub-skill before running this automation. Each sub-skill turns Claude into a specialized prompt engineer for that video style — generating large, detailed, paste-ready prompts with powerful 2-second hooks that stop the scroll.
/01-cinematic, /07-ecommerce-ad, /15-real-estate, etc./seedance-auto-generate to automatically submit the prompt + image to Higgsfield| Slash Command | Skill Name | When to Use |
|---|---|---|
| /01-cinematic | Cinematic Film | Film quality — dramatic lighting, camera language, depth of field, anamorphic, noir, epic |
| /02-3d-cgi | 3D CGI | 3D rendered — Pixar, Unreal Engine, photorealistic, isometric, ray tracing, volumetric |
| /03-cartoon | Cartoon & Animation | 2D animation — cel-shaded, hand-drawn, flat vector, watercolor, rubber hose, motion graphics |
| /04-comic-to-video | Comic to Video | Animate comics — manga pages, webtoons, storyboards, sequential art, graphic novels |
| /05-fight-scenes | Fight Scenes & Action | Combat — martial arts, sword fights, chase scenes, superhero battles, action choreography |
| /08-anime-action | Anime | Japanese animation — shonen, seinen, mecha, magical girl, isekai, anime openings |
| Slash Command | Skill Name | When to Use |
|---|---|---|
| /06-motion-design-ad | Motion Design Ad | Software/SaaS — product launches, feature showcases, app promos, tech demos, UI animation |
| /07-ecommerce-ad | E-Commerce Ad | Product ads — fashion, beauty, electronics, food, Amazon/Shopify/TikTok Shop, unboxing |
| /09-product-360 | Product 360 | Turntable — multi-angle showcase, product reveal, hero shots, beauty shots, product spin |
| /11-social-hook | Social Hook | Viral content — TikTok, Instagram Reels, YouTube Shorts, scroll-stopping hooks |
| /12-brand-story | Brand Story | Brand narrative — origin stories, mission videos, company culture, founder stories |
| Slash Command | Skill Name | When to Use |
|---|---|---|
| /10-music-video | Music Video | Beat-synced — performance, lyric video, music visualization, concert visuals, album art |
| /13-fashion-lookbook | Fashion Lookbook | Fashion — lookbooks, model walks, outfit showcases, runway clips, streetwear, campaigns |
| /14-food-beverage | Food & Beverage | Food — restaurant promos, recipe content, food ASMR, menu showcases, appetite appeal |
| /15-real-estate | Real Estate | Property — house tours, architecture, interior design, listings, virtual tours, renovation |
Every sub-skill provides:
@image1 @video1 @audio1 best practices> Each skill also has a Chinese version at skills/XX-name/zh-CN/SKILL.md
| Input | Format | Limit |
|---|---|---|
| Image | jpeg, png, webp, bmp, tiff, gif | Up to 9, each < 30MB |
| Video | mp4, mov | Up to 3, each < 50MB, 2-15s total |
| Audio | mp3, wav | Up to 3, each < 15MB, up to 15s total |
| Text | Natural language prompt | — |
| Combined | — | Max 12 files total |
| Output | Video | 4-15s, 720p, with sound |
Reference materials in prompts: @image1 @video1 @audio1
The user provides:
.png, .jpg, .webp, etc.)Optional overrides (defaults shown):
8s (options: 5s, 8s, 10s)Auto (options: Auto, 16:9, 9:16, 1:1)720p (options: 720p, 1080p)Follow these steps exactly using Playwright MCP tools. Load each tool with ToolSearch before first use.
If the image is outside the project directory (e.g. in C:\Users\User\Downloads\), copy it into the project root first:
cp "<source_path>" "C:/Users/User/higgz/<filename>"
The Playwright file upload tool only allows files within the project root.
browser_navigate → url: "https://higgsfield.ai/create/video?model=seedance_2_0"
The ?model=seedance_2_0 query parameter pre-selects the Seedance 2.0 model automatically.
Wait for the page to load, then take a snapshot to confirm:
If a cookie consent dialog appears, close it by clicking the "Close" button (x).
Take a snapshot and find the upload area. It contains text like "Upload media" and "Image, Video or Audio". Click the upload area element.
This opens a dialog with tabs: "Uploads", "Image Generations", "Video Generations", "Elements", "Liked".
Inside the dialog, find and click the "Upload media" button (the first clickable item in the dialog grid — it has an upload icon and text "Upload media" with subtext "Protected content is not allowed").
This triggers a file chooser modal. The tool result will say: [File chooser]: can be handled by browser_file_upload
browser_file_upload → paths: ["C:\\Users\\User\\higgz\\<filename>"]
Use the absolute Windows path with double backslashes. The file must be within the Playwright allowed roots (C:\Users\User\higgz).
browser_wait_for → time: 5
Wait 5 seconds for the image to upload and appear in the asset grid.
Take a snapshot of the dialog. The newly uploaded image appears as the first item after the "Upload media" button in the grid. It will be a generic [cursor=pointer] element. Click it.
Important: The newly uploaded image is always the first grid item right after the upload button. Look for the element immediately following the upload button in the dialog's grid.
browser_press_key → key: "Escape"
The dialog closes. The image is now loaded into the form — the upload area is replaced by an image preview.
Take a snapshot. Confirm:
figure with img "media is loading" or similar)Click the prompt textbox, then type the prompt:
browser_click → ref: <textbox_ref>, element: "Prompt textbox"
browser_type → ref: <textbox_ref>, text: "<the video prompt>"
The prompt should be crafted by one of the 15 sub-skills listed above. If the user hasn't specified a style, pick the best-matching sub-skill and use it to generate the prompt first.
If the user wants non-default settings:
Take a screenshot to show the user the final form state before generating.
ASK THE USER FOR CONFIRMATION before clicking Generate — this costs credits.
browser_click → ref: <generate_button_ref>, element: "Generate button"
The Generate button shows the credit cost (e.g., "Generate 48 32"). After clicking, the video enters the generation queue.
After clicking Generate:
These are the typical element patterns found on the page. Refs change between sessions — always take a fresh snapshot before interacting.
| Element | How to find it |
|---|---|
| Upload area | generic [cursor=pointer] containing text "Upload media" and "Image, Video or Audio" |
| Upload button in dialog | First item in dialog > generic > generic grid, contains "Upload media" text |
| Newly uploaded image | First generic [cursor=pointer] after the upload button in dialog grid |
| Prompt textbox | textbox inside generic with label "Prompt" |
| Model button | button "Model" containing "Seedance 2.0" |
| Duration button | button "Duration" |
| Ratio button | button "Auto Ratio" or button "16:9 Ratio" |
| Resolution button | button "720p Resolution" |
| Generate button | button "Generate ..." with credit cost numbers |
! open https://higgsfield.ai in the CLI)User: "Create a video for this house photo at C:\Users\User\Downloads\house.webp"
Step 1 → Invoke /15-real-estate with the image to craft a cinematic real estate prompt
Step 2 → Copy image to project: cp Downloads/house.webp higgz/house.webp
Step 3 → Run this automation flow with the image + generated prompt
Step 4 → Confirm with user before clicking Generate
Step 5 → Monitor until video is complete
User: "Make a TikTok ad for my sneakers" + [sneaker photo]
Step 1 → Invoke /07-ecommerce-ad to craft a product showcase prompt
Step 2 → Copy image, run automation, set ratio to 9:16 for TikTok vertical
Step 3 → Confirm and generate
User: "Turn this character art into an anime fight scene"
Step 1 → Invoke /08-anime-action to craft an anime action prompt
Step 2 → Copy image, run automation
Step 3 → Confirm and generate
User: "Just generate a video from this image, cinematic style"
Step 1 → Write a concise cinematic prompt directly (or auto-invoke /01-cinematic)
Step 2 → Copy image, run automation
Step 3 → Confirm and generate
Take akcodez/seedance-auto-generate from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.