Tile Packs — Custom Generation

Generate a custom AI tile

post/v1/tile-packs/generate

Request

  • Base URL: https://api.sprixen.com
  • URL: https://api.sprixen.com/v1/tile-packs/generate
  • Auth: bearer (a scheme the document does not define)

Request body

promptstring required

Prompt describing the tile texture. Max 6000 characters.

tileLabelstring

Display name for the tile

collision'walkable' | 'solid' | 'water'
projectionType'isometric' | 'top_down' | 'side_view'
category'terrain' | 'decoration' | 'entity'

Tile category — affects positioning rules for side-view tiles

footprintWnumber

Number of grid columns this tile occupies (multi-tile footprint width)

footprintHnumber

Number of grid rows this tile occupies (multi-tile footprint height)

webhookUrlstring

Optional webhook URL — receives a POST when tile generation completes or fails

flatOnlyboolean

If true, returns only the flat diamond top face without 3D side faces (isometric only)

Example request

{
  "webhookUrl": "https://your-server.com/webhooks/sprixen"
}

Response

Generation job queued

Changes

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