Generate AI music using Suno models via the RawUGC platform. Supports instrumental and vocal tracks with customizable genre, mood, and style. Each generation costs 3 credits.
The generation is asynchronous — poll GET /music/{taskId} to check status and retrieve the audio URL when ready.
Use your API key from the RawUGC dashboard. Include as: Authorization: Bearer YOUR_API_KEY
Text description of the music to generate. Include genre, mood, instruments, tempo, and style details for best results.
1 - 2000Suno model version to use. V5 is the latest and recommended model.
V3_5, V4, V4_5, V4_5PLUS, V4_5ALL, V5 Generate instrumental-only music (no vocals). Defaults to true.
Title for the generated track. When provided along with style, enables custom mode.
200Music style descriptor for custom mode (e.g., 'lo-fi hip hop', 'epic orchestral'). Used with title for custom mode.
500Music generation initiated successfully
Unique music identifier (mus_xxx format)
Suno model version used for generation
Current generation status
pending, processing, completed, failed Number of credits deducted (3 per generation)
Remaining credit balance after deduction
Estimated time until track is ready (human-readable)
Timestamp when generation was initiated (milliseconds since epoch)