Docs

Running a model

Auray ServerlessText to audio

ACE-Step v1.5 Turbo

Fast music generation optimized for speed with reduced inference steps

POSTauray-serverless/ace-step-v1-5-turbo
openapi.jsonllms.txt

One of Auray's catalogue models: the same key, the same credits, the same job lifecycle as every other address.

Its request shape is published below. Whether it runs right now is GET /v1/catalogue's word, with no key needed: its addresses say connected for an address that runs, and a submit to any other is refused before anything is charged — described answers 501 model_not_connected, paused 503 model_disabled.

Category text-to-audio · Scope audio:write (or external:write on an older key) · Price Credits per second of output (counted as duration*steps@10): 0.0013. From 60 to 600 seconds of output a request. A request that sends inputs.audio is refused before any charge: it has no price on this model. Quoted when you submit, at the most the request can cost; the charge settles to what the job cost and never above the quote. The submit's answer carries the quote as credits_quoted, and credits_charged says what has been taken.

#Input

FieldTypeRequiredDefaultDescription
inputsobjectno—
inputs.audiostringno—Audio input (an http(s) URL; upload a local file first and send its read URL). A URL.
positivePromptstringyes—Text prompt describing elements to include in the generated output. Documented range: 2 to 3,000 characters.
durationnumberno60Length of the generated audio track in seconds. Accepted range: 30 to 120. The maximum was measured on 2026-10-02: the model fails above it, so a larger value is refused before anything is charged.
seedintegerno—Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range. Documented range: 0 to 2,147,483,647.
stepsintegerno10Total number of denoising steps. Higher values generally produce more detailed results but take longer. Documented range: 1 to 20.
strengthnumberno0.5Fraction of steps using the input source instead of generated output. Documented range: 0 to 1.
settingsobjectno—
settings.bpmintegerno—Beats per minute. If not set, the model decides automatically. Documented range: 30 to 300.
settings.keyScalestringno—Musical key and scale in '{Note}{Accidental} {Mode}' format (e.g. 'C major', 'F# minor', 'Bb major').
settings.lyricsstringno—Song lyrics, typically formatted like a lyrics website. Documented range: 10 to 3,000 characters.
settings.repaintingEndnumberno—End time in seconds for repaint region. Requires input audio. Values beyond audio duration append new audio. Documented range: 0 to 300.
settings.repaintingStartnumberno—Start time in seconds for repaint region. Requires input audio. Negative values prepend audio before the start. Documented range: -300 to 300.
settings.timeSignatureintegerno—Beats per measure. If not set, the model decides automatically. One of 2, 3, 4, 6.
settings.vocalLanguagestringno"en"ISO 639-1 language code for vocals. unknown for instrumental or auto detection. One of "unknown", "ar", "az", "bg", "bn", "ca", "cs", "da", "de", "el", "en", "es", "fa", "fi", "fr", "he", "hi", "hr", "ht", "hu", "id", "is", "it", "ja", "ko", "la", "lt", "ms", "ne", "nl", "no", "pa", "pl", "pt", "ro", "ru", "sa", "sk", "sr", "sv", "sw", "ta", "te", "th", "tl", "tr", "uk", "ur", "vi", "yue", "zh".
outputTypestringno"URL"Audio output type. One of "URL".
outputFormatstringno"MP3"Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities. - `JPG`: Best for photorealistic images with smaller file sizes (no transparency). - `PNG`: Lossless compression, supports high quality and transparency (alpha channel). - `WEBP`: Modern format providing superior compression and transparency support. - `MP4`: Widely supported video container (H.264), recommended for general use. - `WEBM`: Optimized for web delivery. - `MOV`: QuickTime format, common in professional workflows (Apple ecosystem). - `GIF`: Animated image format (no audio), suitable for short loops or previews. - `MP3`: Compressed audio, smaller file size. - `WAV`: Uncompressed, high-quality audio. - `FLAC`: Lossless compression. - `OGG`: Open-source compressed audio format (Vorbis codec). - `SVG`: Scalable Vector Graphics. - `TIFF`: High-quality output supporting layers. - `GLB`: Binary glTF format for 3D models, including geometry, textures, and PBR materials. > [!NOTE] > **Transparency**: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., `PNG`, `WEBP`, `TIFF`). `JPG` does not support transparency. One of "MP3", "WAV", "FLAC", "OGG".
audioSettingsobjectno—
audioSettings.bitrateintegerno—Audio bitrate in kbps. Documented range: 8 or more.
audioSettings.channelsintegerno2Number of audio channels. 1 for mono, 2 for stereo. One of 1, 2.
audioSettings.sampleRateintegerno—Audio sample rate in Hz.
idempotency_keystringno—Your own name for this request. Send the same one twice and the second call is answered with the first request rather than charged again. Idempotency-Key: as a header is accepted as an alias — that is the spelling a retrying proxy replays, and the one to use when running a model on auray.run, where a request that outlives its connection is answered 504 and recovered by replay. Omit it and the platform mints one. 1 to 64 characters.

#Rules

Across fields, as the model's documentation states them. Each is judged before anything is charged — warned with a Deprecation header until enforcement starts — and listed as JSON Schema under x-auray-rules in the openapi.json.

  • When outputFormat is one of "WAV", "FLAC", do not send audioSettings.
  • When outputFormat is "MP3", audioSettings.sampleRate must be one of 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000. When outputFormat is "MP3", when audioSettings.sampleRate is one of 16000, 22050, 24000, audioSettings.bitrate must be between 8 and 160. When outputFormat is "MP3", when audioSettings.sampleRate is one of 32000, 44100, 48000, audioSettings.bitrate must be between 32 and 320. When outputFormat is "MP3", when audioSettings.sampleRate is one of 8000, 11025, 12000, audioSettings.bitrate must be between 8 and 64.
  • When outputFormat is "OGG", audioSettings.sampleRate must be one of 8000, 12000, 16000, 24000, 48000. When outputFormat is "OGG", when audioSettings.sampleRate is 8000 and audioSettings.channels is 2, audioSettings.bitrate must be between 16 and 80. When outputFormat is "OGG", when audioSettings.sampleRate is 12000 and audioSettings.channels is 1, audioSettings.bitrate must be between 16 and 48. When outputFormat is "OGG", when audioSettings.sampleRate is 12000 and audioSettings.channels is 2, audioSettings.bitrate must be between 16 and 96. When outputFormat is "OGG", when audioSettings.sampleRate is 16000 and audioSettings.channels is 1, audioSettings.bitrate must be between 16 and 96. When outputFormat is "OGG", when audioSettings.sampleRate is 16000 and audioSettings.channels is 2, audioSettings.bitrate must be between 24 and 192. When outputFormat is "OGG", when audioSettings.sampleRate is 24000 and audioSettings.channels is 1, audioSettings.bitrate must be between 16 and 80. When outputFormat is "OGG", when audioSettings.sampleRate is 24000 and audioSettings.channels is 2, audioSettings.bitrate must be between 32 and 160. When outputFormat is "OGG", when audioSettings.sampleRate is 48000 and audioSettings.channels is 1, audioSettings.bitrate must be between 32 and 224. When outputFormat is "OGG", when audioSettings.sampleRate is 48000 and audioSettings.channels is 2, audioSettings.bitrate must be between 48 and 256. When outputFormat is "OGG", when audioSettings.sampleRate is 8000 and audioSettings.channels is 1, audioSettings.bitrate must be between 8 and 40.
  • When inputs.audio is sent, do not send duration.
  • When strength is sent, inputs.audio is required.
  • When settings.repaintingStart is sent or settings.repaintingEnd is sent, inputs.audio is required.

#Example

curl -X POST https://queue.auray.run/auray-serverless/ace-step-v1-5-turbo \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "positivePrompt": "a brass orrery on a walnut desk, morning light from a window to the left"
}'

The same body on https://auray.run runs synchronously and answers the result — unless it usually takes longer than a run may hold its connection, which is refused 400 model_not_synchronous before anything is charged. Options — ?webhook=, ?wait=, priority and timeout headers — are on Submit a request.

#Machine contracts

  • openapi.json — this page as an OpenAPI 3.1 document, public.
  • llms.txt — the same, written for an agent.

Start typing to search every page of the documentation.

Up arrow Down arrow to moveEnter to openEscape to close