higgsfield
Installation
SKILL.md
Higgsfield AI Image Generation Skill
Overview
Generate images using Higgsfield AI's web UI (Nano Banana Pro model) via Playwright browser automation. The Higgsfield API credits are separate from web UI credits, so we use browser automation to leverage the user's web subscription.
Architecture
- API Endpoint:
POST https://fnf.higgsfield.ai/jobs/nano-banana-2 - Auth: Cookie-based session from
scripts/.hf-cookies.json - Image CDN: URLs contain
higgs.aiord8j0ntlcm91z4.cloudfront.net - Aspect Ratio: Uses UI default (3:4 at 1K); CSS
object-fit: coverhandles display ratios - Format: Higgsfield returns WebP; script converts to JPEG via Pillow