MusicGPT icon

MusicGPT

Interact with MusicGPT API for audio processing and voice management

Advanced Generation → Sound Generator

AI-generated

Summary

Generate a sound effect or audio scene from a text prompt using MusicGPT. The request is submitted for processing; an optional webhook URL can receive a completion callback.

Inputs

  • Prompt (required) — Text describing the sound to generate. The operation trims whitespace and rejects an empty prompt or one longer than 300 characters.
  • Audio Length — Requested duration in seconds; defaults to 5.
  • Webhook URL — Optional callback URL for processing completion.

Output shape

A single item containing a JSON object with success, task_id, conversion_id, eta, credit_estimate, and message fields.

Returns the processing response fields, not the generated audio file itself. Each input item is handled separately.

Links

Discussion