Stable Diffusion 3.5 Large API
by Stable Diffusion
Stability AI's highest-quality Stable Diffusion 3.5 model, an 8-billion-parameter MMDiT that excels at photorealism, typography, and prompt adherence.
- ~10s
- Avg. generation
- 8 credits
- From
stable-diffusion-3.5-large
Image model
Playground
Try Stable Diffusion 3.5 Large right here.
Your output lands here. Hit generate to run this request in Studio.
Pricing
Simple per-generation pricing.
8 credits per generation ≈ $0.08
- You only pay for successful generations. Failed jobs are refunded automatically.
- One credit balance across every model on Apiframe, no per-model plans.
- Start with free credits. No subscription required.
- Volume discounts on larger plans.
Specs
At a glance.
Quickstart
How to call the Stable Diffusion 3.5 Large API.
Send one POST /v2/images/generate request with your API key. The call returns a jobId you can poll, or pass a webhook_url and the result is pushed to you the moment it's ready.
Swap stable-diffusion-3.5-large for any other model and nothing else changes.
const response = await fetch("https://api.apiframe.ai/v2/images/generate", {
method: "POST",
headers: {
"X-API-Key": "afk_your_api_key_here",
"Content-Type": "application/json",
},
body: JSON.stringify({
"prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
"model": "stable-diffusion-3.5-large",
"stableDiffusionParams": {
"image": "https://example.com/input.jpg",
"prompt_strength": 0.85,
"negative_prompt": "What you do NOT want to see…",
"cfg": 3.5
}
}),
});
const { jobId } = await response.json();
console.log(jobId); Input schema
Every field Stable Diffusion 3.5 Large accepts, with types and defaults. The full reference lives in the docs.
| Field | Type | Description |
|---|---|---|
| prompt required | string | Text description of what to generate. |
| model required | string | The model identifier for this endpoint. Default:"stable-diffusion-3.5-large" · "stable-diffusion-3.5-large" |
| stableDiffusionParams.image | string (URL) | Optional image for image-to-image mode. Output matches its aspect ratio. |
| stableDiffusionParams.prompt_strength | number | Denoising strength for image-to-image (0–1). 1.0 ignores the input image. Default:0.85 · min 0, max 1, step 0.05 |
| stableDiffusionParams.negative_prompt | string | Negative prompt |
| stableDiffusionParams.cfg | number | How strictly to follow the prompt. Default:3.5 · min 0, max 20, step 0.1 |
| stableDiffusionParams.steps | number | Steps Default:28 · min 1, max 40, step 1 |
| stableDiffusionParams.output_format | string | Output format Default:"webp" · "webp", "jpg", "png" |
| stableDiffusionParams.output_quality | number | Output quality Default:90 · min 0, max 100, step 1 |
| stableDiffusionParams.seed | number | Reuse a number to reproduce the same result. step 1 |
Stable Diffusion versions
Every Stable Diffusion image model on Apiframe. Switch with one parameter.
Stable Diffusion 3.5 Large questions
What teams ask before shipping with Stable Diffusion 3.5 Large. Everything else lives in the docs.
What does Stable Diffusion 3.5 Large cost?
Pricing is flat: 8 credits per generated image, regardless of aspect ratio or steps.
How do I do image-to-image?
Pass stableDiffusionParams.image with an image URL. The output adopts that image’s aspect ratio, and prompt_strength (0–1) controls how much of the original is preserved.
Related models
All image modelsFlux 2 Max
by Black Forest Labs
Highest-quality Flux 2 tier.
View modelMidjourney
by Midjourney
Iconic stylised, cinematic look.
View modelNano Banana 2
by Google
Next-gen Nano Banana with refined detail.
View modelSeedream 5.0 Pro
by ByteDance
Flagship ByteDance model with sharp 1K/2K output and up to 10 reference images.
View model9,800+
developers & companies
Official partner of
Power your next AI product with Apiframe.
Instant access to 70+ media models through a single API. Start free and scale when you're ready.