{
 "openapi": "3.0.3",
 "info": {
  "title": "Songs with vocals (commercial): ACE-Step 1.5 XL Turbo + 5Hz LM 1.7B",
  "version": "2026-11-21",
  "description": "Curated ZeroGPU tool from the ZeroGPU lineup catalog. Calls go straight to the upstream Space Upsampler/music; send your own HF token as a bearer token so the call uses your ZeroGPU quota."
 },
 "servers": [
  {
   "url": "https://upsampler-music.hf.space"
  }
 ],
 "x-zerogpu": {
  "category": "Music and sound",
  "slot": "Songs with vocals",
  "need": "Turn \"write me a song about X\" into a finished, sung track.",
  "role": "commercial",
  "space": "Upsampler/music",
  "space_url": "https://huggingface.co/spaces/Upsampler/music",
  "model": "ACE-Step 1.5 XL Turbo + 5Hz LM 1.7B",
  "license": "MIT",
  "license_class": "open",
  "gpu_seconds_booked": "13\u201395",
  "notes": "One MIT-licensed call from a one-line brief to a sung song up to 4 minutes: ACE-Step's LM writes lyrics and arrangement when none are given, and returns the lyrics it sang. Cheap 8-step turbo DiT with no usage analytics, so it replaces HeartMuLa as the commercial pick on ergonomics.",
  "caveats": "No independent quality evidence: ACE-Step is not on the AA music arena, where MiniMax Music 3 is the open leader. New, no likes, no MCP tag. Upsampler runs it as the free lane of 3dvalley.com. Books 10 s + 0.33 s per second of music (+6 s when writing lyrics).",
  "lineup_call": "/music(prompt (\u22641000 chars), lyrics=\"\" (\u22644000 chars; empty = the LM writes them), seconds=30 (10\u2013240), instrumental=false, seed=-1) \u2192 MP3, seed, caption and lyrics used",
  "api_style": "v1"
 },
 "components": {
  "securitySchemes": {
   "hfToken": {
    "type": "http",
    "scheme": "bearer",
    "description": "Your own Hugging Face token (read scope is enough). It is sent only to the upstream Space and bills that call to your account's ZeroGPU quota. Without it the call runs on the small anonymous quota."
   }
  },
  "schemas": {}
 },
 "paths": {
  "/gradio_api/call/music": {
   "post": {
    "description": "Turn \"write me a song about X\" into a finished, sung track. Step 1 of 2: returns {\"event_id\"}; then GET /gradio_api/call/music/{event_id} reads an SSE stream whose `event: complete` data is the JSON output array (`event: error` on failure). Upstream: https://huggingface.co/spaces/Upsampler/music. License: MIT. Caveats: No independent quality evidence: ACE-Step is not on the AA music arena, where MiniMax Music 3 is the open leader. New, no likes, no MCP tag. Upsampler runs it as the free lane of 3dvalley.com. Books 10 s + 0.33 s per second of music (+6 s when writing lyrics). \n\nUpstream description: \nReturns, in order: Music: filepath; Seed used: int; Caption and lyrics used: str",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "data"
        ],
        "properties": {
         "data": {
          "type": "array",
          "minItems": 2,
          "maxItems": 5,
          "items": {},
          "description": "Positional inputs, in this order:\n0. prompt: str (required)\n1. lyrics: str (required)\n2. seconds: float (default 30)\n3. instrumental: bool (default false)\n4. seed: int (default -1)"
         }
        }
       }
      }
     }
    },
    "x-gradio-parameters": [
     {
      "name": "prompt",
      "schema": {
       "type": "string"
      },
      "required": true,
      "default": null
     },
     {
      "name": "lyrics",
      "schema": {
       "type": "string"
      },
      "required": true,
      "default": null
     },
     {
      "name": "seconds",
      "schema": {
       "type": "number",
       "description": "numeric value between 10 and 240"
      },
      "required": false,
      "default": 30
     },
     {
      "name": "instrumental",
      "schema": {
       "type": "boolean"
      },
      "required": false,
      "default": false
     },
     {
      "name": "seed",
      "schema": {
       "type": "integer"
      },
      "required": false,
      "default": -1
     }
    ],
    "operationId": "music_songs_with_vocals_commercial",
    "tags": [
     "Music and sound"
    ],
    "security": [
     {
      "hfToken": []
     },
     {}
    ],
    "summary": "Songs with vocals (commercial): ACE-Step 1.5 XL Turbo + 5Hz LM 1.7B",
    "responses": {
     "200": {
      "description": "Job accepted.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "required": [
          "event_id"
         ],
         "properties": {
          "event_id": {
           "type": "string"
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/gradio_api/call/music/{event_id}": {
   "get": {
    "summary": "Read the result stream for /music",
    "description": "Server-sent events. The final `event: complete` carries a JSON array of outputs; `event: error` means the call failed.",
    "parameters": [
     {
      "name": "event_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "SSE stream",
      "content": {
       "text/event-stream": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    },
    "operationId": "music_songs_with_vocals_commercial_result",
    "tags": [
     "Music and sound"
    ],
    "security": [
     {
      "hfToken": []
     },
     {}
    ]
   }
  }
 }
}