# SDXL LoRA - API, Playground & Pricing

> Run SDXL LoRA by Stability AI via API, Playground, or MCP from $3.00 per hour of run time - no provider API key needed. Stable Diffusion XL with LoRAs from a link: niche styles and characters on our GPUs.

Page: https://flymy.ai/models/sdxl-lora/

Models / Text to image

SDXL LoRA runs Stable Diffusion XL 1.0 on FlyMy.AI GPUs with LoRA adapters you link, for styles and characters the base model does not know. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Stability AI API key: runs are billed to your FlyMy.AI balance.

[▶ Try in Playground](https://app.flymy.ai/models/flymyai/sdxl-lora) [<> Get API](https://flymy.ai/models/sdxl-lora/#api)

**Provider**

[Stability AI](https://flymy.ai/models/provider/stability-ai/)

**Category**

[Text to image](https://flymy.ai/models/text-to-image/) / Text to image

**Price**

$3.00 / hr

**Returns**

`sample`

**Commercial use**

Allowed

**Model ID**

`flymyai/sdxl-lora`

![SDXL LoRA by Stability AI: text to image sample, custom-style images](https://flymy.ai/img/models/sdxl-lora.jpg)

SDXL LoRA sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use SDXL LoRA in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/models/sdxl-lora.md. Help me connect the FlyMy.AI MCP to this assistant, then run SDXL LoRA (flymyai/sdxl-lora) for this task: Generate a product photo of a glass perfume bottle on black volcanic sand with SDXL LoRA.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/models/sdxl-lora.md)

## What SDXL LoRA does

Pass loras as a JSON list of adapter links with weights, pick a checkpoint_name and a sampler, and set width and height up to 2048, steps, guidance_scale, a seed and up to four images per prompt. It runs on our own GPUs and is billed by run time.

## SDXL LoRA inputs

Every input of `flymyai/sdxl-lora` as its live schema lists them. Returns `sample` (file).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/models/sdxl-lora/#input-prompt) `prompt` | string required Default: `a Delorean on synthwave city` |
| [#](https://flymy.ai/models/sdxl-lora/#input-negative_prompt) `negative_prompt` | string optional Default: `dull colors` |
| [#](https://flymy.ai/models/sdxl-lora/#input-height) `height` | integer optional Allowed: 256 to 2048 Default: `1024` |
| [#](https://flymy.ai/models/sdxl-lora/#input-width) `width` | integer optional Allowed: 256 to 2048 Default: `1024` |
| [#](https://flymy.ai/models/sdxl-lora/#input-num_inference_steps) `num_inference_steps` | integer optional Allowed: 10 to 100 Default: `20` |
| [#](https://flymy.ai/models/sdxl-lora/#input-guidance_scale) `guidance_scale` | number optional Allowed: 0 to 10 Default: `7.5` |
| [#](https://flymy.ai/models/sdxl-lora/#input-seed) `seed` | integer optional Allowed: -999999999999999 to 999999999999999 Default: `1645` |
| [#](https://flymy.ai/models/sdxl-lora/#input-sampler) `sampler` | string optional Default: `Euler` |
| [#](https://flymy.ai/models/sdxl-lora/#input-loras) `loras` | string optional |
| [#](https://flymy.ai/models/sdxl-lora/#input-checkpoint_name) `checkpoint_name` | string optional Default: `Original` |
| [#](https://flymy.ai/models/sdxl-lora/#input-num_images_per_prompt) `num_images_per_prompt` | integer optional Allowed: 1 to 4 Default: `1` |

## Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

**“Generate a product photo of a glass perfume bottle on black volcanic sand with SDXL LoRA.”** runs `flymyai/sdxl-lora`

**“Make three versions of a poster for a summer music festival with SDXL LoRA in one run and send me the links.”** runs `flymyai/sdxl-lora`

**“Create a pencil sketch illustration of a paper airplane flying over a city at dusk with SDXL LoRA.”** runs `flymyai/sdxl-lora`

## SDXL LoRA price

$3.00 per hour of run time, billed per second. Billed per second of run time on L4, $3.00 an hour. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

[Every model's price →](https://flymy.ai/models/pricing/) [Usage pricing →](https://flymy.ai/pricing/)

## SDXL LoRA vs similar models

Popular text to image models beside it, with prices from billing and settings from each live schema.

| Model | Provider | Kind | Price | Default run | Sizes |
|---|---|---|---|---|---|
| **SDXL LoRA** | Stability AI | Text to image | $3.00 / hr | $3.00 / hr |  |
| [Nano Banana 2.1](https://flymy.ai/models/nano-banana-2-1/) | Google | Text and image to image | from $0.0336 / image | $0.0336 |  |
| [Seedream 5.0 Pro](https://flymy.ai/models/bytedance-seedream-5-0-pro/) | ByteDance | Text and image to image | from $0.045 / run | $0.09 | 11 sizes, up to 2048x2048 |
| [Seedream 5.5](https://flymy.ai/models/bytedance-seedream-5-5/) | ByteDance | Text and image to image | from $0.02 / run | $0.035 | 11 sizes, up to 2048x2048 |

## SDXL LoRA API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the `X-API-KEY` header; [get a key](https://app.flymy.ai/developers) in your account.

### cURL

Form fields, not JSON; files go as uploads or public URLs. The answer is a `prediction_id`; read the result at `https://api.flymy.ai/api/v1/flymyai/sdxl-lora/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/sdxl-lora/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=A ceramic mug on a sunlit kitchen counter, product photo'
```

### Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
response = fma.predict(
    model="flymyai/sdxl-lora",
    payload={
        "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
    },
)
print(response.output_data)
```

### JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  },
  "flymyai/sdxl-lora",
);
console.log(response.output_data);
```

### MCP

Your agent calls `get_model_schema`, then `run_model` with:

```
{
  "endpoint_id": "flymyai/sdxl-lora",
  "input": {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  }
}
```

## Questions about SDXL LoRA

**Do I need a Stability AI API key for SDXL LoRA?**

No. SDXL LoRA runs on FlyMy.AI GPUs, so you need no Stability AI key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does SDXL LoRA cost?**

$3.00 per hour of run time, billed per second. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

**Can I try SDXL LoRA before I write code?**

Yes. Open SDXL LoRA in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/sdxl-lora, fill in its inputs and run it; the same run is one API call later, billed the same way.

**How do I use SDXL LoRA in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Generate a product photo of a glass perfume bottle on black volcanic sand with SDXL LoRA." Your agent reads the inputs with get_model_schema and runs flymyai/sdxl-lora with run_model.

**What does SDXL LoRA need as input?**

SDXL LoRA requires prompt; it also takes 10 optional inputs, each listed on this page with its allowed values and default.

**Can I call SDXL LoRA from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/sdxl-lora/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

## More image generation models

Text to image: product shots, ads, posters, illustrations and editable vector graphics from a prompt, many with reference images.

### Nano Banana 2.1

Gemini's newest image model: 14 references, up to 4K, with adjustable thinking.

Text and image to image / from $0.0336 / image

Link: https://flymy.ai/models/nano-banana-2-1/

### Seedream 5.0 Pro

ByteDance's precise 5.0 tier for product shots and layouts, blending up to 10 reference images.

Text and image to image / from $0.045 / run

Link: https://flymy.ai/models/bytedance-seedream-5-0-pro/

### Seedream 5.5

ByteDance's newest Seedream: images and edits of up to 10 references that keep the rest steady.

Text and image to image / from $0.02 / run

Link: https://flymy.ai/models/bytedance-seedream-5-5/

### Nano Banana 2

Gemini 3.1 Image: up to 10 images per run at up to 4K, with optional web search.

Text and image to image / from $0.0672 / image

Link: https://flymy.ai/models/nano-banana-2/

### Nano Banana

The original Gemini 2.5 image model: quick drafts and conversational edits.

Text and image to image / $0.039 / run

Link: https://flymy.ai/models/nano-banana/

### Seedream 4.5

ByteDance's 4.5 release: keeps a product or face steady through edits, with up to 14 references.

Text and image to image / $0.04 / run

Link: https://flymy.ai/models/bytedance-seedream-4-5/

## Go to the source

[SDXL LoRA in the playground →](https://app.flymy.ai/models/flymyai/sdxl-lora), [Text to image models →](https://flymy.ai/models/text-to-image/), [Stability AI models →](https://flymy.ai/models/provider/stability-ai/), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/models/), [Model prices →](https://flymy.ai/models/pricing/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog)

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
