ACE-Step 1.5 Docker Image

February 4, 2026 ยท View on GitHub

A Docker image for running ACE-Step 1.5's built-in API server with models pre-baked.

ValyrianTech Patreon

Deploy on RunPod

The fastest way to get started is to deploy the pre-built image on RunPod:

Deploy on RunPod

This template includes all models pre-loaded and is ready to use immediately. Once deployed:

  • REST API: https://<POD_ID>-8000.proxy.runpod.net

Features

  • ACE-Step's built-in API server with full feature set
  • Multi-stage Docker build with models baked in (~15GB image)
  • GPU support via NVIDIA CUDA 12.8 runtime
  • LLM-powered features: lyrics/caption formatting

Quick Start

Prerequisites

  • Docker with NVIDIA Container Toolkit
  • NVIDIA GPU with CUDA support
  • HuggingFace token (for downloading gated models during build)

1. Build the Docker Image

# Using the build script
python build_docker.py acestep-api --hf-token YOUR_HF_TOKEN --latest

# Or manually
docker build --build-arg HF_TOKEN=YOUR_HF_TOKEN -t acestep-api:latest .

2. Run with Docker Compose

docker compose up -d

The API will be available at http://localhost:8000.

The easiest way to generate music is using the included Python CLI script:

python generate_music.py \
  --api-url http://localhost:8000 \
  --caption "Upbeat indie pop with jangly guitars and energetic vocals" \
  --lyrics "[Verse 1]\nWalking down the street\nMusic in my feet\n\n[Chorus]\nWe are alive tonight" \
  --duration 90 \
  --output my_song.mp3

The CLI handles task submission, polling, and file download automatically. See python generate_music.py --help for all options, or check the API Usage Guide for detailed examples.

API Endpoints

See the ACE-Step API documentation for full details.

Core Endpoints

EndpointMethodDescription
/healthGETHealth check
/v1/modelsGETList available models
/release_taskPOSTCreate music generation task
/query_resultPOSTBatch query task results
/format_inputPOSTFormat and enhance lyrics/caption via LLM
/v1/audioGETDownload audio file

Environment Variables

VariableDefaultDescription
ACESTEP_CONFIG_PATH/app/checkpoints/acestep-v15-baseFull path to DiT model
ACESTEP_LM_MODEL_PATH/app/checkpoints/acestep-5Hz-lm-1.7BFull path to LM model
ACESTEP_OUTPUT_DIR/app/outputsGenerated audio output directory
ACESTEP_DEVICEcudaDevice (cuda, cpu, mps)
ACESTEP_LM_BACKENDptLLM backend (vllm, pt)
ACESTEP_API_HOST0.0.0.0Server host
ACESTEP_API_PORT8000Server port

License

See the ACE-Step 1.5 repository for license information.