Result envelope returned by IAudioGenerator.generateMusic and IAudioGenerator.generateSFX.
Follows the same envelope pattern used by VideoResult in the video subsystem: a timestamp, model/provider IDs, the generated artifact(s), and optional usage/billing information.
const result: AudioResult = { created: Math.floor(Date.now() / 1000), modelId: 'suno-v3.5', providerId: 'suno', audio: [{ url: 'https://cdn.suno.ai/abc123.mp3', mimeType: 'audio/mpeg' }], usage: { totalAudioClips: 1 },}; Copy
const result: AudioResult = { created: Math.floor(Date.now() / 1000), modelId: 'suno-v3.5', providerId: 'suno', audio: [{ url: 'https://cdn.suno.ai/abc123.mp3', mimeType: 'audio/mpeg' }], usage: { totalAudioClips: 1 },};
Unix timestamp (seconds) when the result was created.
Model identifier that produced the result.
Provider identifier that produced the result.
The generated audio clip(s).
Optional
Usage / billing information, if available.
Result envelope returned by IAudioGenerator.generateMusic and IAudioGenerator.generateSFX.
Follows the same envelope pattern used by VideoResult in the video subsystem: a timestamp, model/provider IDs, the generated artifact(s), and optional usage/billing information.
Example