A text-to-image model capable of generating high-resolution, detail-rich images. It supports multiple artistic styles and can produce diverse outputs from the same prompt, while focusing on reducing inference steps.
Request
Header Params
Body Params application/json
Example
{"aspect_ratio":"16:9","enable_base64_output":false,"prompt":"A young female mage with waist-length silver hair, speckled with tiny, glittering stars. She wears a deep blue velvet robe embroidered with golden moon phases and constellations. In her hand, she holds a staff made of white crystal, its tip levitating a small, softly glowing nebula. The background is an ancient library with towering bookshelves filled with magical tomes, and light filtering through stained-glass windows. --anime\n\n\n\n","seed":-1}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.302.ai/ws/api/v3/stability-ai/stable-diffusion-3.5-large-turbo' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"aspect_ratio": "16:9",
"enable_base64_output": false,
"prompt": "A young female mage with waist-length silver hair, speckled with tiny, glittering stars. She wears a deep blue velvet robe embroidered with golden moon phases and constellations. In her hand, she holds a staff made of white crystal, its tip levitating a small, softly glowing nebula. The background is an ancient library with towering bookshelves filled with magical tomes, and light filtering through stained-glass windows. --anime\n\n\n\n",
"seed": -1
}'