Seedance 2.5 from ByteDance is officially available on Apiframe.
Image

Stable Diffusion 3.5 Medium API

by Stable Diffusion

A 2.5-billion-parameter Stable Diffusion 3.5 model balancing quality, speed, and efficiency, a great default for high-volume generation.

~7s
Avg. generation
4 credits
From

stable-diffusion-3.5-medium

Image model

A sleek silver sports car on a coastal highway at sunset, hyper-realistic, golden light.

Playground

Try Stable Diffusion 3.5 Medium right here.

model: stable-diffusion-3.5-medium
Media inputs
Advanced settings
Estimated cost 4 credits · $0.04 Generate in Studio
Output

Your output lands here. Hit generate to run this request in Studio.

Pricing

Simple per-generation pricing.

4 credits per generation ≈ $0.04

  • 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.
See plans and credit packs

Specs

At a glance.

Provider Stable Diffusion
Model ID stable-diffusion-3.5-medium
Aspect ratios 1:1, 16:9, 21:9, 3:2, 2:3, 4:5, 5:4, 9:16, 9:21
Image input Supported
Avg. time ~7s

Quickstart

How to call the Stable Diffusion 3.5 Medium 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-medium 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-medium",
    "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 Medium 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-medium" · "stable-diffusion-3.5-medium"
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 Medium questions

What teams ask before shipping with Stable Diffusion 3.5 Medium. Everything else lives in the docs.

What does Stable Diffusion 3.5 Medium cost?

Pricing is flat: 4 credits per generated image.

9,800+

developers & companies

4.8 on G2

Official partner of

BytePlus Alibaba Cloud MiniMax

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.