---
title: "Create Material"
method: POST
path: "/material"
---

# Create Material

`POST /material`

## Request

- Base URL: `https://api.iliad.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.iliad.ai/material`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Creates PBR material maps from a base image.

## Request body

- CreateMaterialRequest
  - `image` string, required
  - `custom_instructions` string, nullable

## Response `200`

Successful Response

- CreateMaterialResponse
  - `generation_id` string, required
  - `material` GeneratedMaterial, required
    - `generation_id` string, required
    - `user_id` string, required
    - `albedo` string, nullable, required
    - `normal` string, nullable, required
    - `height` string, nullable, required
    - `metallic` string, nullable, required
    - `roughness` string, nullable, required
    - `ambient_occlusion` string, nullable, required
    - `title` string, nullable, required
    - `custom_instructions` string, nullable, required
    - `created_at` string, date-time, required
    - `saved` boolean, required
    - `deleted` boolean, required
    - `downloaded` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/iliad/apis/iliad-api.md) - [All operations](https://skmtc.dev/iliad/apis/iliad-api/llms.txt) - [OpenAPI document](https://skmtc.dev/iliad/apis/iliad-api/revisions/a7c619f2643a?raw)
