> For the complete documentation index, see [llms.txt](https://docs.muzaic.ai/muzaic-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.muzaic.ai/muzaic-api-docs/reference/api-reference/narrationtomuzaic.md).

# 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"}}}}}}}}}}}
```
