# AI Music Generator API Source: https://docs.topmediai.com/ai-music-generator AI Music Generator API: Seamless Integration for Instant Music Creation [Click here](https://www.topmediai.com/api/ai-music-generator-api/) for more details. Integrate our AI music API to generate high-quality music effortlessly. Perfect for video creation, games, and commercials. [Check out the pricing→](https://www.topmediai.com/api/ai-music-generator-api/purchase/) # AI Song Cover API Source: https://docs.topmediai.com/ai-song-cover Advanced and Stable AI Song Cover Generator API for Your Projects [Click here](https://www.topmediai.com/api/ai-song-cover-api/) for more details. TopMediai has built the fastest generative AI Song Cover Generator API, which can be easily used by businesses, developers, or hobbyists to serve their customers and perfect their projects. [Check out the pricing→](https://www.topmediai.com/api/ai-song-cover-api/purchase/) # Voice Changer API Source: https://docs.topmediai.com/ai-voice-change Transform Voices with Ease with Our Advanced Voice Changer API [Click here](https://www.topmediai.com/api/voice-changer-api/) for more details. Dive into a world of endless possibilities with our Voice Changer API. Seamlessly integrate our powerful technology into your applications. Elevate your projects to new heights with voice modulation today! [Check out the pricing→](https://www.topmediai.com/api/voice-changer-api/purchase/) # V1 Generate Lyrics Source: https://docs.topmediai.com/api-reference/ai-music-generator/v1-generate-lyrics https://api.topmediai.com/topmediai_api.json post /v1/lyrics Use your prompt to do a lyrics. # V1 Generate Music Source: https://docs.topmediai.com/api-reference/ai-music-generator/v1-generate-music https://api.topmediai.com/topmediai_api.json post /v1/music Use your lyrics or param to do a music and return the audio. # V2 Generate Music Source: https://docs.topmediai.com/api-reference/ai-music-generator/v2-generate-music https://api.topmediai.com/topmediai_api.json post /v2/submit Music generation task submission endpoints: 1. Make a request with the required parameters (parameters are described in detail in the schema below). 2. the endpoint will return the song information, including the song id and audio audition and image routing and task processing status (stream, error, complete). 3. Song id can query song information and generation status through the query interface. 4. In particular, do not use the V2 interface for arguments or responses in V1, it is just not allowed # V2 Get Music Task Details. Source: https://docs.topmediai.com/api-reference/ai-music-generator/v2-get-music-task-details https://api.topmediai.com/topmediai_api.json get /v2/query # V3 Convert to MP4 Format Source: https://docs.topmediai.com/api-reference/ai-music-generator/v3-convert-to-mp4-format https://api.topmediai.com/topmediai_api.json post /v3/music/generate-mp4 Convert an existing music track to high-quality MP4 format. # V3 Convert to WAV Format Source: https://docs.topmediai.com/api-reference/ai-music-generator/v3-convert-to-wav-format https://api.topmediai.com/topmediai_api.json post /v3/music/generate-wav Convert an existing music track to high-quality WAV format. # V3 Generate Music Source: https://docs.topmediai.com/api-reference/ai-music-generator/v3-generate-music https://api.topmediai.com/topmediai_api.json post /v3/music/generate Generate music with or without lyrics using AI models. # V3 Generate Singer Source: https://docs.topmediai.com/api-reference/ai-music-generator/v3-generate-singer https://api.topmediai.com/topmediai_api.json post /v3/music/generate-singer Create a song singer character, which can be used to specify the singer's voice quality when generating a song. # V3 Get Music Task Details. Source: https://docs.topmediai.com/api-reference/ai-music-generator/v3-get-music-task-details https://api.topmediai.com/topmediai_api.json get /v3/music/tasks Retrieve detailed information about a music generation task. # V1 Generate Singing Photo Maker Source: https://docs.topmediai.com/api-reference/ai-singing-photo-maker/v1-generate-singing-photo-maker https://api.topmediai.com/topmediai_api.json post /v1/singing/generate Synthesize audio files (songs/human voices) with photos to generate a lip-sync singing video. The system will automatically drive the mouth shapes, expressions and movements of the characters in the pictures based on the audio content, achieving a natural singing effect. # V1 Generate subtitles video Source: https://docs.topmediai.com/api-reference/ai-singing-photo-maker/v1-generate-subtitles-video https://api.topmediai.com/topmediai_api.json post /v1/singing/generate-subtitles-video Videos with special subtitles generated. # V1 Get Singing Task Details. Source: https://docs.topmediai.com/api-reference/ai-singing-photo-maker/v1-get-singing-task-details https://api.topmediai.com/topmediai_api.json get /v1/singing/tasks Retrieve detailed information about a singing generation task. # V1 Cover Singer Source: https://docs.topmediai.com/api-reference/ai-song-cover/v1-cover-singer https://api.topmediai.com/topmediai_api.json post /v1/cover Use your files or youtube links to do a cover and return the audio. # V1 Generate Custom Singer Source: https://docs.topmediai.com/api-reference/ai-song-cover/v1-generate-custom-singer https://api.topmediai.com/topmediai_api.json post /v1/cover/generate-custom-singer Multiple file urls were uploaded for model training, and the audio duration was required to be 5-45min # V1 Get Custom Singer Task Result. Source: https://docs.topmediai.com/api-reference/ai-song-cover/v1-get-custom-singer-task-result https://api.topmediai.com/topmediai_api.json get /v1/cover/generate-custom-singer/tasks Retrieve result information about a custom singer task. # V1 Get Custom Singers. Source: https://docs.topmediai.com/api-reference/ai-song-cover/v1-get-custom-singers https://api.topmediai.com/topmediai_api.json get /v1/cover/get-custom-singers Get the list of custom singer information. # V1 Get Singer List Source: https://docs.topmediai.com/api-reference/ai-song-cover/v1-get-singer-list https://api.topmediai.com/topmediai_api.json get /v1/singers Gets a list of all available singers for us. # V1 Regenerate Custom Singer Source: https://docs.topmediai.com/api-reference/ai-song-cover/v1-regenerate-custom-singer https://api.topmediai.com/topmediai_api.json post /v1/cover/regenerate-custom-singer/{singer_id} Retry failed tasks. # AI Voice Change Source: https://docs.topmediai.com/api-reference/ai-voice-change/ai-voice-change https://api.topmediai.com/topmediai_api.json post /v1/voice_change Use your files to do a voice change and return the audio. # Get VC Voices List Source: https://docs.topmediai.com/api-reference/ai-voice-change/get-vc-voices-list https://api.topmediai.com/topmediai_api.json get /v1/voices Gets a list of all available singers for us. # Clone Voice Source: https://docs.topmediai.com/api-reference/clone-voice/clone-voice https://api.topmediai.com/topmediai_api.json post /v1/clone Clone a new voice for yourself # Delete Clone Voice Source: https://docs.topmediai.com/api-reference/clone-voice/delete-clone-voice https://api.topmediai.com/topmediai_api.json delete /v1/clone_voice_del/{speaker} Delete a cloned voice by its speaker. # Get Clone Voices List Source: https://docs.topmediai.com/api-reference/clone-voice/get-clone-voices-list https://api.topmediai.com/topmediai_api.json get /v1/clone_voices_list Gets a list of all cloned voices for you # Set User Concurrent Source: https://docs.topmediai.com/api-reference/config/set-user-concurrent https://api.topmediai.com/topmediai_api.json post /v1/common/set-user-concurrent # Get Voice List Source: https://docs.topmediai.com/api-reference/text-to-speech/get-voice-list https://api.topmediai.com/topmediai_api.json get /v1/voices_list Gets a list of all available voices for us. # Text To Speech Source: https://docs.topmediai.com/api-reference/text-to-speech/text-to-speech https://api.topmediai.com/topmediai_api.json post /v1/text2speech Converts text into speech using a voice of your choice and returns audio. # Get Api Key Info Source: https://docs.topmediai.com/api-reference/x-api-key-info/get-api-key-info https://api.topmediai.com/topmediai_api.json get /v1/get_api_key_info Get the remaining rights and interests information of the current x-api-key. # null Source: https://docs.topmediai.com/changelog * Restructured the AI ​​Music API interface and adjusted the project architecture to optimize service stability and user experience. * Added V4.5/V4.5-plus models, bringing you richer music creation options. * Added practical functions: supports MP4 download, custom lyric creation, and reference audio upload, enriching your music creation scenarios. * AI Music API completed restructuring and project architecture adjustments, optimizing service stability and scalability. * Added practical functions: supports MP4 download, custom lyric creation, and reference audio upload, enriching music creation scenarios. * Optimized the AI ​​Cover API functionality and added custom model training capabilities. The information display on the purchase page was also upgraded, allowing you to better understand service details. * AI Cover API completed architecture adjustments and restructuring of the rights box, improving service performance and permission management experience. * Added custom model training function, supporting the creation of personalized cover styles. # Voice Cloning API Source: https://docs.topmediai.com/clone-voice Clone Any Voice in Multi-language Easily with Our Voice Cloning API [Click here](https://www.topmediai.com/api/voice-cloning-api/) for more details. Seamlessly recreate natural, high-quality voices for any application, from virtual assistants to dynamic audio narration. Elevate your content and captivate your audience with your custom voice. [Check out the pricing→](https://www.topmediai.com/api/voice-cloning-api/purchase/) # Introduction Source: https://docs.topmediai.com/introduction This is the documentation for the TopMediai API. You can use this API to use our service programmatically, this is done by using your x-api-key. You can get your x-api-key on [this page](https://www.topmediai.com/api/text-to-speech-api/). Our API is experimental so all endpoints are subject to change. More APIs are being planned, so stay tuned. TopMediai API Documentation | Innovative Solutions for Developers TopMediai API Documentation | Innovative Solutions for Developers ### What we will ensure you? At TopMediai, we are committed to empowering your creative and development processes with reliable, cutting-edge API solutions. Here's what we ensure: Our APIs are designed to integrate effortlessly with your existing systems, saving you time and effort. Comprehensive guides, examples, and support to help you get started quickly and confidently. Experience superior audio fidelity, realistic tts, voice cloning, AI song cover, and professional-grade AI-generated music. Whether you're a startup or an enterprise, our APIs can scale to meet your evolving needs. ### TopMediai's API FAQs If you cannot find an answer here, email [api@topmediai.com](mailto:api@topmediai.com) #### 1. Where to access the API key? > You can get your API key on the banner of our API product pages, for example on [https://www.topmediai.com/api/text-to-speech-api/](https://www.topmediai.com/api/text-to-speech-api/). And please note that, you should log in first to get the API key. #### 2. Are your API and online product the same? > No, Please note that the API cannot be applied to our online products.Their rights and interests are separate and cannot be shared. If you buy an API, please use it in the API. Similarly, if you buy an online product, use it in our online services. #### 3. What payment methods are supported? > We accept major mainstream payment methods. You can choose one at your convenience. PayPal, UnionPay, JCB, Diners Club, Discover, American Express, VISA/MasterCard, Alipay, etc. #### 4. Are all your API purchase packages monthly? > Yes, most of them are monthly plans. Please note that purchases will automatically renew in the next month. #### 5. Can I cancel the subscription after purchase? > Yes, you can cancel it anytime. Check [here](https://www.topmediai.com/cancel-subscription/) to read the guide. # TopMediai MCP Source: https://docs.topmediai.com/mcp-server Official Topmediai Model Context Protocol (MCP) server that enables interaction with powerful Text to music generation APIs. Topmediai Mcp Service Host: [https://mcp.topmediai.com](https://mcp.topmediai.com) ### Cursor Go to `Cursor` -> `Cursor Settings(Ctrl + Shift + J)` -> `Tools & MCP` -> `Add new MCP Server` to include the following: ```json theme={null} { "mcpServers": { "Topmediai": { "url": "https://mcp.topmediai.com/mcp", "headers": { "x-api-key": "insert-your-api-key-here" } } } } ``` ### Available Tools | tool | description | | ----------------- | --------------------------------------------------- | | `generate-lyrics` | Generate lyrics based on the description | | `generate-music` | Generate music based on descriptive words or lyrics | ### Example usage Warning: Using these tools may incur costs. #### 1. generate lyric TopMediai API Documentation | Innovative Solutions for Developers TopMediai API Documentation | Innovative Solutions for Developers ### 2. generate music TopMediai API Documentation | Innovative Solutions for Developers TopMediai API Documentation | Innovative Solutions for Developers Click on the audio and file links in the picture to download the corresponding songs and pictures. # null Source: https://docs.topmediai.com/services

AI Music API

AI-driven: Quickly generate music, lightweight and easy to use

Speech Synthesis API

Convert text into natural, expressive speech with multiple voice options and emotional tones.

AI Video API

Generate or edit videos with cinematic quality using AI-driven motion, style, and scene control.

AI Image API

Create high-quality, detailed images from text prompts or edit existing visuals with precision.

Singing Photo API

AI for static image lip-sync, natural lip movements

AI Cover API

High-fidelity AI song cover, massive models for choice

AI Video API

Generate or edit videos with cinematic quality using AI-driven motion, style, and scene control.

Singing Photo API

AI for static image lip-sync, natural lip movements

AI Music API

AI-driven: Quickly generate music, lightweight and easy to use

Speech Synthesis API

Convert text into natural, expressive speech with multiple voice options and emotional tones.

AI Cover API

High-fidelity AI song cover, massive models for choice

AI Image API

Create high-quality, detailed images from text prompts or edit existing visuals with precision.
# Text to Speech API Source: https://docs.topmediai.com/text-to-speech Powerful Text-to-Speech API | Transform Text into Realistic Voices Instantly [Click here](https://www.topmediai.com/api/text-to-speech-api/) for more details. With TopMediai's Text-to-Speech API, you can effortlessly integrate the ability to convert written text into expressive and lifelike speech into your applications, websites, and services. [Check out the pricing→](https://www.topmediai.com/api/text-to-speech-api/purchase/)