# 生成歌词

**方法**: `POST`
**路径**: `/suno/submit/lyrics`

## 请求参数

### Header 参数

```text
Content-Type
string
可选
示例:
application/json
Accept
string
可选
示例:
application/json
Authorization
string
可选
默认值:
Bearer {{YOUR_API_KEY}}
```

### Body 参数 application/json

```text
prompt
string
歌词提示词
必需
notify_hook
string
回调地址
可选
示例
{
"prompt"
:
"dance"
}
```

## 请求示例代码

### Shell

```bash
curl --location --request POST '/suno/submit/lyrics' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "prompt": "dance"
}'
```

## 返回响应

### 🟢 200 成功

**内容类型**: `application/json`

#### 响应结构

```text
code
string
必需
message
string
必需
data
string
task_id
必需
```

#### 示例

```json
{
    "code": "success",
    "message": "",
    "data": "736a6f88-bd29-4b1e-b110-37132a5325ac"
}
```
