/chemeleon/generate/text
Generate crystal structures from text descriptions
Range: 1 to 40
Should be consistent with the stoichiometry of the composition provided
Range: 1 to 100
How many structures to generate
Text description of the crystal structure (e.g., 'A crystal structure of LiMnO4 with orthorhombic symmetry')
const url = 'https://api.ouro.foundation/routes/mmoderwell/chemeleon/generate/text'; const options = { method: 'POST', headers: { 'Authorization': 'ApiKey {your-ouro-api-key}', 'Content-Type': 'application/json' } }; const payload = { "n_atoms": 0, "n_samples": 4, "text_input": "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));
Route views over time