WaveSpeedAI APIWavespeed AIAce Step

Ace Step

Ace Step

Playground

Try it on WavespeedAI!

ACE-Step generates up to 4-minute music with lyrics from text and high acoustic fidelity; supports voice cloning, lyric edits, and remixing. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

ACE-Step — Text to Audio 🎵

ACE-Step Text-to-Audio is a next-generation AI music generation model that composes complete songs — including vocals, instrumentals, and lyrics — directly from text descriptions. It enables creators to produce professional-quality music up to 4 minutes long, from a simple prompt and a few style tags.


✨ Key Features

  • 🎶 Text-to-Music Generation Transform plain descriptions into coherent music tracks with melody, rhythm, and lyrics. Example: “A soulful R&B song with emotional vocals and smooth piano chords.”

  • 🎚 Style Tag Control Enter multiple tags such as lofi, hiphop, drum and bass, trap, chill to guide genre, tempo, and energy.

  • 🎤 Vocal & Lyric Creation Generates original vocals and synchronized lyrics that fit your prompt’s tone and rhythm.

  • 🪄 Voice Cloning & Remixing (Advanced) Optionally replicate vocal tone or remix existing musical ideas using the same control interface.

  • 🎧 Fine-Grained Acoustic Fidelity Maintains dynamic balance, spatial quality, and instrument clarity for professional-grade sound.

  • 🕒 Flexible Duration Adjustable from a few seconds to 4 minutes (240 seconds) — ideal for everything from jingles to full songs.


🎵 Use Cases

  • Music Production & Songwriting — Generate complete demos or backing tracks instantly.
  • Film, Game & Media Scoring — Create mood-specific tracks with precise control over emotion and pacing.
  • Advertising & Content Creation — Design catchy audio for short-form content or brand storytelling.
  • Education & Experimentation — Teach structure, genre, or lyric composition with immediate feedback.
  • Soundtrack Prototyping — Preview musical direction before full studio production.

⚙️ Parameters

ParameterDescription
tags*List of genres or styles (e.g., lofi, hiphop, drum and bass, chill)
lyrics(Optional) Provide custom lyrics or leave blank for auto-generated ones
durationMusic length in seconds (up to 240)
seedFix for reproducibility or randomize for new variations

💰 Pricing

MetricPrice
Per second of generated audio$0.0002 / s

🎶 Summary

ACE-Step Text-to-Audio empowers musicians, content creators, and storytellers to compose songs from words alone — blending lyrical intelligence, genre control, and acoustic quality into one seamless creative tool.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/ace-step" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "lyrics": "",
    "duration": 60,
    "seed": -1
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
tagsstringYes--Comma-separated list of genre tags to control the style of the generated audio.
lyricsstringNo--Vocal content for the track. Use [inst] or [instrumental] for no vocals.
durationnumberNo605 ~ 240Audio length in seconds.
seedintegerNo-1-1 ~ 2147483647The random seed for reproducibility.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

© 2025 WaveSpeedAI. All rights reserved.