Skip to main content

Get Job Status

GET /api/v1/music/jobs/{job_id}/status

Get the current status of a music generation job.
Response: Full MusicGenerationJob object (see response format).

List Jobs

GET /api/v1/music/jobs

List music generation jobs with filtering, search, and sorting.
Query Parameters: Response Headers:
  • X-Total-Count: Total number of matching records (for pagination)

Library categories

Every job belongs to exactly one of four categories, so song + instrumental + edits + scores always adds up to your whole library. The same rule drives song_type here, on /liked and /jobs/counts, and the counts in /filters/stats.
song used to mean “every text2music job”, and instrumental meant only prompt2instrumental. A text2music track generated as an instrumental is now in instrumental, rap tracks with vocals are in song, and edits and scores have their own categories. Filter by task to get the old task-only behaviour.

Delete Job

DELETE /api/v1/music/jobs/{job_id}

Delete a music generation job and its associated audio files.

Update Job Metadata

PATCH /api/v1/music/jobs/{job_id}

Update a job’s display name or thumbnail URL.
Request Body:

Retry Failed Job

POST /api/v1/music/jobs/{job_id}/retry

Retry a failed music generation job without consuming additional credits. The original credit reservation is reused.
Constraints:
  • Only works on jobs with status: "FAILED"
  • Original credit reservation is reused (no additional charge)
  • Returns a MusicGenerationResponse with the re-queued job
Rate limit: 10 requests per minute.

Job Counts

GET /api/v1/music/jobs/counts

Get aggregated counts of your music generation jobs, broken down by task type and song category.
Query Parameters: Response: by_song_type has one count per library category. songs + instrumental + edits + scores equals total; rap is the part of songs made with text2rap.

Liked Tracks

GET /api/v1/music/liked

Get all tracks you’ve liked.
Query Parameters:

Filter Statistics

GET /api/v1/music/filters/stats

Get statistics for building filter UI dropdowns — total tracks, liked count, task distribution, and available filter values.
Response: song_types counts each library category: songs + instrumental + edits + scores equals total_tracks, and each count matches what GET /api/v1/music/jobs?song_type=... returns (songs is the song filter). rap is the part of songs made with text2rap.

Genre Presets

GET /api/v1/music/presets

Get available genre presets with their pre-configured parameters.

Model Status

GET /api/v1/music/model/status

Get AudioMusic V2 model health and status information.

Sample Data

GET /api/v1/music/sample-data

Get sample/test data for development and testing purposes.