# narrationToMuzaic

## Convert narration to Muzaic parameters

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

```json
{"openapi":"3.0.0","info":{"title":"Muzaic Core API","version":"1.0.0"},"tags":[{"name":"Narration","description":"Narration analysis and parameter extraction"}],"servers":[{"url":"https://m10.muzaic.ai","description":"Core API server"}],"security":[{"apiKeyAuth":[]}],"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"MuzaicAPI-Secret-Key"}}},"paths":{"/narrationToMuzaic":{"post":{"summary":"Convert narration to Muzaic parameters","description":"Analyzes narration text and returns predicted tags and parameters for music generation","tags":["Narration"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Narration text to analyze"}}}}}},"responses":{"200":{"description":"Narration analyzed successfully","content":{"application/json":{"schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"input_text":{"type":"string","description":"Original input text"},"tags_prediction":{"type":"array","description":"Predicted tags with confidence scores","items":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]}}},"tags":{"type":"array","items":{"type":"integer"},"description":"Array of tag IDs matching predicted tags"},"params_prediction":{"type":"object","description":"Predicted parameters with confidence scores","properties":{"intensity":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]}},"tempo":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]}}}},"params":{"type":"object","description":"Extracted parameter values","properties":{"intensity":{"type":"integer","minimum":1,"maximum":10},"tempo":{"type":"integer","minimum":1,"maximum":10},"tone":{"type":"integer","minimum":1,"maximum":10},"variance":{"type":"integer","minimum":1,"maximum":10},"rhythm":{"type":"integer","minimum":1,"maximum":10}}}}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Model server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.muzaic.ai/muzaic-api-docs/reference/api-reference/narrationtomuzaic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
