Generate songs from an idea or custom lyrics and retrieve results using the original task ID. Discover models locally. Creation, upload, covers and mashups spend credits on your own Ace Data Cloud application.
ACE Music by Ace Data Cloud
Create music from a prompt or your own lyrics, cover or mash up audio, and retrieve the finished tracks.
- Open Ace Data Cloud Applications and copy an application API key with access to ACE Music.
- Install this server from LangBot Space. Paste the key into the private token field without the
Bearerprefix. LangBot supplies that prefix when it connects. - Enable the server for your agent. Run
acemusic_list_modelsto see the available music models. Retrieve a previous result withacemusic_get_taskand its original task ID.
Media generation uses Ace credits. View service pricing.
Submit one ACE Music task from an idea, targeting two song candidates. This is a paid generation. Save the returned task ID and use acemusic_get_task until the group reaches a terminal state. Never resubmit to check progress. A callback is optional; use a real webhook you control.
Parameters
{
"type": "object",
"title": "acemusic_generate_musicArguments",
"required": [
"prompt"
],
"properties": {
"model": {
"enum": [
"acemusic-v1.1",
"acemusic-v1"
],
"type": "string",
"title": "Model",
"default": "acemusic-v1.1"
},
"prompt": {
"type": "string",
"title": "Prompt",
"minLength": 1,
"description": "Describe the song theme and musical style."
},
"callback_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Callback Url",
"default": null
}
}
}Submit one paid ACE Music task using the user's lyrics and style. Lyrics are sent as the singular platform field lyric. This creates a new song group; it does not upload, cover, extend or separate existing audio.
Parameters
{
"type": "object",
"title": "acemusic_generate_custom_musicArguments",
"required": [
"lyric",
"style",
"title"
],
"properties": {
"lyric": {
"type": "string",
"title": "Lyric",
"minLength": 1,
"description": "Custom lyrics, optionally with [Verse]/[Chorus] sections."
},
"model": {
"enum": [
"acemusic-v1.1",
"acemusic-v1"
],
"type": "string",
"title": "Model",
"default": "acemusic-v1.1"
},
"style": {
"type": "string",
"title": "Style",
"minLength": 1,
"description": "Musical style, instruments, mood and vocal description."
},
"title": {
"type": "string",
"title": "Title",
"minLength": 1,
"description": "Title for the custom song."
},
"callback_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Callback Url",
"default": null
}
}
}Import one reference track as a separate priced operation. This does not create a cover automatically. An optional caller-owned platform audio_id anchors the import to that track for later reference use. Save task_id and query the original task until its single track succeeds.
Parameters
{
"type": "object",
"title": "acemusic_upload_audioArguments",
"required": [
"audio_url"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name",
"default": null
},
"audio_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Audio Id",
"default": null
},
"audio_url": {
"type": "string",
"title": "Audio Url",
"minLength": 1,
"description": "Public HTTPS URL of audio you own or may use."
},
"callback_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Callback Url",
"default": null
}
}
}Submit one paid cover task targeting two songs from an owned reference. Use a public audio ID returned by a successful task. Reference compatibility is checked by the service; do not upload again or generate a replacement on rejection. Save the original task_id and query it instead of resubmitting.
Parameters
{
"type": "object",
"title": "acemusic_cover_audioArguments",
"required": [
"audio_id",
"lyric",
"style"
],
"properties": {
"lyric": {
"type": "string",
"title": "Lyric",
"minLength": 1,
"description": "Lyrics for the new cover."
},
"model": {
"type": "string",
"const": "acemusic-v1.1",
"title": "Model",
"default": "acemusic-v1.1"
},
"style": {
"type": "string",
"title": "Style",
"minLength": 1,
"description": "Musical style for the new cover."
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title",
"default": null
},
"audio_id": {
"type": "string",
"title": "Audio Id",
"minLength": 1,
"description": "Successful caller-owned platform audio ID, not a task ID."
},
"callback_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Callback Url",
"default": null
},
"audio_influence": {
"type": "number",
"title": "Audio Influence",
"default": 60,
"maximum": 100,
"minimum": 1
}
}
}Submit one paid two-reference mashup task targeting two songs. Both public audio IDs must be caller-owned and compatible references. The service rejects incompatible sources; never substitute references or perform an extra paid upload automatically. Poll the returned task_id.
Parameters
{
"type": "object",
"title": "acemusic_mashup_audioArguments",
"required": [
"mashup_audio_ids",
"lyric",
"style"
],
"properties": {
"lyric": {
"type": "string",
"title": "Lyric",
"minLength": 1,
"description": "Lyrics for the new mashup."
},
"model": {
"type": "string",
"const": "acemusic-v1.1",
"title": "Model",
"default": "acemusic-v1.1"
},
"style": {
"type": "string",
"title": "Style",
"minLength": 1,
"description": "Musical style for the new mashup."
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title",
"default": null
},
"callback_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Callback Url",
"default": null
},
"audio_influence": {
"type": "number",
"title": "Audio Influence",
"default": 60,
"maximum": 100,
"minimum": 1
},
"mashup_audio_ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "Mashup Audio Ids",
"maxItems": 2,
"minItems": 2,
"description": "Exactly two distinct successful caller-owned platform audio IDs."
}
}
}List supported public ACE Music model IDs and the default.
Parameters
{
"type": "object",
"title": "acemusic_list_modelsArguments",
"properties": {}
}Describe supported workflows, fees and task recovery boundaries.
Parameters
{
"type": "object",
"title": "acemusic_get_capabilitiesArguments",
"properties": {}
}Generate a title and lyrics. This is a separately priced request. Show or edit the lyrics before a separate custom music generation. Do not call this implicitly when the user has already supplied complete lyrics.
Parameters
{
"type": "object",
"title": "acemusic_generate_lyricsArguments",
"required": [
"prompt"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": ""
},
"prompt": {
"type": "string",
"title": "Prompt",
"minLength": 1,
"description": "Theme and story for the lyrics."
}
}
}Retrieve your existing task and its song-group state without generating. Inspect the persisted response and group state. Partial failure is terminal: keep any successful audio and report the failed candidate. An audio URL by itself does not prove that the entire group has completed.
Parameters
{
"type": "object",
"title": "acemusic_get_taskArguments",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "string",
"title": "Task Id",
"minLength": 1,
"description": "The original platform task_id."
}
}
}Retrieve up to 50 original task IDs in one authenticated free request.
Parameters
{
"type": "object",
"title": "acemusic_get_tasks_batchArguments",
"required": [
"task_ids"
],
"properties": {
"task_ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "Task Ids",
"maxItems": 50,
"minItems": 1
}
}
}List the caller's ACE Music task history with bounded pagination.
Parameters
{
"type": "object",
"title": "acemusic_list_tasksArguments",
"properties": {
"page": {
"type": "integer",
"title": "Page",
"default": 1,
"minimum": 1
},
"page_size": {
"type": "integer",
"title": "Page Size",
"default": 20,
"maximum": 50,
"minimum": 1
}
}
}Use ACE Music by Ace Data Cloud in Feishu/Lark bots, DingTalk bots, WeCom bots, WeChat bots, QQ bots, Slack bots, Discord bots, Telegram bots, LINE Bots, and Matrix Bots.
Host your bot on LangBot Cloud and connect this extension to the collaboration platforms your team already uses.