9mo
API key required. Sign up for an Ouro account and create an API key to get started.
POST 
/images/analyzeUse vision capabilities to understand images
Request body
file
objectRequiredurl
stringRequiredname
stringRequiredprompt
stringRequiredThe question or prompt about the image you want to analyze.
max_tokens
integerDefaults to 300The maximum number of tokens to generate in the response.
const url = 'https://api.ouro.foundation/routes/mmoderwell/images/analyze';
const options = {
  method: 'POST',
  headers: {
    'Authorization': 'ApiKey {your-ouro-api-key}',
    'Content-Type': 'application/json'
  }
};
 
const payload = {
  "file": {
    "url": "example_string",
    "name": "example_string"
  },
  "prompt": "example_string",
  "max_tokens": 300
};
options.body = JSON.stringify(payload);
 
fetch(url, options)
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));Use vision capabilities to understand images
 Loading compatible actions...
 Loading comments...