# Stableflare Browser Screenshot Upload

> Stableflare Browser Screenshot Upload is a paid API for AI agents from stableflare.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Renders a URL or HTML content in a headless browser and uploads the resulting screenshot image, returning an image URL — no API key required, pay-per-request.

## Facts

- Endpoint: POST https://stableflare.dev/api/images/upload
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stableflare-browser-screenshot-upload-dbaa5f9c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0XI_l6YmiwJElh8kEelWv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stableflare-browser-screenshot-upload-dbaa5f9c -d '<json body>'
```

Example prompt: Take a full-page screenshot of https://news.ycombinator.com using a 1280x900 viewport, wait until the page is fully loaded (networkidle0), and give me back the image URL.

## When to prefer this

Use this endpoint when you need a rendered screenshot of a live webpage or custom HTML and want a hosted image URL back — particularly when you want pay-per-request access with no API key or subscription, powered by Cloudflare Browser Rendering. Ideal for capturing dynamic JavaScript-heavy pages, specific DOM elements, or authenticated pages.

## Known failure modes

- Invalid or unreachable URL returns a rendering error
- CSS selector not found causes timeout or empty capture
- Payment failure (insufficient USDC) returns 402 Payment Required
- Viewport or screenshot option values out of range return validation errors
- Authentication credentials for protected pages are incorrect, resulting in an auth failure screenshot
- Timeout exceeded waiting for selector or page load returns a timeout error

## How this service works

Pay-per-request access to Replicate AI and Cloudflare Browser Rendering. No API keys, no subscriptions.

## Output

Returns a hosted image URL pointing to the uploaded screenshot of the rendered page or HTML content; the image is stored remotely and accessible via the returned URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public URL of the image to upload"
  },
  "metadata": {
   "type": "object",
   "description": "Custom key-value metadata for the image",
   "propertyNames": {
    "type": "string"
   },
   "additionalProperties": {
    "type": "string"
   }
  },
  "requireSignedURLs": {
   "type": "boolean",
   "description": "Restrict access to signed URLs only"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stableflare-browser-screenshot-upload-dbaa5f9c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableflare.dev](https://www.zero.xyz/host/stableflare.dev/llms.txt)
