Mmaudio V2 Text To Audio

按实际用量计费
ae_mmaudio_v2_text_to_audio

根据文本提示创建音效、环境音或其他音频片段,最长30秒。

音频
按实际用量计费

价格说明

单次费用为(较大值(1.2 × 生成音频时长(秒), 0))AE积分。各项条件同时适用,按所选条件计算合计费用。

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
request_bodyobject是暂无参数说明。—
request_body.seedinteger | unknown否The seed for the random number generator—
request_body.promptstring是The prompt to generate the audio for.—
request_body.durationnumber否The duration of the audio to generate.8
request_body.num_stepsinteger否The number of steps to generate the audio for.25
request_body.cfg_strengthnumber否The strength of Classifier Free Guidance.4.5
request_body.mask_away_clipboolean否Whether to mask away the clip.false
request_body.negative_promptstring否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"
    }
  }
}'

暂无返回示例。

使用该工具的指南

看看真实工作流里怎么用这个工具