Ace Step Audio Outpaint
Playground
Try it on WavespeedAI!ACE-Step Audio Outpaint extends the beginning or end of provided audio with new content while maintaining consistency with the original. Perfect for extending tracks, adding intros, outros, or creating longer versions of existing songs seamlessly.
Features
ACE-Step: Audio Outpaint (Extend)
ACE-Step Audio Outpaint extends audio at the beginning or end while maintaining consistency.
Key Features
- Extend Before: Add new content before the original audio starts.
- Extend After: Add new content after the original audio ends.
- Seamless Transitions: Extended sections blend naturally with the original.
- Flexible Duration: Extend by any duration up to 4 minutes.
Use Cases
- Add an intro to an existing track
- Create an outro or fade-out section
- Extend a song to make it longer
- Create extended versions for DJ sets or radio play
Pricing
$0.0002 per second of generated audio.
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 |