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.
Ожидание
$0.0002за запуск·~5000 / $1
Extend your audio tracks seamlessly with AI-powered music generation. Upload any audio clip and let the model generate new content before or after it — perfectly matching the style, rhythm, and mood of your original track.
| Parameter | Required | Description |
|---|---|---|
| audio | Yes | Source audio file (upload or public URL). |
| tags | Yes | Comma-separated style tags to guide generation (e.g., "lofi, hiphop, chill, trap"). |
| extend_before_duration | No | Seconds to generate before the original audio. Default: 0. |
| extend_after_duration | No | Seconds to generate after the original audio. Default: 30. |
| lyrics | No | Optional lyrics to guide vocal generation in extended sections. |
| seed | No | Random seed for reproducibility. Use -1 for random. |
Per-second billing based on total output duration.
| Metric | Cost |
|---|---|
| Per second | $0.0002 |
Total cost = (original audio duration + extend_before_duration + extend_after_duration) × $0.0002
| Original | Extend Before | Extend After | Total Duration | Total Cost |
|---|---|---|---|---|
| 60s | 0s | 30s | 90s | $0.018 |
| 90s | 10s | 30s | 130s | $0.026 |
| 120s | 0s | 60s | 180s | $0.036 |
| 180s | 30s | 30s | 240s | $0.048 |
Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/wavespeed-ai/ace-step/audio-outpaint with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Ace Step Audio Outpaint below.
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/ace-step/audio-outpaint" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"audio": "https://example.com/your-audio.mp3",
"extend_before_duration": 0,
"extend_after_duration": 30,
"seed": -1
}'
# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# When status is "completed", read the output from data.outputs[0].// npm install wavespeed
const WaveSpeed = require('wavespeed');
const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env
const result = await client.run("wavespeed-ai/ace-step/audio-outpaint", {
"audio": "https://example.com/your-audio.mp3",
"extend_before_duration": 0,
"extend_after_duration": 30,
"seed": -1
});
console.log(result.outputs[0]); // → URL of the generated output# pip install wavespeed
import wavespeed
output = wavespeed.run(
"wavespeed-ai/ace-step/audio-outpaint",
{
"audio": "https://example.com/your-audio.mp3",
"extend_before_duration": 0,
"extend_after_duration": 30,
"seed": -1
}
)
print(output["outputs"][0]) # → URL of the generated outputAce Step Audio Outpaint is a WaveSpeedAI model for AI inference, exposed as a REST API 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. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/wavespeed-ai/ace-step-audio-outpaint.
Ace Step Audio Outpaint starts at $0.000 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `audio`, `seed`, `extend_after_duration`, `extend_before_duration`, `lyrics`, `tags`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/wavespeed-ai/ace-step-audio-outpaint.
Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.
Commercial usage rights depend on the model's license, set by its provider (WaveSpeedAI). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.