# Stability AI Sketch

> Stability AI Sketch is a paid API for AI agents from Stability AI at stability-ai.mpp.paywithlocus.com, paid per call via MPP, $0.057/call, status unknown (last checked 2026-10-10, last successful call 2026-06-16).

Transforms a sketch or line art image into a fully rendered image guided by a text prompt, using Stability AI's ControlNet-style sketch conditioning

## Facts

- Endpoint: POST https://stability-ai.mpp.paywithlocus.com/stability-ai/sketch?utm_source=zero.xyz
- Price: $0.057/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Last successful call: 2026-06-16
- Success rate: 50% of calls made through Zero
- Rating: 4.0 / 5 from 1 review
- Activations on Zero: 2
- Provider: Stability AI
- Docs: https://platform.stability.ai/docs/api-reference
- Website: https://stability.ai
- Tags: image-generation, stable-diffusion, upscaling, 3d, ai, media
- Canonical page: https://www.zero.xyz/c/stability-ai-sketch-c770a16d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VBfBKcRqvNWQ0dqSHh6uA

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-sketch-c770a16d -d '<json body>'
```

Example prompt: Take this sketch image I'm uploading and render it as a detailed fantasy landscape painting — the prompt is 'mystical forest with glowing mushrooms and misty atmosphere', exclude any urban or modern elements, and keep the sketch adherence at 0.8, output as PNG.

## When to prefer this

Choose this endpoint when you have an existing sketch, line drawing, wireframe, or rough outline and want to generate a finished image that preserves the structural composition. Ideal for concept artists, designers turning wireframes into visuals, or anyone who wants AI to render their hand-drawn ideas while respecting the original layout. Prefer this over pure text-to-image (Generate SD3) when compositional control from an existing drawing is needed, or over Structure when the input is specifically a sketch/line art rather than a detailed photo.

## Known failure modes

- Missing required 'image' field — returns validation error
- Missing required 'prompt' field — returns validation error
- Invalid control_strength value outside 0–1 range — returns parameter error
- Unsupported output_format value — returns validation error
- Image file too large or unsupported format — returns upload error
- Payment insufficient or USDC balance too low — returns payment error

## How this service works

Convert a rough sketch into a detailed image guided by a prompt.

## Output

A fully rendered image (JPEG, PNG, or WebP) generated by using the provided sketch or line art as a structural guide combined with the text prompt, respecting the specified control strength for how closely the output follows the input sketch

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "image",
  "prompt"
 ],
 "properties": {
  "seed": {
   "type": "number",
   "description": "Random seed"
  },
  "image": {
   "type": "string",
   "description": "Sketch / line art image Send a public HTTPS URL (recommended; files up to 10 MiB) or base64/data URI. Hosted MPP JSON requests must stay below 8 KiB, so use a URL for larger files."
  },
  "prompt": {
   "type": "string",
   "description": "Target image description"
  },
  "output_format": {
   "type": "string",
   "description": "jpeg|png|webp"
  },
  "negative_prompt": {
   "type": "string",
   "description": "Things to exclude"
  },
  "control_strength": {
   "type": "number",
   "description": "Sketch adherence 0–1 (default 0.7)"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stability-ai-sketch-c770a16d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stability-ai.mpp.paywithlocus.com](https://www.zero.xyz/host/stability-ai.mpp.paywithlocus.com/llms.txt)
