# imgfactory — install and use Base URL `https://imgfactory.dartmate.workers.dev`. Payment is USDC on Base (x402 v2 default, scheme `exact`: `PAYMENT-REQUIRED` header on the 402, resend with `PAYMENT-SIGNATURE`; add `x402-version: 1` for the v1 shape: `X-PAYMENT-REQUIRED` / `X-PAYMENT`). 1. Fetch `https://imgfactory.dartmate.workers.dev/llms.txt` and pick the endpoint whose `Use when` matches the task. 2. Buy a pack: `POST https://imgfactory.dartmate.workers.dev/v1/credits/purchase?pack=5` with `X-WALLET` + `PAYMENT-SIGNATURE`, then reuse `X-WALLET` for every call. 3. Single call: POST the endpoint, read the 402 body, sign an EIP-3009 authorization for `amount` to `payTo`, resend with `PAYMENT-SIGNATURE`. 4. Many files: `POST /v1/jobs/submit` with `op_id`, `params`, repeated `files` (0.10 USDC per request, up to 20 files included; above 20 files 0.10 + 0.005 × (n − 20); max 100 files per request (0.50 USDC)), then poll `/v1/jobs/status` and `GET /v1/jobs/download`. Notes: a charge is only made on HTTP 200; on failure the payment stays unsettled (the free first call per IP is not restored). No content moderation (safe for NSFW batches).