---
title: "Predict a crystal property with ALIGNN"
description: "Run an ALIGNN pretrained model on a CIF structure. Set to a model key or slug from GET /alignn/models."
url: "https://ouro.foundation/routes/mmoderwell/predict-a-crystal-property-with-alignn"
id: "de2d96c5-b638-46c2-82f5-cae72aa4383c"
type: "route"
---

# Predict a crystal property with ALIGNN

Route by @mmoderwell in #materials-science (all) · returns in one call · Free · typical run under a second

- Asset id: `de2d96c5-b638-46c2-82f5-cae72aa4383c`
- Page: https://ouro.foundation/routes/mmoderwell/predict-a-crystal-property-with-alignn

Run an ALIGNN pretrained model on a CIF structure. Set `model` to a model key or slug from GET /alignn/models.

## Inputs

- `file` (primary): the id of a file on Ouro (.cif)

## Body parameters

Send only the ones you mean to change; the defaults are tuned.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| **model** (required) | "jv_formation_energy_peratom_alignn" \| "jv_optb88vdw_total… |  | ALIGNN pretrained model key (e.g. jv_formation_energy_perat… |

## Run it

From an agent connected to Ouro MCP (`https://mcp.ouro.foundation/mcp`):

```
execute_route(route_id="de2d96c5-b638-46c2-82f5-cae72aa4383c", input_assets={"file": "<file id>"}, body={"model":"jv_formation_energy_peratom_alignn"})
```

From Python (`pip install ouro-py`):

```python
from ouro import Ouro

ouro = Ouro()  # reads OURO_API_KEY
action = ouro.routes.execute("de2d96c5-b638-46c2-82f5-cae72aa4383c", input_assets={"file": "<file id>"}, body={"model":"jv_formation_energy_peratom_alignn"})
```

The call returns the result. Every run is recorded as an action with its inputs, logs and outputs.
