Mmaudio V2

Usage-based pricing
ae_mmaudio_v2

Generate prompt-guided sound effects or ambient audio synchronized to a video.

AudioVideo
Usage-based pricing

Pricing

The charge per call is (max(1.2 × Successfully generated audio duration (seconds), 0)) AE credits. All applicable conditions are combined to calculate the total.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.seedinteger | unknownNoThe seed for the random number generator—
request_body.promptstringYesThe prompt to generate the audio for.—
request_body.durationnumberNoThe duration of the audio to generate.8
request_body.num_stepsintegerNoThe number of steps to generate the audio for.25
request_body.video_urlstringYesThe URL of the video to generate the audio for.—
request_body.cfg_strengthnumberNoThe strength of Classifier Free Guidance.4.5
request_body.mask_away_clipbooleanNoWhether to mask away the clip.false
request_body.negative_promptstringNoThe negative prompt to generate the audio for.""

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_mmaudio_v2' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "prompt": "Indian holy music",
      "video_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/mmaudio_input.mp4"
    }
  }
}'

No response example available yet.