API key required. Sign up for an Ouro account and create an API key to get started.
/stable-image/control/sketch
Image-to-image generation for controlled variations of existing images or sketches
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.
A blurb of text describing what you do not wish to see in the output image.
Range: 0 to 1
How much influence, or control, the image has on the generation. Represented as a float between 0 and 1, where 0 is the least influence and 1 is the maximum.
const url = 'https://api.ouro.foundation/routes/mmoderwell/stable-image/control/sketch';
const options = {
method: 'POST',
headers: {
'Authorization': 'ApiKey {your-ouro-api-key}',
'Content-Type': 'application/json'
}
};
const payload = {
"file": {
"url": "example_string",
"type": "example_string",
"filename": "example_string"
},
"prompt": "example_string",
"control_strength": 0.7
};
options.body = JSON.stringify(payload);
fetch(url, options)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
Image-to-image generation for controlled variations of existing images or sketches
Discover other routes like this one
Text to image generation with Stable Diffusion 3.0
Text to image generation with Stable Image Ultra