An image model with 2.5 billion parameters, utilizing an improved MMDiT-X architecture.
Request
Header Params
Body Params application/json
Example
{"aspect_ratio":"16:9","enable_base64_output":false,"prompt":"A tumultuous ocean violently crashing against black reefs as a storm approaches. The sky is filled with dark, heavy clouds, and a bolt of lightning tears across the sky, illuminating the churning waves. The painting is full of dramatic power and emotion, in the style of J.M.W. Turner, emphasizing the sublime and awesome power of nature. The oil paint texture is heavy, and the colors are deep and moody.\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-medium' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"aspect_ratio": "16:9",
"enable_base64_output": false,
"prompt": "A tumultuous ocean violently crashing against black reefs as a storm approaches. The sky is filled with dark, heavy clouds, and a bolt of lightning tears across the sky, illuminating the churning waves. The painting is full of dramatic power and emotion, in the style of J.M.W. Turner, emphasizing the sublime and awesome power of nature. The oil paint texture is heavy, and the colors are deep and moody.\n\n",
"seed": -1
}'