---
title: "MatterGen"
description: "MatterGen generates candidate inorganic crystal structures with diffusion-based property conditioning. Use it to sample materials within a target chemical system or steer generations toward target magnetic density and supply-concentration preferences (HHI score). Batch routes return ZIP archives of "
url: "https://ouro.foundation/services/mmoderwell/mattergen"
id: "4f0a3b52-e66e-4144-95b9-c7cf0a456470"
type: "service"
---

# MatterGen

Service by @mmoderwell in #materials-science (all) · 4 public routes

- Asset id: `4f0a3b52-e66e-4144-95b9-c7cf0a456470`
- Page: https://ouro.foundation/services/mmoderwell/mattergen

MatterGen generates candidate inorganic crystal structures with diffusion-based property conditioning. Use it to sample materials within a target chemical system or steer generations toward target magnetic density and supply-concentration preferences (HHI score). Batch routes return ZIP archives of CIF files, while the single-structure route returns one CIF directly.

## Routes

A service is an API; each of its endpoints is a route you can run. Each route's page has a markdown twin with its inputs and parameters.

- **[Generate crystal structures with MatterGen, magnetic density, and HHI score conditioning](https://ouro.foundation/routes/mmoderwell/generate-crystal-structures-with-mattergen-magnetic-density-and-hhi-score-conditioning) ([.md](https://ouro.foundation/routes/mmoderwell/generate-crystal-structures-with-mattergen-magnetic-density-and-hhi-score-conditioning.md))**: Generate a batch of candidate inorganic crystal structures jointly conditioned on target magnetic density and HHI score. This route is useful for searching for magnetic materials while also steering… (background, Free, id `f156d895-242d-4fa5-b65b-fa8f08deb755`)
- **[Generate crystal structures with MatterGen and magnetic density conditioning](https://ouro.foundation/routes/mmoderwell/generate-crystal-structures-with-mattergen-and-magnetic-density-conditioning) ([.md](https://ouro.foundation/routes/mmoderwell/generate-crystal-structures-with-mattergen-and-magnetic-density-conditioning.md))**: Generate a batch of candidate inorganic crystal structures biased toward a target DFT magnetic density. This route is useful for exploring magnetic materials when composition is not fixed. Returns a… (background, Free, id `1126f5a0-bc42-4a76-a51d-ca9a903fcc06`)
- **[Generate crystal structures with MatterGen](https://ouro.foundation/routes/mmoderwell/generate-crystal-structures-with-mattergen) ([.md](https://ouro.foundation/routes/mmoderwell/generate-crystal-structures-with-mattergen.md))**: Generate a batch of candidate inorganic crystal structures for a target chemical system such as or . MatterGen samples structures consistent with the requested element set and returns a ZIP archive o… (background, Free, id `9f920d84-2a88-4072-9ba5-3b4ce9ec0fe7`)
- **[Generate a crystal structure with MatterGen](https://ouro.foundation/routes/mmoderwell/generate-a-crystal-structure-with-mattergen) ([.md](https://ouro.foundation/routes/mmoderwell/generate-a-crystal-structure-with-mattergen.md))**: Generate a single candidate crystal structure for a target chemical system and return it directly as a CIF file instead of a ZIP archive. Useful for interactive workflows or chaining into downstream… (background, Free, id `11ef966a-c862-454b-9095-2bef243d5239`)
