Stable Diffusion 3.5 Medium
stable-diffusion-3-5-medium2.5 billion parameter image model with improved MMDiT-X architecture
- Price
- US$0.042/image
- Aspect ratios
- 16:9, 1:1, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16, 9:21
- Input โ output
- Text โ Image
- Developer
- Stability AI
- Updated
- September 24, 2026
Playground
Try Stable Diffusion 3.5 Medium
Input & output
This run
US$0.042 ยท 4.2 credits
For accounts without a purchase: runs above 2 credits need a top-up.
New here?
10 free credits (US$0.10) when you sign up with Google
Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits.
Examples
Open full sizePrompt
a captivating anime-style illustration of a woman in a white astronaut suit. She has long, dark wavy hair. Surrounding the astronaut are vibrant orange flowers with yellow centers. The background itself is a mesmerizing night sky filled with countless stars
Settings
- aspect_ratio
- 1:1
Open full sizePrompt
a portrait of a man standing in front of a white wall. He is looking up towards something beyond the frame, fine art photography with dappled light
Settings
- aspect_ratio
- 1:1
Open full sizePrompt
A photo of beautiful flowery meadow, at sunset
Settings
- aspect_ratio
- 1:1
About Stable Diffusion 3.5 Medium
Stable Diffusion 3.5 Medium is a model by Stability AI in the Image generation category. On Railwail, Stable Diffusion 3.5 Medium costs US$0.042 per image. Supported aspect ratios: 16:9, 1:1, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16 and 9:21.
Pricing
| Per image | US$0.042 per image |
|---|
- 1 credit = US$0.01
Cost calculator
Price calculator
Total
US$4.20
420 credits
Per run
US$0.042 ยท 4.2 credits
Fixed price per run, known before the run starts.
API
curl https://railwail.com/api/v1/images/generations \
-H "Authorization: Bearer $RAILWAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "stable-diffusion-3-5-medium",
"prompt": "A lighthouse on a rocky coast at sunset, photorealistic"
}'import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["RAILWAIL_API_KEY"],
base_url="https://railwail.com/api/v1",
)
image = client.images.generate(
model="stable-diffusion-3-5-medium",
prompt="A lighthouse on a rocky coast at sunset, photorealistic",
)
print(image.data[0].url)import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.RAILWAIL_API_KEY,
baseURL: "https://railwail.com/api/v1",
});
const image = await client.images.generate({
model: "stable-diffusion-3-5-medium",
prompt: "A lighthouse on a rocky coast at sunset, photorealistic"
});
console.log(image.data[0].url);// npm install railwail
import railwail from "railwail";
const rw = railwail(process.env.RAILWAIL_API_KEY);
const res = await rw.image("stable-diffusion-3-5-medium", "A lighthouse on a rocky coast at sunset, photorealistic");
console.log(res.data[0].url);Specifications
- Model ID
stable-diffusion-3-5-medium- Developer
- Stability AI
- Category
- Image generation
- Input
- Text
- Output
- Image
- Aspect ratios
- 16:9, 1:1, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16, 9:21
- Billing
- Fixed price, known before the run
- Catalog entry updated
- September 24, 2026
Input parameters
Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.
promptrequiredType: TextDefault: โAllowed values: โaspectRatioType: ChoiceDefault: โAllowed values: 16:9, 1:1, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16 or 9:21
Tags
- replicate
- stability-ai
- text-to-image
Use cases
Frequently asked questions
What is Stable Diffusion 3.5 Medium?
Stable Diffusion 3.5 Medium is a model by Stability AI in the Image generation category. On Railwail you can call it with an API key through the Railwail API.
How much does Stable Diffusion 3.5 Medium cost on Railwail?
On Railwail, Stable Diffusion 3.5 Medium costs US$0.042 per image. The price is known before the run starts. Usage is paid from prepaid credits; 1 credit equals US$0.01.
Which settings does Stable Diffusion 3.5 Medium support?
According to its input schema, Stable Diffusion 3.5 Medium knows these parameters: prompt and aspectRatio (16:9, 1:1, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16 or 9:21).
How fast is Stable Diffusion 3.5 Medium?
There are not enough measured runs of Stable Diffusion 3.5 Medium on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.
Is Stable Diffusion 3.5 Medium better than FLUX 1.1 Pro?
That depends on the task. Stable Diffusion 3.5 Medium (Stability AI) and FLUX 1.1 Pro (Black Forest Labs) are both models in the Image generation category. The comparison page shows their prices and specifications side by side.
Compare Stable Diffusion 3.5 Medium and FLUX 1.1 ProHow do I use Stable Diffusion 3.5 Medium through the API?
Create a Railwail API key and send your request with the model ID stable-diffusion-3-5-medium. Code examples for curl, Python and JavaScript are in the API section of this page.
Comparable models
All in this category- FLUX 1.1 ProBlack Forest Labs
Black Forest Labs' flagship text-to-image model. Faster generation than FLUX.1 Pro at higher prompt adherence, with strong photorealism and reliable spatial composition. Runs as a hosted Replicate model.
- Flux 1.1 Pro UltraBlack Forest Labs
FLUX 1.1 Pro in ultra mode. Up to 4 megapixel images with raw mode for photorealism.
US$0.072/image
71 % more expensive per unit
Compare Stable Diffusion 3.5 Medium vs. Flux 1.1 Pro Ultra - Flux DevBlack Forest Labs
Black Forest Labs' development model. Fast, high-quality image generation with LoRA support.
Use Stable Diffusion 3.5 Medium via the API
One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = US$0.01.