---
name: "xpay-stability-ai-stability-ai-sdxl"
description: "SDXL — high-resolution image generation with fine-grained control"
version: "1.0.0"
price: "$0.01/call"
provider: "Stability AI"
---

# Stability Ai Sdxl

SDXL — high-resolution image generation with fine-grained control

**Provider:** Stability AI
**Price:** $0.01/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to sdxl — high-resolution image generation with fine-grained control. This is part of the Stability AI provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 0+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("stability-ai/stability_ai_sdxl")`
2. **`xpay_run`** — Execute: `xpay_run("stability-ai/stability_ai_sdxl", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `image` | string | No | Input image for img2img or inpaint mode |
| `replicate_weights` | string | No | Replicate LoRA weights to use. Leave blank to use the default weights. |
| `num_outputs` | integer | No | Number of images to output. |
| `apply_watermark` | boolean | No | Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking. |
| `seed` | integer | No | Random seed. Leave blank to randomize the seed |
| `prompt_strength` | number | No | Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image |
| `refine` | string | No | Which refine style to use |
| `scheduler` | string | No | scheduler |
| `disable_safety_checker` | boolean | No | Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety) |
| `high_noise_frac` | number | No | For expert_ensemble_refiner, the fraction of noise to use |
| `lora_scale` | number | No | LoRA additive scale. Only applicable on trained models. |
| `negative_prompt` | string | No | Input Negative Prompt |
| `guidance_scale` | number | No | Scale for classifier-free guidance |
| `width` | integer | No | Width of output image |
| `prompt` | string | No | Input prompt |
| `refine_steps` | integer | No | For base_image_refiner, the number of steps to refine, defaults to num_inference_steps |
| `mask` | string | No | Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted. |
| `height` | integer | No | Height of output image |
| `num_inference_steps` | integer | No | Number of denoising steps |

## Pricing

- **Cost:** $0.01/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Stability AI (all tools)](https://xpay.tools/skills/stability-ai/SKILL.md) — 1 tools


## Links

- Tool page: https://xpay.tools/stability-ai/stability-ai-sdxl/
- Provider: https://xpay.tools/stability-ai/
- All tools: https://xpay.tools/explore
