Explore/muapi.ai/suno-extend-music

muapi/suno-extend-music

Text to Audio

This API extends audio tracks while preserving the original style of the audio track. It includes Suno's upload functionality, allowing users to upload audio files for processing. The expected result is a longer track that seamlessly continues the input style.

Input

Configure the model parameters below.

Drag & drop, paste file/image, or paste a link

Enable custom mode for advanced settings.

Enable this option to generate music without prompt. If false prompt will used as the exact lyrics.

Result

📝

Overview

About this model

Suno-Extend-Music is an advanced API solution designed specifically for extending audio tracks while maintaining the original style and integrity of the music. Leveraging cutting-edge AI models, this tool seamlessly continues your audio tracks by analyzing the provided sample and generating additional segments that are stylistically coherent. With integration of Suno's upload functionality, users simply provide a URL to their audio file and receive a perfectly matched extension in return.

This model capitalizes on state-of-the-art deep learning architectures that prioritize style consistency and audio quality. It offers a flexible configuration through various parameters—such as style specification, vocal gender preferences, and even instrumentals—to deliver results that are both precise and creatively inspired. The ability to control timing and extend tracks exactly where needed gives musicians, content creators, and developers a unique advantage in producing polished, professional, and longer audio tracks effortlessly.

1Extending background music for podcasts or videos
2Creating continuous audio tracks for relaxation or meditation playlists
3Enhancing live performances with seamless music transitions
4Generating custom soundtracks for independent films or games
5Producing longer instrumental pieces for advertising or social media
💰

Pricing & Value

Cost analysis

muapiapp$0.09 per generation

muapiapp is 20-50% more affordable than its competitors while providing superior quality and consistency in audio track extensions.

Fal.ai$0.12 per generation

Fal.ai's pricing is slightly higher, making muapiapp about 25% cheaper without compromising on performance or output quality.

Replicate$0.12 per generation

Similar to Fal.ai, Replicate offers competitive pricing, but muapiapp stands out as 20-50% more cost-effective with equally impressive results.

* Competitor pricing is estimated based on similar model architectures and usage tiers.

⚙️

Technical Details

Configuration schema

Promptstring

A description of the desired audio content. The prompt will be strictly used as the lyrics and sung in the generated track. Maximum 3000 characters

Default ValueExtend the music with more relaxing notes
Audio URLstring

The URL for uploading audio files. Ensure the uploaded audio does not exceed 2 minutes in length.

Default Valuehttps://d3adwkbyhxyrtq.cloudfront.net/audios/186/755853337445/example.mp3
Stylestring

Music style specification for the generated audio.

Default ValueClassical
Custom Modeboolean

Enable custom mode for advanced settings.

Default Valuetrue
Titlestring

Title for the generated music track (optional).

Default Value-
Instrumentalboolean

Enable this option to generate music without prompt. If false prompt will used as the exact lyrics.

Default Valuetrue
ModelEnum (7 options)

The AI model version to use for generation.

Default ValueV5
Continue Atint

The time point (in seconds) from which to start extending the music. Value range: greater than 0 and less than the total duration of the uploaded audio. Specifies the position in the original track where the extension should begin.

Default Value1
Persona IDstring

Persona ID or custom voice ID to apply to the generated music (optional). Pair with persona_model to disambiguate.

Default Value-
Persona ModelEnum (2 options)

What kind of persona_id this is. Set to voice_persona when persona_id is a cloned voice ID from suno-voice-clone. Requires model V5 or V5_5.

Default Value-
Negative Tagsstring

Music styles or traits to exclude from the generated audio (optional). Use to avoid specific styles.

Default Valuenull
Vocal GenderEnum (2 options)

Vocal gender preference for the singing voice (optional).

Default Valuemale
Style Weightint

Strength of adherence to the specified style (optional). Range 0–1, up to 2 decimal places.

Default Value0.65
Weirdness Constraintint

Controls experimental/creative deviation (optional). Range 0–1, up to 2 decimal places.

Default Value0.65
Audio Weightint

Balance weight for audio features vs. other factors (optional). Range 0–1, up to 2 decimal places.

Default Value0.65
📖

Implementation Guide

Developer documentation

How to Use Suno-Extend-Music

  1. Prepare Your Audio

    • Ensure your audio file is less than 2 minutes and available via a public URL.
    • Decide on the exact point (in seconds) where you want the extension to begin.
  2. Define Your Input Parameters

    • Prompt: Provide a description or lyrics that will guide the generation (up to 3000 characters).
    • Audio URL: Supply the direct link to your audio file.
    • Style: Specify the desired music style (e.g., Classical, Jazz, Electronic).
    • Optionally, set additional parameters such as "instrumental", "continue_at", "negative_tags", and others for fine-tuning.
  3. Submit Your Request

    • Call the suno-extend-music endpoint with the prepared JSON payload.
    • The API will process your audio and generate the extended track.
  4. Interpreting Results

    • The returned JSON object contains the key audio with a URL to your extended audio track.
    • Listen to the output and verify that the extended segment matches the desired style and tone.
  5. Iterate if Needed

    • If the result needs further adjustments, modify your input parameters (e.g., style weight, weirdness constraint) and resubmit the request.

Common Questions

Frequently asked

What file formats are supported for the audio upload?

The API accepts standard audio file formats such as MP3. Ensure that the file is accessible via a URL and does not exceed 2 minutes in duration.

How does Suno-Extend-Music maintain the original style of the audio?

The underlying AI models analyze the characteristics of your uploaded audio and replicate its style using advanced algorithms that balance the prompt inputs and existing audio features. Parameters such as style_weight and audio_weight help guide this process.

Can I control the start point for the audio extension?

Yes, you can specify the 'continue_at' parameter in seconds. This parameter determines the point in the original track where the extension should begin.

Is it possible to generate instrumental music only?

Absolutely. By setting the 'instrumental' parameter to true, the API will generate music without vocals, using the provided prompt as guidance for the overall mood and style.