---
title: "Suno Music Maker"
method: POST
path: "/ai-music/suno-music"
tags: ["AI Text2Music"]
---

# Suno Music Maker

`POST /ai-music/suno-music`

## Request

- Base URL: `https://api.paxsenix.org`
- URL: `https://api.paxsenix.org/ai-music/suno-music`
- Auth: none declared

Generate music with or without lyrics using AI models.

### Parameter Details
- In Custom Mode (`customMode: true`):
  - If `instrumental: true`: `style` and `title` are required
  - If `instrumental: false`: `style`, `prompt`, and `title` are required
  - Character limits vary by model:
    - **V3_5 & V4**: `prompt` 3000 characters, `style` 200 characters
    - **V4_5, V4_5PLUS & V5**: `prompt` 5000 characters, `style` 1000 characters
  - `title` length limit: 80 characters (all models)
- In Non-custom Mode (`customMode: false`):
  - Only `prompt` is required regardless of `instrumental` setting
  - `prompt` length limit: 400 characters
  - Other parameters should be left empty

## Request body

- object
  - `customMode` boolean: Whether you want to set this true or false
  - `instrumental` boolean: Whether you want to set this true or false
  - `title` string: Your song title
  - `style` string: Your song style (tags)
  - `prompt` string: Your song prompt/lyrics depends customMode.
  - `model` string: Suno model
  - `negativeTags` string: Exclude things that you do not want

## Response `200`

Success - Got the response

## Other responses

- `400`: Invalid URL provided
- `500`: Server error

---

[API](https://skmtc.dev/paxsenix/apis/paxsenix-api.md) - [All operations](https://skmtc.dev/paxsenix/apis/paxsenix-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paxsenix/apis/paxsenix-api/revisions/f7e5b20bdbdf?raw)
