教程 / 实战普通
Designing a prompt builder for a text-to-music model: 500 characters, 4 instruments, and a lot of restraint
内容摘要
A text-to-music API gives you one string. Users give you 'make me a sad song'. Here's how we built a structured prompt builder that fits a 500-character budget — and why we cap instruments at four.