Ace Step Audio Outpaint
Playground
Try it on WavespeedAI!ACE-Step Audio Outpaint generates seamless start or end extensions that match the original, ideal for intros, outros and longer tracks. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
ace-step/audio-outpaint 🎵
ACE-Step Audio Outpaint is an intelligent music extension model from WaveSpeedAI that seamlessly expands existing audio tracks — adding new intros, outros, or transitions while keeping the same rhythm, tone, and emotion.
🌟 Key Features
-
🎧 Extend Before or After Add new audio segments before the beginning or after the end of your original clip.
-
🎶 Natural Transitions Newly generated audio blends smoothly with the existing material — no abrupt changes or mismatched tones.
-
🕒 Flexible Duration Extend by any length up to 4 minutes, perfect for building full-length versions or looping tracks.
-
🎼 Style & Theme Control Use tags (like lofi, hiphop, drum and bass, trap, chill) to define the musical direction of the extension.
-
🔁 Creative Consistency Keeps harmony, rhythm, and production style consistent with the original track.
⚙️ Parameters
| Parameter | Description |
|---|---|
| audio* | Upload or link to an existing audio file (MP3 / WAV). |
| tags* | Describe the desired genre or mood of the extended section. |
| extend_before_duration | Duration (in seconds) to generate before the start of the original audio. |
| extend_after_duration | Duration (in seconds) to generate after the end of the original audio. |
| lyrics | (Optional) Add or modify lyrics for the new section. |
| seed | Control randomness — use fixed seeds for reproducibility, -1 for variation. |
💡 Use Cases
- 🎵 Add custom intros — Build a thematic or ambient start for your track.
- 🎚 Create extended mixes — Add smooth endings or looping sections for DJ sets.
- 🎧 Lengthen instrumentals — Extend beats or melodic sections for performance or remixing.
- 🎬 Audio production & film — Stretch soundscapes and background tracks for cinematic timing.
💰 Pricing
| Metric | Price |
|---|---|
| Per second of generated audio | $0.0002 / s |
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/audio-outpaint" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"extend_before_duration": 0,
"extend_after_duration": 30,
"lyrics": "",
"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
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| audio | string | Yes | - | - | Audio file to transcribe. Provide an HTTPS URL or upload a file (MP3, WAV, FLAC up to 60 minutes). |
| tags | string | Yes | - | - | Comma-separated list of genre tags to control the style. |
| extend_before_duration | number | No | - | 0 ~ 240 | Duration to extend from the start in seconds. |
| extend_after_duration | number | No | 30 | 0 ~ 240 | Duration to extend from the end in seconds. |
| lyrics | string | No | - | - | Vocal content for generation. Use [inst] or [instrumental] for no vocals. |
| seed | integer | No | -1 | -1 ~ 2147483647 | The random seed for reproducibility. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |