soundtrack
Last updated
Last updated
Field | Type | Description | Required |
---|---|---|---|
regions*
JSON
An Array of regions.
normalize
String
Enables soundtrack loudness normalization. Accept values: none
, auto
and high
.
time
float
A position (start) of given region in seconds.
duration
float
Requested composition time in seconds. If no parameter value is passed, the default time value is 60 seconds. Currently, there is a limit set at 1200 seconds.
tags
Array (int)
An array of integers representing tag id's.
params
JSON
An object containing user music params values: intensity
, tempo,
rhythm
, tone
, variance
. These values are either integers ranging from 1 to 9 (mean parameter value) or keyframes arrays (except tempo
).
sourceHash
String
A unique system music identifier obtained in a response. Please provide the sourceHash
when you want to refer to a previously composed music region in your next call.
action
String
One of the possible actions for region generation process: 'generate', 'copy', 'regenerate' or 'extend'.
method
String
One of the methods to interpret time
and duration
fields is: 'strict', 'auto_adjust', 'adjust_start', or 'adjust_end'.