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

namestring required
descriptionstring
resolution'16x16' | '32x32' | '64x64' | '128x128' | '256x256' | '512x512'
artStyle'pixel_art' | 'cartoon' | 'anime' | 'hand_drawn' | 'chibi'
paletteobject

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.

referenceImageUrlstring

Example request

{
  "name": "My Fantasy RPG",
  "description": "Assets for my fantasy RPG game",
  "resolution": "128x128",
  "artStyle": "pixel_art",
  "viewAngle": "side_scroll",
  "pixelPerfect": "auto",
  "referenceImageUrl": "https://example.com/reference.png"
}

Response

Project created

Changes

No recorded changes to this operation across all 1 revision of this API.