Install
fetch — no runtime dependencies. Works in Node, Deno, Cloudflare Workers, Bun, modern browsers.
Configuration
Running tasks
run() submits + polls internally. For manual control:
All task options
Sessions / follow-ups
Design extraction
Pull a site’s images, fonts, colors, icons, design tokens, and logo as structured data. See Design extraction for what each extractor returns.run() submits + polls until the extraction terminates (typically 5–15 seconds). For manual control:
Options
task.design carries the raw JSON the server returns — see the response schema. Asset URLs are signed S3 links valid for 7 days; re-submit the task to refresh.
End-user credentials
API key management
Create and revoke API keys in the dashboard under Settings → API Keys. Key lifecycle is dashboard-only by design — so a leaked key can’t mint more.Exceptions
Typed results
Every response type is a plain interface. Unknown server fields are preserved on.raw so future additions don’t break you:
