SandBase is live — $1 in free credits on signupStart free ›
Use in agentace models

ace modelsaudio generation api

ace/ace-step/prompt-to-audio

Ace Step Prompt To Audio by ace - generate music, sound effects, and audio from text descriptions with AI. Create original compositions, ambient sounds, and audio content for any creative project.

Input
Prompt to control the style of the generated audio. This will be used to generate tags and lyrics.
5240
The duration of the generated audio in seconds. Range: 5 to 240.
0200
Guidance scale for the generation. Range: 0 to 200.
Random seed for reproducibility. If not provided, a random seed will be used.
Type of CFG to use for the generation process. Allowed values: cfg, apg, cfg_star.
-100100
Granularity scale for the generation process. Higher values can reduce artifacts. Range: -100 to 100.
360
Number of steps to generate the audio. Range: 3 to 60.
010
Lyric guidance scale for the generation. Range: 0 to 10.
Whether to generate an instrumental version of the audio.
010
Tag guidance scale for the generation. Range: 0 to 10.
01
Guidance interval decay for the generation. Guidance scale will decay from guidance_scale to min_guidance_scale in the interval. 0.0 means no decay. Range: 0 to 1.
Scheduler to use for the generation process. Allowed values: euler, heun.
01
Guidance interval for the generation. 0.5 means only apply guidance in the middle steps (0.25 * infer_steps to 0.75 * infer_steps) Range: 0 to 1.
0200
Minimum guidance scale for the generation after the decay. Range: 0 to 200.
Idle

Example output — click Run to generate your own

API README

ACE-Step

ACE-Step Prompt-to-Audio turns a natural-language music brief into a generated track. The prompt can describe genre, instrumentation, tempo, mood, arrangement, and production character, allowing creators to begin with an idea rather than prepared lyrics or an existing recording.

The route can create instrumental music or let the model derive musical and lyrical direction from the prompt. Duration spans five seconds to four minutes, and seed, scheduler, inference steps, and guidance controls support repeatable exploration.

Highlights

Natural-language music creation. Translates a descriptive brief into an arranged audio track.

Instrumental option. Generates music without vocals when the project calls for a score, bed, or backing track.

Five seconds to four minutes. Covers stingers, loops, song sections, and longer-form ideas.

Tunable generation. Seed, scheduler, step count, and multiple guidance settings provide control beyond the prompt.

Pricing

Billing unitPrice
Per generated second$0.0002

When to Use

✅ Good fit❌ Consider alternatives
The model's named workflow matches the source material and intended outputA different input modality or model route is required
A managed asynchronous result is suitable for the production pipelineA synchronous, interactive editor is essential
The documented controls cover the required duration, framing, or formatThe project needs controls outside this endpoint's schema
Creative iteration benefits from a repeatable request structureExact deterministic pixels, frames, geometry, or samples are mandatory
A finished downloadable media asset is the desired deliverableEditable source layers or a native project file are required

Prompt Guide

For music generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.

{
  "duration": 60,
  "prompt": "A lofi hiphop song with a chill vibe about a sunny day on the boardwalk."
}

Technical Specs

SpecValue
Model IDace/ace-step/prompt-to-audio
Inputsduration, granularity_scale, guidance_interval, guidance_interval_decay, guidance_scale, guidance_type, instrumental, lyric_guidance_scale, minimum_guidance_scale, number_of_steps, prompt, scheduler, seed, tag_guidance_scale
Required inputsprompt
Output fieldscontent_type, url
ExecutionAsync (submit, then poll for result)

Related Models

Related Models