Pixverse Music Mv Agent API Documentation

Pixverse Music Mv Agent API Documentation

Playground

Try it on WaveSpeedAI!

PixVerse Music MV Agent is a fast AI music video generation model that creates music videos from uploaded audio with optional character reference images, music style, MV style, aspect ratio, and quality controls. Ready-to-use REST inference API for audio-to-video generation, music videos, artist visuals, social media clips, promotional content, creative storytelling, and professional MV production workflows with simple integration, no coldstarts, and affordable pricing.

Features

PixVerse Music MV Agent generates a music video from an input audio track, with optional reference images, lyrics, music-style controls, visual-style controls, aspect ratio selection, and resolution options. It is designed for AI music videos, lyric-driven visuals, artist promos, character-led MV concepts, and other audio-to-video workflows.


Why Choose This?

  • Audio-to-music-video generation
    Turn a song or audio track into a full music video from a single workflow.

  • Optional reference image guidance
    Add up to 5 reference images to guide character appearance or visual direction.

  • Music and MV style controls
    Set both music_style and mv_style to better match the tone of the final output.

  • Flexible aspect ratios
    Supports widescreen, vertical, and square outputs for different publishing platforms.

  • Lyrics-aware workflow
    Optionally provide lyric_text to better align visuals with the song content.

  • Production-ready API
    Suitable for music promotion, social content, creator workflows, visualizer-style generation, and AI MV prototyping.


Parameters

ParameterRequiredDescription
audioYesInput audio URL used to generate the music video.
image_referencesNoOptional reference images for characters or visual guidance. Supports up to 5 entries.
music_styleNoMusic style, such as Pop, Rock, Hip Hop, R&B, Jazz, Reggae, Country, Ambient, or Others. Default: Pop.
mv_styleNoMusic video visual style, such as Cinematic, Lo-fi, Dreamscape, Vintage, or Painting. Default: Cinematic.
aspect_ratioNoGenerated video aspect ratio. Default: 16:9.
qualityNoGenerated video quality. Supported values: 720p, 1080p. Default: 720p.
lyric_textNoOptional lyrics text.
instrumental_switchNoEnable this if the input audio is instrumental or has no vocals. Default: true.

Reference Image Format

Each item in image_references supports:

FieldRequiredDescription
imageYesReference image URL.
ref_nameNoReference image label sent to PixVerse. Default: character.

How to Use

  1. Upload your audio — provide the song or audio track you want to turn into a music video.
  2. Add reference images (optional) — upload character or style references if you want more visual control.
  3. Set the music style — choose the genre or overall music direction.
  4. Set the MV style — choose the visual style for the generated video.
  5. Choose aspect ratio and quality — select the final video format and resolution.
  6. Add lyrics (optional) — provide lyric_text if you want stronger lyric-aware visual guidance.
  7. Set instrumental mode (optional) — enable instrumental_switch when the audio has no vocals.
  8. Submit — run the model and download the generated music video.

Example Use Case

Generate a cinematic 16:9 AI music video from a pop track, with character reference images, lyric guidance, and 1080p quality for social media release or artist promotion.


Pricing

Pricing depends on audio duration and quality.

Billing Rules

  • 720p costs $0.08 per billed second
  • 1080p costs $0.12 per billed second
  • Audio duration is billed in whole seconds, rounded up
  • Minimum billed duration is 10 seconds
  • Maximum billed duration is 360 seconds
  • image_references, music_style, mv_style, aspect_ratio, lyric_text, and instrumental_switch do not affect pricing

Example Costs

Quality10s30s60s120s360s
720p$0.80$2.40$4.80$9.60$28.80
1080p$1.20$3.60$7.20$14.40$43.20

Best Use Cases

  • AI music videos — Generate full MV-style visuals from a song.
  • Artist promotion — Create visual promos for track launches and teasers.
  • Lyric-driven content — Pair song lyrics with matching visual storytelling.
  • Character-led music content — Use references to maintain a more stable cast or visual identity.
  • Social media releases — Produce vertical or widescreen clips for modern distribution platforms.

Pro Tips

  • Use image_references when identity, style, or recurring characters matter.
  • Add lyric_text when you want visuals to better follow the song content.
  • Leave instrumental_switch enabled for instrumental tracks or beat-only audio.
  • Use 720p for testing and iteration, then switch to 1080p for final-quality output.
  • Keep reference images visually consistent when you want more stable character appearance.

Notes

  • audio is required.
  • Audio duration is billed with a minimum of 10 seconds and a maximum of 360 seconds.
  • Billing uses whole seconds and rounds duration up.
  • quality defaults to 720p.
  • aspect_ratio defaults to 16:9.
  • instrumental_switch defaults to true.

  • MiniMax Music 3.0 — Generate complete songs with vocals and instrumentals from text prompts and lyrics.
  • Music Video Generator — Generate music-video-style visuals from audio or soundtrack-driven inputs.
  • Vidu One-Click V2 MV — Create music video clips with one-click MV generation workflows.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result

set -euo pipefail

export WAVESPEED_API_KEY="your-api-key"

REQUEST_BODY=$(cat <<'JSON'
{
  "audio": "https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3",
  "aspect_ratio": "16:9",
  "quality": "720p",
  "caption_switch": false,
  "instrumental_switch": false
}
JSON
)

# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
  -X POST "https://api.wavespeed.ai/api/v3/pixverse/music-mv-agent" \
  -H "Authorization: Bearer ${WAVESPEED_API_KEY}" \
  -H "Content-Type: application/json" \
  -d "${REQUEST_BODY}")

TASK=$(printf '%s' "${SUBMIT_RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "${TASK}" | jq -r '.id // empty')
if [ -z "${PREDICTION_ID}" ]; then
  printf 'Submission response did not contain a prediction id
' >&2
  exit 1
fi
RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"

# 2. Poll until the prediction finishes.
while true; do
  RESPONSE=$(curl --silent --show-error --fail-with-body \
    "${RESULT_URL}" \
    -H "Authorization: Bearer ${WAVESPEED_API_KEY}")
  RESULT=$(printf '%s' "${RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
  STATUS=$(printf '%s' "${RESULT}" | jq -r '.status // empty')

  case "${STATUS}" in
    completed) printf '%s\n' "${RESULT}" | jq '.outputs'; break ;;
    failed|cancelled|timeout|deleted) printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
    *) sleep 2 ;;
  esac
done

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
audiostringYes--Input audio URL used to generate the music video.
image_referencesarray<object>No-0 ~ 5 itemsOptional reference images for characters or visual guidance. At most 5 entries.
music_stylestringNo--Music style (e.g. Pop, Rock, Hip Hop, R&B, Jazz, Reggae, Country, Ambient). Left unset, PixVerse picks one from the audio.
mv_stylestringNo--Music video visual style (e.g. Cinematic, Lo-fi, Dreamscape, Vintage, Painting). Left unset, PixVerse picks one.
aspect_ratiostringNo16:916:9, 9:16, 1:1, 4:3, 3:4Generated video aspect ratio.
qualitystringNo720p720p, 1080pGenerated video quality.
lyric_textstringNo--Optional lyrics text.
caption_switchbooleanNofalse-Burn lyric captions into the generated music video.
instrumental_switchbooleanNofalse-Set to true only when the input audio is instrumental or has no vocals.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayOutput values, usually URL strings; some models return text strings or structured result objects (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.statusstringTask status. completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses.
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction
data.modelstringModel ID used for the prediction
data.outputsarray<string | object>Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model.
data.urlsobjectObject containing related API endpoints
data.statusstringStatus: completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses
data.created_atstringISO timestamp of when the request was created
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2026 WaveSpeedAI. All rights reserved.