AI Music API
Home
Home
  1. sonic
  • Introduction
  • Credits Usage Guide
  • AI Music API FAQ & Troubleshooting
  • Special Scenarios
  • Error handling
  • Webhook Integration Guide
  • sonic
    • Sonic Instructions
    • create / extend / cover music
      POST
    • upload and extend music
      POST
    • upload and cover music
      POST
    • create persona
      POST
    • sample
      POST
    • mashup
      POST
    • get BPM
      POST
    • get VOX
      POST
    • get wav
      POST
    • get midi
      POST
    • get lyrics timeline
      POST
    • upsample tags
      POST
    • concat music
      POST
    • stems basic
      POST
    • stems full
      POST
    • remaster
      POST
    • replace section
      POST
    • add vocal
      POST
    • add instrumental
      POST
    • upload music
      POST
    • get music
      GET
  • riffusion(Deprecated)
    • Riffusion instructions
    • create music (with lyrics)
    • create music (with description)
    • cover music
    • extend music
    • replace music section
    • swap music sound
    • swap music vocals
    • upload
    • get music
  • producer
    • Producer Instructions
    • Complete Request Example
    • create music
    • upload
    • download
    • get music
  • nuro
    • Nuro Instruction
    • Error handling
    • create vocal music
    • create instrument music
    • get music
  • lyrics generation
    • Make Lyrics
  • get-credits
    GET
  • Schemas
    • 记录不存在
    • 参数不正确
Home
Home
  1. sonic

upsample tags

POST
https://api.aimusicapi.ai/api/v1/sonic/upsample-tags
Enhance and expand music style tags using AI. This endpoint takes simple tags and returns more detailed, professional music style descriptions that can improve music generation quality.
Credits cost: 1

Use Cases#

Improve generation quality: Convert simple tags like "pop" into richer descriptions
Discover related styles: Get suggestions for complementary music styles
Professional terminology: Transform casual descriptions into industry-standard terms

Example#

Input: "pop, happy"
Output: "upbeat pop, major key, bright synths, four-on-the-floor beat, catchy hooks, positive lyrics, radio-friendly, contemporary pop production"

Tips#

Start with basic genre and mood tags
The upsampled tags can be used directly in the create-music endpoint's tags field
Combine with your own tags for best results

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/json

Examples
{
    "tags": "pop"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'https://api.aimusicapi.ai/api/v1/sonic/upsample-tags' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "tags": "pop"
}'

Responses

🟢200OK
application/json
Success
Body

Example
{
    "code": 200,
    "message": "success",
    "data": {
        "upsampled_tags": "upbeat pop, major key, bright synthesizers, four-on-the-floor drum pattern, catchy melodic hooks, positive uplifting lyrics, radio-friendly production, contemporary pop sound, polished vocals"
    }
}
Modified at 2026-01-24 13:13:27
Previous
get lyrics timeline
Next
concat music
Built with