stabilityai/sd3.5 cover image
featured

stabilityai/sd3.5

At 8 billion parameters, with superior quality and prompt adherence, this base model is the most powerful in the Stable Diffusion family. This model is ideal for professional use cases at 1 megapixel resolution

At 8 billion parameters, with superior quality and prompt adherence, this base model is the most powerful in the Stable Diffusion family. This model is ideal for professional use cases at 1 megapixel resolution

Public
$0.06 / img
ProjectLicense

HTTP/cURL API

You can use cURL or any other http client to run inferences:

curl -X POST \
    -d '{"prompt": "A photo of an astronaut riding a horse on Mars.", "negative_prompt": ""}'  \
    -H "Authorization: bearer $DEEPINFRA_TOKEN"  \
    -H 'Content-Type: application/json'  \
    'https://api.deepinfra.com/v1/inference/stabilityai/sd3.5'

which will give you back something similar to:

{
  "images": [
    "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVQI12PQz3wAAAJDAXkkWn+MAAAAAElFTkSuQmCC"
  ],
  "nsfw_content_detected": [
    false
  ],
  "seed": 42,
  "request_id": null,
  "inference_status": {
    "status": "unknown",
    "runtime_ms": 0,
    "cost": 0.0,
    "tokens_generated": 0,
    "tokens_input": 0
  }
}

Input fields

promptstring

text prompt


negative_promptstring

negative text prompt


num_imagesinteger

number of images to generate

Default value: 1

Range: 1 ≤ num_images ≤ 4


num_inference_stepsinteger

number of denoising steps

Default value: 35

Range: 1 ≤ num_inference_steps ≤ 50


aspect_ratiostring

indirectly defines the width and height

Default value: "1:1"

Allowed values: 1:116:921:93:22:34:55:49:169:21


guidance_scalenumber

classifier-free guidance, higher means follow prompt more closely

Default value: 7

Range: 0 ≤ guidance_scale ≤ 20


seedinteger

random seed, empty means random

Range: 0 ≤ seed < 18446744073709552000


webhookfile

The webhook to call when inference is done, by default you will get the output in the response of your inference request

Input Schema

Output Schema