For the complete documentation index, see llms.txt. This page is also available as Markdown.

narrationToMuzaic

Convert narration to Muzaic parameters

post

Analyzes narration text and returns predicted tags and parameters for music generation

Authorizations
MuzaicAPI-Secret-KeystringRequired
Body
textstringRequired

Narration text to analyze

Example: A happy, upbeat scene with children playing in the park
Responses
200

Narration analyzed successfully

application/json
apiVersionstringOptionalExample: 1.0.0
input_textstringOptional

Original input text

Example: A happy, upbeat scene with children playing in the park
tagsinteger[]Optional

Array of tag IDs matching predicted tags

Example: [1,2,3]
post/narrationToMuzaic
POST /narrationToMuzaic HTTP/1.1
Host: m10.muzaic.ai
MuzaicAPI-Secret-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 66

{
  "text": "A happy, upbeat scene with children playing in the park"
}
{
  "apiVersion": "1.0.0",
  "input_text": "A happy, upbeat scene with children playing in the park",
  "tags_prediction": [
    [
      "happy",
      0.85
    ],
    [
      "upbeat",
      0.78
    ],
    [
      "children",
      0.72
    ]
  ],
  "tags": [
    1,
    2,
    3
  ],
  "params_prediction": {
    "intensity": [
      "intensity_7",
      0.91
    ],
    "tempo": [
      "tempo_8",
      0.87
    ]
  },
  "params": {
    "intensity": 7,
    "tempo": 8,
    "tone": 5,
    "variance": 5,
    "rhythm": 5
  }
}

Last updated