{"enable_base64_output":false,"prompt":"The sun sets slowly over the sea level at Labrador Nature Reserve. The fiery sunset afterglow dyes the sky and sea red, while the silhouettes of the old fort and jetty appear especially solemn in the fading light. A wide-angle shot, capturing the vast scenery of the sea and sky as one. ","seed":-1,"size":"1024*1024"}
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' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"enable_base64_output": false,
"prompt": "The sun sets slowly over the sea level at Labrador Nature Reserve. The fiery sunset afterglow dyes the sky and sea red, while the silhouettes of the old fort and jetty appear especially solemn in the fading light. A wide-angle shot, capturing the vast scenery of the sea and sky as one. ",
"seed": -1,
"size": "1024*1024"
}'