/mattergen/generate
Generate crystal structures
Range: 1 to 64
Number of structures to generate in each batch
Chemical system to generate (e.g., 'Li-O' or 'Fe-Co-Ni')
Range: 0 to 10
Diffusion guidance factor. Higher values produce samples that better match the target property but may be less realistic.
const url = 'https://api.ouro.foundation/routes/mmoderwell/mattergen/generate';
const options = {
method: 'POST',
headers: {
'Authorization': 'ApiKey {your-ouro-api-key}',
'Content-Type': 'application/json'
}
};
const payload = {
"batch_size": 16,
"chemical_system": "example_string",
"guidance_factor": 2
};
options.body = JSON.stringify(payload);
fetch(url, options)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
Route views over time