# Stability AI Style Guide (via Locus x402)

> Stability AI Style Guide (via Locus x402) is a paid API for AI agents from stability-ai.x402.paywithlocus.com, paid per call via x402, $0.057/call, status unknown (last checked 2026-09-14).

Generates a new image by applying the visual style of a reference image to a text-prompted scene, with controllable fidelity and aspect ratio.

## Facts

- Endpoint: POST https://stability-ai.x402.paywithlocus.com/stability-ai/style-guide
- Price: $0.057/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stability-ai-style-guide-via-locus-x402-16d98602
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4VJrOt0m4ETpoisRbb995

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 stability-ai-style-guide-via-locus-x402-16d98602 -d '<json body>'
```

Example prompt: Take this reference image I'm uploading and generate a new image of 'a cozy café interior in autumn' in the same visual style, with a fidelity of 0.8, 16:9 aspect ratio, and output it as a PNG.

## When to prefer this

Choose this endpoint when you need to generate an image that matches the specific visual style of an existing reference image — not just a text description of a style, but an actual image to anchor the aesthetic. Ideal for brand consistency, art direction workflows, or creative projects where visual style continuity matters. Prefer over plain text-to-image endpoints when you have a concrete style reference image and need controllable style fidelity. Suited for agents operating in creative, marketing, or game development contexts.

## Known failure modes

- Invalid or unreadable image input — returns error if the style reference image is malformed or unsupported format
- Fidelity value out of 0–1 range — API may reject or clamp the value
- Content policy violation in prompt — request rejected if prompt or image triggers safety filters
- Payment failure — x402 payment not settled, request not processed
- Missing required fields (prompt) — returns validation error
- Timeout on large/complex generations — status URL must be polled for result

## How this service works

Generative AI platform for images, 3D models, and audio — text-to-image, editing, upscaling, and more.

## Output

Returns a JSON object with a 'data' field containing the generated image (or a reference to it), a request ID and status URL for async polling if needed, and payment settlement details showing the USDC charged. The styled image reflects the visual aesthetic of the reference image applied to the described scene.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "number"
  },
  "image": {
   "type": "string"
  },
  "prompt": {
   "type": "string"
  },
  "fidelity": {
   "type": "number"
  },
  "aspect_ratio": {
   "type": "string"
  },
  "output_format": {
   "type": "string"
  },
  "negative_prompt": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stability-ai-style-guide-via-locus-x402-16d98602/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stability-ai.x402.paywithlocus.com](https://www.zero.xyz/host/stability-ai.x402.paywithlocus.com/llms.txt)
