All case studies
AI music · SaaS

AI-based web application for singing voice conversion

In today's fast-paced tech landscape, there's a growing demand for AI applications that can add value to daily activities. Recently, we worked on an AI-powered web application designed to let users convert their voices into different singers' vocals using AI-trained models. Our focus was on providing a seamless user experience, enabling easy access to and use of AI models through a responsive web interface. Additionally, the app required functionality for users to share songs on platforms like Spotify, allowing them to grow an audience and earn revenue. An on-demand GPU solution was implemented to ensure optimal performance, delivering a smooth and impactful user experience.

The Client

The client was a tech enthusiast couple who wanted to create a difference in the lives of daily users who want to create and improve their vocals using AI tuning in the best way possible. They have a deep passion for music and also like to sing indie songs which motivated them to build such an app where users can earn money based on their subscribers. The early deployment of the app helped the client to enjoy the first mover advantage with high network accessibility.

The Potential Challenges

The main potential challenge was to host the trained AI model on standard web servers, without causing any latency and inference issues. However, this was a difficult task to achieve as standard servers are not meant to host such heavy computations due to the inherent limitations.

Soon, during development it became quite evident that the model's performance was suboptimal due to insufficient computational resources. The limits of CPU processing were frequently being hit even with the simple matrix calculations for the neural network.

Performance Issues with AI Models on CPU Web Servers

  • Low Latency
  • Poor performance of AI model
  • Computationally extensive
  • Bandwidth bottlenecks
  • Parallel optimization
  • Bad user experience

Integration Complexity

Therefore, a need was identified for a hardware accelerator or GPU service to perform parallel processing while maintaining system latency and scalability. Acknowledging the challenges and limitations of hosting AI models on traditional web servers, comprehensive in-depth research was conducted on the optimization and intricacies of AI models on CPUs. The aim was to find a cost-effective and scalable solution that could handle peak loads without compromising performance.

Our Approach

First, we engaged in a detailed discussion with the client to fully understand their vision and requirements. Intensive research followed, focused on identifying the best practices for hosting AI models and optimizing performance. After careful consideration, we identified an on-demand GPU service as the optimal solution, providing the necessary computational power in a cost-effective manner.

With the client's approval of this approach, we moved forward with training and implementing the AI models on an on-demand GPU service architecture. These models were seamlessly integrated into the web interface, where all user interactions take place. We also conducted thorough testing to ensure system reliability and performance.

In addition to model training, delivering the project within a tight deadline with utmost accuracy was a primary focus. This required meticulous and synchronized planning to meet the client's needs efficiently.

Monetization Channel

A methodology has also been implemented to distribute users' songs to other platforms like SoundCloud, Spotify, and Amazon. With this feature, songs with licensed AI voices can be distributed by users to earn revenue from third-party platforms.

Integration of Payment System

Stripe was integrated into the website for payment processing, providing a secure and efficient way to handle transactions. This integration enables seamless financial operations while ensuring compliance with industry standards.

Design of Implementation

Project Outcomes

Through focused efforts, the project was delivered within the tight deadline and met all the features defined by the client. The following were implemented:

  1. On-demand GPU implementation for better response time
  2. Credit-based system with free initial credits and paid top-up options
  3. Songs sharing and monetization feature
  4. Stripe integration for payments
  5. Fast Conversion times
  6. Intuitive UI/UX

On CPU vs. with on-demand GPU

On CPUWith on-demand GPU
Size7.8 MB7.8 MB
Length03:2303:23
Conversion time7 minutes 11 seconds28 seconds

The development of the project ensured high accuracy and low latency of the AI model, leading to a seamless user experience. The figures stated by the client confirm that significant engagement and satisfaction were achieved by the project.

There's a version of this for your business. The call to find it is thirty minutes.

or email nabeel@endloop.co

Design of implementation. Frontend interface: users interact with the AI model through a web-based frontend. Backend integration: the frontend sends requests to the backend. On-demand GPU service: the AI model is loaded onto the on-demand GPU service, and computation is done there instead of on the server. Credit system: the system deducts credits from the user's account based on usage. Delivery of results: the processed results are sent back to the user through the frontend interface.