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

ace modelsaudio generation api

ace/ace-step

Ace Step 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
Lyrics to be sung in the audio. If not provided or if [inst] or [instrumental] is the content of this field, no lyrics will be sung. Use control structures like [verse], [chorus] and [bridge] to control the structure of the song.
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.
010
Lyric guidance scale for the generation. Range: 0 to 10.
010
Tag guidance scale for the generation. Range: 0 to 10.
Type of CFG to use for the generation process. Allowed values: cfg, apg, cfg_star.
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.
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.
0200
Minimum guidance scale for the generation after the decay. Range: 0 to 200.
-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.
Comma-separated list of genre tags to control the style of the generated audio.
Idle

Example output — click Run to generate your own

API README

ACE-Step

ACE-Step generates complete music from tags and optional lyrics, combining composition, arrangement, vocals, and production into one text-guided audio workflow. It is designed for rapid song ideation across genres, moods, instrumentation, and vocal concepts rather than simple speech synthesis.

The route exposes duration, seed, scheduler, inference steps, and separate guidance controls for tags and lyrics. These controls let creators move between broad exploration and more deliberate reproduction while generating clips from five seconds up to four minutes.

Highlights

Full-song generation. Creates arranged music from style tags with optional lyrics and vocal content.

Long-form audio. Supports durations from 5 to 240 seconds for sketches, sections, or complete tracks.

Independent lyric and style guidance. Separate controls tune how strongly the output follows lyrical content and musical tags.

Reproducible generation. Seeds, schedulers, step counts, and guidance settings support controlled iteration.

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
}

Technical Specs

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

Related Models

Related Models