Generate Music Audio For Video

Generate a music audio clip using ElevenLabs music generation API. VIDEO-CENTRIC: Attaches audio clip to a Video instead of a Scene.

post/api/projects/{project_id}/videos/{video_id}/audio-clips/generate-music

Request

  • Base URL: https://api.latted.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.latted.com/api/projects/{project_id}/videos/{video_id}/audio-clips/generate-music
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

project_idstring required
video_idstring required

Request body

promptstring required

Text description of the music to generate

startTimestampinteger required

Start time in milliseconds

durationSecondsinteger

Duration in seconds (10-300)

audioClipIdstring nullable

Existing audio clip ID to update (for regeneration)

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 21 revisions of this API.