Stable Diffusion 3.5 Large

SD_3_5_LARGE

State-of-the-art text-to-image generation model with MMDiT architecture.

Image Generationtext-to-imagestable-diffusionsd3mmditFine-tunable
Stable Diffusion 3.5 Large: Image Generation model on Kainguru

About Stable Diffusion 3.5 Large

Stable Diffusion 3.5 Large — a state-of-the-art text-to-image generation model built on the MMDiT architecture. Takes a text prompt (with an optional negative prompt) and returns a single generated image, with controls for resolution, denoising steps, guidance strength, and seed.

Capabilities

  • Text-to-image generation — prompt describes the desired image, using an MMDiT diffusion architecture
  • Negative prompting — negative_prompt avoids unwanted elements
  • High-resolution output — configurable width / height up to 2048px
  • Guidance control — guidance_scale sets how strongly the image adheres to the prompt
  • Quality/speed tradeoff — num_inference_steps trades generation speed for image quality
  • Reproducible outputs — fix generation with seed

Stable Diffusion 3.5 Large inputs and output

NameTypeRequiredDefaultDetails
prompttextYes—Text description of the image to generate.
Min 1 characters
negative_prompttextNo—Text describing elements to avoid in the generated image.
widthintegerNo1024Image width in pixels.
512–2048
heightintegerNo1024Image height in pixels.
512–2048
num_inference_stepsintegerNo30Number of denoising steps. More steps yield higher quality at cost of speed.
1–100
guidance_scalenumberNo4.5How strongly the image should adhere to the prompt.
0–20
seedintegerNo—Random seed for reproducibility.

Output. Returns PNG image: Generated image file.

Run Stable Diffusion 3.5 Large with the API

Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.

cURL
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=SD_3_5_LARGE" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "A futuristic city at sunset, cinematic lighting, ultra-detailed, 8k, dramatic clouds, neon reflections on wet streets",
    "guidance_scale": 4.5,
    "height": 1024,
    "num_inference_steps": 30,
    "width": 1024
  },
  "outputFormat": "json"
}'

# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
  -H "X-API-Key: kg_your_api_key"
Python
from kainguru import KainguruClient

with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
    submitted = client.executions.execute(
        "SD_3_5_LARGE",
        {
          "prompt": "A futuristic city at sunset, cinematic lighting, ultra-detailed, 8k, dramatic clouds, neon reflections on wet streets",
          "guidance_scale": 4.5,
          "height": 1024,
          "num_inference_steps": 30,
          "width": 1024
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Fine-tune Stable Diffusion 3.5 Large

You can fine-tune Stable Diffusion 3.5 Large on your own data and run the tuned model through the same API. Dataset: Your training images (5-20 of one concept). Uploaded to S3 and passed to the trainer as a list of file URLs.

The steps are in the docs.

Stable Diffusion 3.5 Large pricing

Price per image: 1.019 credits ($0.01019). The price is shown again before every run; all prices are on the pricing page.

Licence and source

Z-Image-Turbo: Image Generation model on Kainguru
Image Generation

Z-Image-Turbo

Fast text-to-image with legible English and Chinese text rendered inside the picture.

Playground v2.5: Image Generation model on Kainguru
Image Generation

Playground v2.5

Aesthetics-tuned SDXL fine-tune for 1024px image generation.

Fine-tunable
SDXL 1.0 Base: Image Generation model on Kainguru
Image Generation

SDXL 1.0 Base

High-resolution text-to-image diffusion at 1024 px from the SDXL 1.0 base model.

Fine-tunable
ERNIE-Image: Image Generation model on Kainguru
Image Generation

ERNIE-Image

ERNIE-Image from Baidu: an 8B text-to-image model strong on posters, dense text and multi-panel layouts in English and…

Fine-tunable
GLM-Image: Image Generation model on Kainguru
Image Generation

GLM-Image

GLM-Image from Z.ai: a 16B model that plans the picture with a language model, then draws it with a diffusion decoder…

Fine-tunable
HiDream-O1-Image: Image Generation model on Kainguru
Image Generation

HiDream-O1-Image

HiDream-O1-Image from HiDream.ai: an 8B text-to-image model that paints directly in pixels, with no separate decoder…

Fine-tunable