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

# Изменение скорости

> Используйте API изменения скорости Suno, чтобы изменить скорость песни от 0.25x до 4x с возможностью сохранить исходную высоту тона.

<Note>
  Каждый запрос к этому эндпоинту стоит **3 quota (примерно \$0.03)**.
</Note>

Передайте исходный `music_id`, значение `speed_multiplier` от `0.25` до `4`, параметр `keep_pitch` и новый `title`. Сохраните возвращенный `jobId`, затем получите результат через [Получение результата Suno V2](/api/ru/suno/suno_fetch_v2) или обратный вызов `hookUrl`.


## OpenAPI

````yaml openapi/ru/suno.json POST /suno/v1/adjust-speed
openapi: 3.1.0
info:
  title: Документация TTAPI API
  version: 1.0.0
  description: Suno AI Музыка API
servers:
  - url: https://api.ttapi.io
security: []
paths:
  /suno/v1/adjust-speed:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                music_id:
                  type: string
                  description: ID исходного трека для изменения скорости.
                keep_pitch:
                  type: boolean
                  default: false
                  description: Сохранять ли исходную высоту тона при изменении скорости.
                speed_multiplier:
                  type: number
                  minimum: 0.25
                  maximum: 4
                  default: 1
                  description: >-
                    Множитель скорости воспроизведения. Допустимый диапазон: от
                    0.25 до 4.
                title:
                  type: string
                  description: Название трека после изменения скорости.
                isStorage:
                  type: boolean
                  default: true
                  description: Сохранять ли обработанное аудио и возвращать TTAPI CDN URL.
                hookUrl:
                  type: string
                  description: URL обратный вызов для статуса и результата задачи.
              required:
                - music_id
                - keep_pitch
                - speed_multiplier
                - title
      responses:
        '200':
          $ref: '#/components/responses/SuccessResponse'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
      security:
        - CustomApiKey: []
components:
  responses:
    SuccessResponse:
      description: Запрос выполнен успешно
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: SUCCESS
              message:
                type: string
                example: success
              data:
                type: object
                example:
                  jobId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            required:
              - status
              - message
              - data
    400Response:
      description: Ошибка параметров
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: FAILED
              message:
                type: string
              data:
                type: object
            required:
              - status
              - message
    401Response:
      description: Ошибка авторизации
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: FAILED
              message:
                type: string
                example: Wrong TT-API-KEY or email is not activated.
            required:
              - status
              - message
  securitySchemes:
    CustomApiKey:
      type: apiKey
      in: header
      name: TT-API-KEY
      description: >-
        Вы можете получить API-ключ в <a href='https://dashboard.ttapi.io'
        target='_blank'>панель управления TTAPI</a>.

````