Playwright + AI Brain
Human pace typing, randomized waits, and 4-tier AI decision engine for smart automation.
Automated Higgsfield pipelines
XSpace Runner wraps the Higgsfield.ai studio with Playwright flows that feel human, recover from UI drifts, and keep every generation observable.
resiliency layers
prompt variations
single command launch
npm run generate
✔ Session verified
✔ Selectors patched
… Shot queue loaded
Human pace typing, randomized waits, and 4-tier AI decision engine for smart automation.
Prompt patching softens prompts, then hardens quality when Higgsfield throttles.
Models, profiles, and shotlists live in JSON so creative teams can own updates.
Every click, screenshot, and error funnels into logs/ for audits.
Workflow
Run npm run login, authenticate once, and persist cookies.
Dry-run with npm run verify-session or --dry-run.
Edit shotlist.json, ranking priorities, tags, and profiles.
Run npm run generate for hands-free execution and download.
Config highlights
{
"id": "hero_image_001",
"type": "image",
"modelId": "img_realistic_v1",
"profileId": "premium_quality",
"settings": { "aspectRatio": "16:9" }
}
{
"premium_quality": {
"qualityLevel": "high",
"upscale": true,
"negativePrompt": "blurry, low quality"
}
}
Regenerate selectors with Playwright codegen, paste them into
ui/selectors.js, and rerun --dry-run to confirm.
Ready?
Start the server, use the AI dashboard, and connect your preferred schedulers or job queues on top of XSpace Runner.