---
title: "Boost Music Style"
method: POST
path: "/api/v1/style/generate"
---

# Boost Music Style

`POST /api/v1/style/generate`

## Request body

- object
  - `content` string, required — Style description. Please describe in concise and clear language the music style you expect to generate. Example: 'Pop, Mysterious'

## Response `200`

Request successful

- object
  - `code` 200 | 400 | 401 | 404 | 405 | 413 | 429 | 430 | 455 | 500 — # Status Codes - ✅ 200 - Request successful - ⚠️ 400 - Invalid parameters - ⚠️ 401 - Unauthorized access - ⚠️ 404 - Invalid request method or path - ⚠️ 405 - Rate limit exceeded - ⚠️ 413 - Theme or prompt too long - ⚠️ 429 - Insufficient credits - ⚠️ 430 - Your call frequency is too high. Please try again later. - ⚠️ 455 - System maintenance - ❌ 500 - Server error
  - `msg` string — Error message when code != 200
  - `data` object
    - `taskId` string — Task ID
    - `param` string — Request parameters
    - `result` string — The final generated music style text result.
    - `creditsConsumed` number — Credits consumed, up to 5 digits, up to 2 decimal places
    - `creditsRemaining` number — Credits remaining after this task
    - `successFlag` string — Execution result: 0-pending, 1-success, 2-failed
    - `errorCode` number — Error code
    - `errorMessage` string — Error message
    - `createTime` string — Creation time

## Other responses

- `500` — Server error

---

[API](https://skmtc.net/sunoapi/apis/file-upload-api.md) · [All operations](https://skmtc.net/sunoapi/apis/file-upload-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sunoapi/file-upload-api/versions/22d45ee33a4a/schema)
