> ## Documentation Index
> Fetch the complete documentation index at: https://docs.toapis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Текст / Inspo / Эффекты / Теги

> lyrics генерация текста, inspo по референсам, sounds эффекты, upsampleTags расширение

```
POST https://toapis.com/v1/music/generations/{operation}
```

**model** `string` *required*

Фиксированное `"suno"`

## lyrics — генерация текста(\$0.008)

**prompt** `string` *required*

Тема или описание текста

**lyrics\_model** `string`

Модель текста:`classic` / `remi`(опционально)

```bash theme={null}
curl --request POST \
  --url https://toapis.com/v1/music/generations/lyrics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{"model":"suno","prompt":"песня про лето у моря"}'
```

## inspo — генерация по референсам($0.068, Max $0.136)

Новый трек, вдохновлённый 1-4 референсами.

**audio\_urls** `array` *required*

1-4 публичных URL аудио

**max\_mode** `boolean`

Max-тариф(поля `custom` нет, применяется сразу)

> [!WARNING]
>
> Не отправляйте `custom` — upstream отклонит.

## sounds — звуковые эффекты(\$0.0096)

**prompt** `string` *required*

Описание эффекта

**type** `string`

Тип эффекта

**bpm** `number`

Темп(диапазон 1-300)

**key** `string`

Тональность

## upsampleTags — расширение тегов(\$0.004)

Разворачивает краткий тег стиля в подробное описание.

**tags** `string` *required*

Теги стиля, например `"lo-fi chill beats"`

## Response

**task\_id** `string`

ID задачи

**status** `string`

`submitted`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.