Sprixen Tile Packs — Custom Generation API

The Tile Packs — Custom Generation API from Sprixen — 3 operation(s) for tile packs — custom generation.

GitHub OpenAPI

Operations 3

POST /v1/tile-packs/generate Generate a custom AI tile #
GET /v1/tile-packs/custom Get the current user's custom tile pack #
DELETE /v1/tile-packs/custom/{tileId} Delete a custom tile #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sprixen-com:sprixen-com-tile-packs-custom-generation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sprixen-com-tile-packs-custom-generation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sprixen Tile Packs — Custom Generation API
  description: Sprixen AI Game Asset Generator, REST API & MCP Server
  version: '1.0'
  contact: {}
servers:
- url: https://api.sprixen.com
  description: Production
- url: http://localhost:8080
  description: Local Development
tags:
- name: Tile Packs — Custom Generation
paths:
  /v1/tile-packs/generate:
    post:
      operationId: TileGenerationController_generate
      summary: Generate a custom AI tile
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCustomTileDto'
      responses:
        '201':
          description: Generation job queued
        '402':
          description: Credit limit reached or insufficient credits
      tags:
      - Tile Packs — Custom Generation
      security:
      - bearer: []
  /v1/tile-packs/custom:
    get:
      operationId: TileGenerationController_getCustomPack
      summary: Get the current user's custom tile pack
      parameters: []
      responses:
        '200':
          description: Custom tile pack returned
      tags:
      - Tile Packs — Custom Generation
      security:
      - bearer: []
  /v1/tile-packs/custom/{tileId}:
    delete:
      operationId: TileGenerationController_deleteCustomTile
      summary: Delete a custom tile
      parameters:
      - name: tileId
        required: true
        in: path
        description: ID of the TilePackTile to delete
        schema:
          type: string
      responses:
        '200':
          description: Tile deleted
        '403':
          description: Access denied
        '404':
          description: Tile not found
      tags:
      - Tile Packs — Custom Generation
      security:
      - bearer: []
components:
  schemas:
    CreateCustomTileDto:
      type: object
      properties:
        prompt:
          type: string
          description: Prompt describing the tile texture. Max 6000 characters.
          maxLength: 6000
        tileLabel:
          type: string
          description: Display name for the tile
          maxLength: 100
        collision:
          type: string
          enum:
          - walkable
          - solid
          - water
          default: walkable
        projectionType:
          type: string
          enum:
          - isometric
          - top_down
          - side_view
          default: isometric
        category:
          type: string
          enum:
          - terrain
          - decoration
          - entity
          default: terrain
          description: Tile category — affects positioning rules for side-view tiles
        footprintW:
          type: number
          description: Number of grid columns this tile occupies (multi-tile footprint width)
          minimum: 1
          maximum: 10
          default: 1
        footprintH:
          type: number
          description: Number of grid rows this tile occupies (multi-tile footprint height)
          minimum: 1
          maximum: 10
          default: 1
        webhookUrl:
          type: string
          description: Optional webhook URL — receives a POST when tile generation completes or fails
          example: https://your-server.com/webhooks/sprixen
        flatOnly:
          type: boolean
          description: If true, returns only the flat diamond top face without 3D side faces (isometric only)
          default: false
      required:
      - prompt
  securitySchemes:
    api-key:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Sprixen API key (spx_live_...)
      name: Authorization
      in: header
    cookie:
      type: apiKey
      in: cookie
      name: sprixen_session