Ae · Ace · Step
10.00积分/次
ae_ace_step
根据流派和风格标签创作音乐曲目,可选提供歌词和用于人声的歌曲段落。
10.00积分/次
价格说明
10.00积分/次
API 调用
通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。
cURL
curl --request POST \
--url 'https://api.agentearth.ai/v1/tools/run' \
--header 'Authorization: Bearer $AGENTEARTH_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"tool": "ae_ace_step",
"input": {
"seed": "xxx",
"tags": "xxx",
"lyrics": "xxx",
"duration": "60",
"scheduler": "euler",
"guidance_type": "apg",
"guidance_scale": "15",
"number_of_steps": "27",
"granularity_scale": "10",
"guidance_interval": "0.5",
"tag_guidance_scale": "5",
"lyric_guidance_scale": "1.5",
"minimum_guidance_scale": "3",
"guidance_interval_decay": "0"
}
}'- 请求方式
- POST
- 接口地址
- /v1/tools/run
- 鉴权方式
- Bearer Token
- 超时时间
- 60 秒
- 当前版本
- —
响应示例
{
"error_no": 0,
"error_msg": "",
"result": [
{
"type": "text",
"text": "xxx"
}
],
"platform_annotations": {
"source": "AgentEarth",
"platform_note": "xxx",
"platform_suggestion": "xxx"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
seed | integer | 否 | Random seed for reproducibility. If not provided, a random seed will be used. | — |
tags | string | 是 | Comma-separated list of genre tags to control the style of the generated audio. | — |
lyrics | string | 否 | 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. | — |
duration | number | 否 | The duration of the generated audio in seconds. | 60 |
scheduler | enum (euler | heun) | 否 | Scheduler to use for the generation process. | euler |
guidance_type | enum (cfg | apg | cfg_star) | 否 | Type of CFG to use for the generation process. | apg |
guidance_scale | number | 否 | Guidance scale for the generation. | 15 |
number_of_steps | integer | 否 | Number of steps to generate the audio. | 27 |
granularity_scale | integer | 否 | Granularity scale for the generation process. Higher values can reduce artifacts. | 10 |
guidance_interval | number | 否 | Guidance interval for the generation. 0.5 means only apply guidance in the middle steps (0.25 * infer_steps to 0.75 * infer_steps) | 0.5 |
tag_guidance_scale | number | 否 | Tag guidance scale for the generation. | 5 |
lyric_guidance_scale | number | 否 | Lyric guidance scale for the generation. | 1.5 |
minimum_guidance_scale | number | 否 | Minimum guidance scale for the generation after the decay. | 3 |
guidance_interval_decay | number | 否 | 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. | 0 |
