Cover / Style Transfer
POST /api/v1/music/cover
Transform existing audio while maintaining structure but changing style, timbre, and genre.
- Python
- Node.js
- cURL
Reference Audio
POST /api/v1/music/reference
Generate music guided by a reference audio’s acoustic features — timbre, mixing style, spatial characteristics, and overall atmosphere.
- Python
- Node.js
- cURL
Audio Analysis
POST /api/v1/music/analyze
Extract metadata from audio using AudioMusic V2. Returns caption, lyrics, BPM, key, time signature, duration, and language.
- Python
- Node.js
- cURL
Response:
Stem Extraction
POST /api/v1/music/extract-stem
Extract a specific instrument or vocal track from audio.
- Python
- Node.js
- cURL
Available Tracks:
Retake (Variations)
POST /api/v1/music/retake
Generate variations of an existing music track by re-running with different seeds.
- cURL
Rate limit: 10 requests per minute.
Repaint (Section Regeneration)
POST /api/v1/music/repaint
Regenerate a specific time segment of audio while keeping the rest intact. Useful for fixing problematic sections or changing lyrics in a segment.
- cURL
Note: Either
source_job_id or src_audio_url must be provided.
Rate limit: 3 requests per minute.
Extend
POST /api/v1/music/extend
Extend an existing music track by adding content at the beginning or end.
- cURL
Rate limit: 3 requests per minute.
Edit
POST /api/v1/music/edit
Edit existing audio with new prompts and lyrics while preserving the overall structure.
- cURL
Rate limit: 3 requests per minute.
LRC Timestamp Generation
POST /api/v1/music/{job_id}/lrc
Generate synchronized LRC (lyric) timestamps for a completed music job.
LRC generation requires internal tensors from the music generation process. For best results, enable
generate_lrc: true when creating the music generation request. This endpoint is for retroactive LRC generation which has limitations.- cURL
