Sprixen Music Studio API

The Music Studio API from Sprixen — 5 operation(s) for music studio.

GitHub OpenAPI

Operations 7

POST /v1/music Create a music track from text prompt #
GET /v1/music List current user's music tracks #
GET /v1/music/health/ace-step Check ACE-Step music server health #
GET /v1/music/{id} Get music track by ID (poll for status) #
DELETE /v1/music/{id} Soft-delete a music track #
GET /v1/music/{id}/download Get audio download URL for a completed track #

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-music-studio-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-music-studio-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sprixen Music Studio 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: Music Studio
paths:
  /v1/music:
    post:
      operationId: MusicGenerationController_create
      summary: Create a music track from text prompt
      description: 'Dispatches async job to ACE-Step GPU server. Cost: 3 credits. Optionally accepts a reference audio file for style/timbre guidance. Poll GET /music/:id for status. When status=completed, audioUrl holds the audio URL.'
      parameters: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CreateMusicDto'
          application/json:
            schema:
              $ref: '#/components/schemas/CreateMusicDto'
      responses:
        '201':
          description: Music job created (pending)
        '400':
          description: Invalid input or rate limit exceeded
        '402':
          description: Insufficient credits
      tags:
      - Music Studio
      security:
      - bearer: []
    get:
      operationId: MusicGenerationController_findAll
      summary: List current user's music tracks
      parameters:
      - name: limit
        required: false
        in: query
        schema:
          example: 20
          type: number
      - name: page
        required: false
        in: query
        schema:
          example: 1
          type: number
      responses:
        '200':
          description: Paginated music tracks list
      tags:
      - Music Studio
      security:
      - bearer: []
  /v1/music/health/ace-step:
    get:
      operationId: MusicGenerationController_aceStepHealth
      summary: Check ACE-Step music server health
      parameters: []
      responses:
        '200':
          description: ACE-Step server health status
      tags:
      - Music Studio
      security:
      - bearer: []
  /v1/music/gallery:
    get:
      operationId: MusicGenerationController_gallery
      summary: List gallery music tracks (public, no auth required)
      parameters:
      - name: category
        required: false
        in: query
        description: Filter by gallery category (e.g. dungeon, adventure, boss, ambient)
        schema:
          type: string
      - name: theme
        required: false
        in: query
        description: Filter by gallery theme (e.g. fantasy, scifi, horror, retro)
        schema:
          type: string
      responses:
        '200':
          description: Gallery music tracks list
      tags:
      - Music Studio
      security:
      - bearer: []
  /v1/music/{id}:
    get:
      operationId: MusicGenerationController_findOne
      summary: Get music track by ID (poll for status)
      parameters:
      - name: id
        required: true
        in: path
        description: MusicTrack ID
        schema:
          type: string
      responses:
        '200':
          description: Music track details
        '403':
          description: Access denied
        '404':
          description: Music track not found
      tags:
      - Music Studio
      security:
      - bearer: []
    delete:
      operationId: MusicGenerationController_remove
      summary: Soft-delete a music track
      parameters:
      - name: id
        required: true
        in: path
        description: MusicTrack ID
        schema:
          type: string
      responses:
        '200':
          description: Track deleted
        '403':
          description: Access denied
        '404':
          description: Music track not found
      tags:
      - Music Studio
      security:
      - bearer: []
  /v1/music/{id}/download:
    get:
      operationId: MusicGenerationController_download
      summary: Get audio download URL for a completed track
      parameters:
      - name: id
        required: true
        in: path
        description: MusicTrack ID
        schema:
          type: string
      responses:
        '200':
          description: Audio download URL
        '400':
          description: Track not yet completed
        '403':
          description: Access denied
        '404':
          description: Music track not found
      tags:
      - Music Studio
      security:
      - bearer: []
components:
  schemas:
    CreateMusicDto:
      type: object
      properties:
        prompt:
          type: string
          description: Text prompt describing the desired music
          example: Epic orchestral battle theme with dramatic strings and brass
          maxLength: 6000
        lyrics:
          type: string
          description: Lyrics for vocal generation. Use [Verse], [Chorus], [Bridge], [Instrumental Break] tags. Leave empty for instrumental.
          example: '[Verse]

            Walking through the neon lights

            [Chorus]

            We are the future now'
        vocalLanguage:
          type: string
          description: Vocal language ISO code (e.g. "en", "ja", "ko", "zh"). Only used when lyrics are provided.
          example: en
        presetSlug:
          type: string
          description: Preset slug (epic_orchestral, chiptune_adventure, etc.)
          example: epic_orchestral
        name:
          type: string
          description: Human-readable name for the track
          example: Battle Theme
        genre:
          type: string
          description: Desired genre tag
          example: orchestral
        bpm:
          type: number
          description: Beats per minute (60-200)
          example: 120
        key:
          type: string
          description: Musical key (e.g. "C minor", "F major")
          example: C minor
        duration:
          type: number
          description: Desired duration in seconds (15-300)
          example: 30
        quality:
          type: string
          description: 'Generation quality mode. Both run XL turbo (4B): "fast" = 8 steps (3 credits), "quality" = 16 steps (5 credits)'
          example: fast
      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