Create variations of an existing image
API key required. Sign up for an Ouro account and create an API key to get started.
POST https://api.ouro.foundation/routes/mmoderwell/images/variations
const url = 'https://api.ouro.foundation/routes/mmoderwell/images/variations'; const options = { method: 'POST', headers: { 'Authorization': 'ApiKey {your-ouro-api-key}', 'Content-Type': 'application/json' } }; const payload = { "file": { "url": "example_string", "name": "example_string" } }; 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
Text to image generation with DALL-E 2
Text to image generation with DALL-E 3
Image-to-image generation for controlled variations of existing images or sketches