● nureta
Docs
Video

Background music

Add background music to a video: describe it in your own words with music_note, or pick a preset with music.

This page uses NURETA_URL, NURETA_KEY and the wait_task helper from Get started.

Describe the background music in your own words with music_note, or pick a preset with music. This example is a 5-second clip on seedance2.0-fast at 480p ($0.33). Music works the same way on the seahorse-* models.

TASK_ID=$(curl -s -X POST "$NURETA_URL/api/v3/contents/generations/tasks" \
  -H "Authorization: Bearer $NURETA_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance2.0-fast",
    "resolution": "480p",
    "duration": 5,
    "music_note": "soft jazz piano, rainy night",
    "content": [{"type": "text", "text": "Rain runs down a window at night. A woman reads on the sofa under a warm lamp."}]
  }' | jq -r .id)
wait_task "$NURETA_URL/api/v3/contents/generations/tasks/$TASK_ID" | jq '{status, video: .content.video_url, error}'
  • music_note: up to 60 characters: a style, instruments and a mood ("80s synth, slow", "acoustic guitar, warm"). The music is instrumental only.
  • music: a preset instead of a note: "ambient", "romantic" or "upbeat".
  • generate_audio must stay true (the default).
  • The task view does not show the music fields. All the fields: Video reference.

Common errors

You getWhyFix
400 InvalidParameter "music_note refused: copyright"The note names a song, an artist or a soundtrack.Describe the style instead ("80s synth, slow").
400 InvalidParameter "music_note refused: vocals"The note asks for singing or lyrics.Ask for instruments only. For speech, see Spoken lines.
400 InvalidParameter "music_note must be at most 60 characters"The note is too long.Shorten it.

On this page