How an AI music generator works
Whether you call it a music AI generator or an AI music generator, a text-to-music model learns how descriptions relate to recorded sound. Given your words, it generates the audio directly: the arrangement, the performance, the mix and, on singing models, a vocal line with lyrics.
That is why the description matters so much. The model only knows what you tell it, so vague prompts get generic music and specific prompts get specific music.