Stable Diffusion V35

stable-diffusion-v35-large-text-to-image

post

Stable Diffusion 3.5 Large is a Multimodal Diffusion Transformer (MMDiT) text-to-image model that features improved performance in image quality, typography, complex prompt understanding, and resource-efficiency.

Header parameters
AuthorizationstringRequiredExample: sk-kEEV5TfTCTpE4uFwUg9p8UhVyVWpC9IEgOVezQ4b1ZCWQFCV
Body
modelstringRequired

model is the model name

Example: stable-diffusion-v35-large-text-to-image
promptstringRequired

prompt is the prompt.

Example: A cute baby sea otter.
negative_promptstringOptional

The negative prompt to use. Use it to address details that you don't want in the image. This could be colors, objects, scenery and even the small details (e.g. moustache, blurry, low resolution). Default value: ""

Default: ""Example: low resolution, error, worst quality, low quality, defects
num_inference_stepsintegerOptional

The number of inference steps to perform. Default value: 28

guidance_scalenumberOptional

The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. Default value: 3.5

Default: 3.5Example: 3.5
enable_safety_checkerbooleanOptional

If set to true, the safety checker will be enabled. Default value: false

Default: false
nintegerOptional

n is the number of images to generate, default value is 1.

Default: 1Example: 1
output_formatstring · enumOptional

output_format indicate the output format, default value is url.

Default: urlExample: urlPossible values:
Responses
200Success
application/json
post
/v1/images/generations
POST /v1/images/generations HTTP/1.1
Host: image.onerouter.pro
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 304

{
  "model": "stable-diffusion-v35-large-text-to-image",
  "prompt": "A cute baby sea otter.",
  "negative_prompt": "low resolution, error, worst quality, low quality, defects",
  "num_inference_steps": 28,
  "guidance_scale": 3.5,
  "size": {
    "width": 1280,
    "height": 720
  },
  "enable_safety_checker": false,
  "n": 1,
  "output_format": "url"
}
200Success
{
  "data": [
    {
      "url": "https://resource.onerouter.pro/image/generated%2Fonerouter_e859bef5-acf1-45e8-a290-5b94a49a04c8.png",
      "b64_json": "",
      "revised_prompt": ""
    }
  ],
  "created": 1760503794
}