---
title: "Create a new project"
method: POST
path: "/v1/projects"
tags: ["Projects"]
---

# Create a new project

`POST /v1/projects`

## Request

- Base URL: `https://api.sprixen.com`
- URL: `https://api.sprixen.com/v1/projects`
- Auth: `bearer` (a scheme the document does not define)

## Request body

- CreateProjectDto
  - `name` string, required
  - `description` string
  - `resolution` '16x16' | '32x32' | '64x64' | '128x128' | '256x256' | '512x512'
  - `artStyle` 'pixel_art' | 'cartoon' | 'anime' | 'hand_drawn' | 'chibi'
  - `palette` object: Custom color palette — array of hex color strings (e.g. ["#FF5733","#2ECC71"]) or a preset name string (e.g. "nes")
  - `viewAngle` 'side_scroll' | 'top_down' | 'isometric' | 'front_facing'
  - `pixelPerfect` 'auto' | 'on' | 'off': Pixel Perfect resize mode. "auto" (recommended) picks the right algorithm based on artStyle + resolution. "on" forces crispy nearest-neighbor (retro pixel art, Gungeon/NES style). "off" forces smooth Lanczos (cartoon, anime, higher-res art). Nearest-neighbor is NOT universally better - it destroys fine detail at higher resolutions.
  - `referenceImageUrl` string

## Response `201`

Project created

---

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