Mmaudio V2 Text To Audio
按实际用量计费
ae_mmaudio_v2_text_to_audio
根据文本提示创建音效、环境音或其他音频片段,最长30秒。
按实际用量计费
价格说明
单次费用为(较大值(1.2 × 生成音频时长(秒), 0))AE积分。各项条件同时适用,按所选条件计算合计费用。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
request_body | object | 是 | 暂无参数说明。 | — |
request_body.seed | integer | unknown | 否 | The seed for the random number generator | — |
request_body.prompt | string | 是 | The prompt to generate the audio for. | — |
request_body.duration | number | 否 | The duration of the audio to generate. | 8 |
request_body.num_steps | integer | 否 | The number of steps to generate the audio for. | 25 |
request_body.cfg_strength | number | 否 | The strength of Classifier Free Guidance. | 4.5 |
request_body.mask_away_clip | boolean | 否 | Whether to mask away the clip. | false |
request_body.negative_prompt | string | 否 | The negative prompt to generate the audio for. | "" |
调用示例
参数模板根据参数配置生成,使用前请替换示例值。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_mmaudio_v2_text_to_audio' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"prompt": "Indian holy music"
}
}
}'暂无返回示例。
使用该工具的指南
看看真实工作流里怎么用这个工具







