Requested output duration in seconds (max 600). Also used for billing (one billable unit per second per sample, rounded up; each sample under 10s bills as 10s).
num_samples
integer
How many distinct music tracks to generate.
Output
Field
Type
Description
audio
—
The first generated music track, for quick preview/playback.
audios
array
All generated music tracks (AAC/m4a), one per sample.