4mo
Service Documentation
Learn how to interact with Chemeleon using the Ouro SDK or REST API.
API access requires an API key. Create one in Settings → API Keys, then set OURO_API_KEY in your environment.
Getting Started
Use the Ouro SDK to retrieve service metadata and interact with the API programmatically.
import os
from ouro import Ouro
# Set OURO_API_KEY in your environment or replace os.environ.get("OURO_API_KEY")
ouro = Ouro(api_key=os.environ.get("OURO_API_KEY"))
service_id = "094f4480-02f2-48c4-98cd-cc2739a7079c"
# Retrieve service metadata
s = ouro.services.retrieve(service_id)
print(s.name, s.visibility)
# Optionally read the OpenAPI spec
spec = ouro.services.read_spec(service_id)
print(spec.get("openapi"))OpenAPI Specification
Download the complete OpenAPI spec for this service.
Available Endpoints
POST
/chemeleon/generateGenerate a crystal structure with Chemeleon
POST
/chemeleon/generate/textGenerate crystal structures from text descriptions
GET
/chemeleonWelcome
POST
/chemeleon/generate/compositionGenerate crystal structures for target compositions
Chemeleon
Version 1.0.0Chemeleon is a text-guided diffusion model for crystal structure generation. Generate structures from text descriptions, target compositions, or explore chemical systems.
Loading compatible actions...
Loading comments...