ACE-Step v1.5 XL Turbo — Text to audio API
Auray Serverless, text-to-audio. Credits per second of output (counted as duration*steps@8): 0.0036.
Endpoint: POST https://queue.auray.run/auray-serverless/ace-step-v1-5-xl-turbo
Endpoint ID: auray-serverless/ace-step-v1-5-xl-turbo
Usage notes
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@8): 0.0036. From 30 to 750 seconds of output a request. Plus 2.661969 credits when the request sends inputs.audio (counted as any:inputs.audio). An MP4 or MOV clip in inputs.audio that you uploaded through POST /v1/uploads, that one of your jobs made on a catalogue model or an auray-ai/ model, or that is a file of a Cinema Studio project you can open, is held for its own length instead, where its length can be read from the file: 0.008873 credits for each second it runs, rounded up to the next whole second, up to 300 seconds. Any other clip — a WebM, a file whose length cannot be read, a clip sent by any other link, or one that runs past 300 seconds — is refused before any charge. 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.
song— Songcover— Cover / remix: 1 trackaudio-edit— Repaint audio: 1 source fileextend-audio— Extend audio: 1 source file- Length: 30 to 120 seconds
- Prompt: up to 3,000 characters
- Lyrics: up to 3,000 characters
- Sound: makes its own sound
- Priced by:
second_out(the whole rule is under Price)
Find the addresses that do any of these with GET /v1/models?operation=<id>; the openapi.json carries them as data under x-auray-capability.
Quick start
curl -X POST https://queue.auray.run/auray-serverless/ace-step-v1-5-xl-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"
}'import { createClient } from "@auray/client";
const auray = createClient(); // reads AURAY_API_KEY
const result = await auray.subscribe("auray-serverless/ace-step-v1-5-xl-turbo", {
input: {
"positivePrompt": "a brass orrery on a walnut desk, morning light from a window to the left"
},
onQueueUpdate: (update) => console.log(update.status),
});
console.dir(result, { depth: null });from auray_client import Client
auray = Client() # reads AURAY_API_KEY
result = auray.subscribe(
"auray-serverless/ace-step-v1-5-xl-turbo",
input={
"positivePrompt": "a brass orrery on a walnut desk, morning light from a window to the left"
},
on_queue_update=lambda update: print(update["status"]),
)
print(result){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "run_model",
"arguments": {
"address": "auray-serverless/ace-step-v1-5-xl-turbo",
"input": {
"positivePrompt": "a brass orrery on a walnut desk, morning light from a window to the left"
}
}
}
}const res = await fetch("https://queue.auray.run/auray-serverless/ace-step-v1-5-xl-turbo", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AURAY_API_KEY}`,
"content-type": "application/json",
},
body: JSON.stringify({
"positivePrompt": "a brass orrery on a walnut desk, morning light from a window to the left"
}),
});
console.log(await res.json());import os, requests
r = requests.post(
"https://queue.auray.run/auray-serverless/ace-step-v1-5-xl-turbo",
headers={"Authorization": f"Bearer {os.environ['AURAY_API_KEY']}"},
json={
"positivePrompt": "a brass orrery on a walnut desk, morning light from a window to the left"
},
)
r.raise_for_status()
print(r.json())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.
Input schema
Show child attributes
Show child attributes
2, 3, 4, 6.unknown for instrumental or auto detection. One of "unknown", "ar", "az", "bg", "bn", "ca", "cs", "da" and 43 more
"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"Show child attributes
"URL"."MP3", "WAV", "FLAC", "OGG".Show child attributes
1, 2.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
outputFormatis one of "WAV", "FLAC", do not sendaudioSettings. - When
outputFormatis "MP3",audioSettings.sampleRatemust be one of 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000. WhenoutputFormatis "MP3", whenaudioSettings.sampleRateis one of 16000, 22050, 24000,audioSettings.bitratemust be between 8 and 160. WhenoutputFormatis "MP3", whenaudioSettings.sampleRateis one of 32000, 44100, 48000,audioSettings.bitratemust be between 32 and 320. WhenoutputFormatis "MP3", whenaudioSettings.sampleRateis one of 8000, 11025, 12000,audioSettings.bitratemust be between 8 and 64. - When
outputFormatis "OGG",audioSettings.sampleRatemust be one of 8000, 12000, 16000, 24000, 48000. WhenoutputFormatis "OGG", whenaudioSettings.sampleRateis 8000 andaudioSettings.channelsis 2,audioSettings.bitratemust be between 16 and 80. WhenoutputFormatis "OGG", whenaudioSettings.sampleRateis 12000 andaudioSettings.channelsis 1,audioSettings.bitratemust be between 16 and 48. WhenoutputFormatis "OGG", whenaudioSettings.sampleRateis 12000 andaudioSettings.channelsis 2,audioSettings.bitratemust be between 16 and 96. WhenoutputFormatis "OGG", whenaudioSettings.sampleRateis 16000 andaudioSettings.channelsis 1,audioSettings.bitratemust be between 16 and 96. WhenoutputFormatis "OGG", whenaudioSettings.sampleRateis 16000 andaudioSettings.channelsis 2,audioSettings.bitratemust be between 24 and 192. WhenoutputFormatis "OGG", whenaudioSettings.sampleRateis 24000 andaudioSettings.channelsis 1,audioSettings.bitratemust be between 16 and 80. WhenoutputFormatis "OGG", whenaudioSettings.sampleRateis 24000 andaudioSettings.channelsis 2,audioSettings.bitratemust be between 32 and 160. WhenoutputFormatis "OGG", whenaudioSettings.sampleRateis 48000 andaudioSettings.channelsis 1,audioSettings.bitratemust be between 32 and 224. WhenoutputFormatis "OGG", whenaudioSettings.sampleRateis 48000 andaudioSettings.channelsis 2,audioSettings.bitratemust be between 48 and 256. WhenoutputFormatis "OGG", whenaudioSettings.sampleRateis 8000 andaudioSettings.channelsis 1,audioSettings.bitratemust be between 8 and 40. - When
inputs.audiois sent, do not sendduration. - When
strengthis sent,inputs.audiois required. - When
settings.repaintingStartis sent orsettings.repaintingEndis sent,inputs.audiois required.
Machine contracts
- openapi.json — this page as an OpenAPI 3.1 document, public.
- llms.txt — the same, written for an agent.
Was this page helpful?