Model Details
Stable Diffusion 3.5 Medium turns a text prompt into a high-quality image. It is Stability AI's efficient 2.5-billion-parameter Multimodal Diffusion Transformer (MMDiT-X), a smaller and faster sibling of the 8B Large model, tuned to run well on standard consumer hardware while keeping strong prompt understanding, accurate typography, and diverse visual styles from photorealism to illustration. Give it a descriptive prompt and pick an image size; it returns one generated image. Its standout strengths are speed and cost-efficiency at a low per-megapixel price, making it a strong default for high-volume or budget-sensitive text-to-image work.
## Best for - Fast, low-cost image generation at scale from a text description - Photorealistic scenes and portraits from a detailed prompt - Rendering legible text, signage, and typography inside an image - Concept art, illustration, and stylized renders across many aesthetics - Marketing visuals, product mockups, and social imagery from a prompt
## Choose another model when - You need the highest fidelity or the most complex multi-subject prompt adherence — use the 8-billion-parameter Stable Diffusion 3.5 Large - You want to edit, restyle, or inpaint an existing image rather than generate from scratch — use an image-editing model - You need to enlarge or add detail to an existing image — use an upscaling model - You need a video or animation — use a text-to-video model
## Tips - Be specific about subject, setting, lighting, and style; SD 3.5 Medium rewards detailed prompts - Raise `guidance_scale` (default 4.5) toward 5-7 for tighter prompt adherence; lower it for more creative latitude - Use `negative_prompt` to exclude unwanted elements (e.g. "blurry, extra fingers, watermark") - Set `image_size` to a preset ("square_hd", "portrait_16_9", "landscape_4_3", …) or pass a custom `{ width, height }` object - Leave `auto_fix` on (default) so custom `{ width, height }` dimensions are rounded to the nearest supported size instead of erroring
To run via the ModelRunner JavaScript client: ```js import { modelrunner } from "@modelrunner/client";
const result = await modelrunner.subscribe("stability-ai/stable-diffusion-v3.5-medium", { input: { prompt: "a serene mountain lake at golden hour, mist over the water, photorealistic", image_size: "landscape_4_3", num_inference_steps: 40, guidance_scale: 4.5, }, }); ```





