A Docker image for running ACE-Step 1.5's built-in API server with models pre-baked.
The fastest way to get started is to deploy the pre-built image 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
- 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
- Docker with NVIDIA Container Toolkit
- NVIDIA GPU with CUDA support
- HuggingFace token (for downloading gated models during build)
# 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 .docker compose up -dThe 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.mp3The 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.
See the ACE-Step API documentation for full details.
| Endpoint | Method | Description |
|---|---|---|
/health |
GET | Health check |
/v1/models |
GET | List available models |
/release_task |
POST | Create music generation task |
/query_result |
POST | Batch query task results |
/format_input |
POST | Format and enhance lyrics/caption via LLM |
/v1/audio |
GET | Download audio file |
| Variable | Default | Description |
|---|---|---|
ACESTEP_CONFIG_PATH |
/app/checkpoints/acestep-v15-base |
Full path to DiT model |
ACESTEP_LM_MODEL_PATH |
/app/checkpoints/acestep-5Hz-lm-1.7B |
Full path to LM model |
ACESTEP_OUTPUT_DIR |
/app/outputs |
Generated audio output directory |
ACESTEP_DEVICE |
cuda |
Device (cuda, cpu, mps) |
ACESTEP_LM_BACKEND |
pt |
LLM backend (vllm, pt) |
ACESTEP_API_HOST |
0.0.0.0 |
Server host |
ACESTEP_API_PORT |
8000 |
Server port |
See the ACE-Step 1.5 repository for license information.