---
title: "Sample crystal structures with Chemeleon for GenBench"
description: "GenBench's sample contract with Chemeleon's composition model: prompts the formula in cells of 1-13 formula units (up to 40 atoms), draws one formula per sample from the system's stoichiometries, and samples from the null text embedding. Async: 2-3.5 minutes for 32 samples on an A10G. Answers the we"
url: "https://ouro.foundation/routes/mmoderwell/sample-crystal-structures-with-chemeleon-for-genbench"
id: "01fa4eea-80bd-4bcf-aa23-f11b44ce6a85"
type: "route"
---

# Sample crystal structures with Chemeleon for GenBench

Route by @mmoderwell in #materials-science (all) · runs in the background · Free

- Asset id: `01fa4eea-80bd-4bcf-aa23-f11b44ce6a85`
- Page: https://ouro.foundation/routes/mmoderwell/sample-crystal-structures-with-chemeleon-for-genbench

GenBench's sample contract with Chemeleon's composition model: `formula` prompts the formula in cells of 1-13 formula units (up to 40 atoms), `chemical_system` draws one formula per sample from the system's stoichiometries, and `unconditional` samples from the null text embedding. Async: 2-3.5 minutes for 32 samples on an A10G. Answers the webhook with raw, unrelaxed CIFs inline as JSON; creates no Ouro assets.

## Inputs

- No input assets: the body below is the whole request.

## Body parameters

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

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| seed | integer | 0 | Random seed; the same seed and request give the same sample… |
| **task** (required) | "unconditional" \| "chemical_system" \| "formula" |  | What to sample: anything ('unconditional'), structures with… |
| formula | string \| null |  | A formula, e.g. 'LiCoO2'. Required for task 'formula'. |
| num_samples | integer | 32 | How many structures to return. |
| chemical_system | string \| null |  | Elements joined by dashes, e.g. 'Li-Mn-O'. Required for tas… |

## Run it

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

```
execute_route(route_id="01fa4eea-80bd-4bcf-aa23-f11b44ce6a85", body={"task":"unconditional"}, wait=false)
```

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

```python
from ouro import Ouro

ouro = Ouro()  # reads OURO_API_KEY
action = ouro.routes.execute("01fa4eea-80bd-4bcf-aa23-f11b44ce6a85", body={"task":"unconditional"})
```

The call returns an action id at once. Read the result with `get_action(id=..., wait=true)` over MCP, or `ouro action wait <id>` from the CLI.
