Welcome to the Text to Waveform API, a unique tool that allows you to convert any text (up to 100 characters) into a visual waveform representation. This API provides two endpoints for generating both linear and circular waveforms.
The first endpoint, /waveform, generates a linear waveform. This is a traditional representation of the audio signal, showing changes in amplitude over time. It's perfect for visualizing the rhythm and intensity of the spoken text.
The second endpoint, /circular_waveform, generates a circular waveform. This is a more artistic representation of the audio signal, wrapping the linear waveform around a circle. It's a great choice for creating visually striking images for album covers, social media posts, or any other application where you want to represent text in a unique and visually appealing way.
To use the API, simply send a POST request to the desired endpoint with the text you want to convert in the request body. The API will return a PNG image of the waveform.
Please note that the maximum length for the input text is 100 characters. This limit ensures that the generated waveforms are clear and readable.
Whether you're a musician looking for a unique way to visualize your lyrics, a podcaster wanting to create engaging visuals for your episodes, or a developer building a new audio-related application, the Text to Waveform API provides a simple and powerful way to transform text into visual art.