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

# Create Material

`POST /material`

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/fastapi.md) · [All operations](https://skmtc.dev/iliad/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iliad/fastapi/revisions/c1701119b330/schema)
