API key required. Sign up for an Ouro account and create an API key to get started.
/stable-image/generate/sd3
Text to image generation with Stable Diffusion 3.0
What you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.
1:1
16:9
21:9
2:3
3:2
4:5
5:4
9:16
9:21
Controls the aspect ratio of the generated image.
A blurb of text describing what you do not wish to see in the output image.
const url = 'https://api.ouro.foundation/routes/mmoderwell/stable-image/generate/sd3';
const options = {
method: 'POST',
headers: {
'Authorization': 'ApiKey {your-ouro-api-key}',
'Content-Type': 'application/json'
}
};
const payload = {
"prompt": "example_string",
"aspect_ratio": "1:1"
};
options.body = JSON.stringify(payload);
fetch(url, options)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
Discover other routes like this one