> ## 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, чтобы удалить выбранный временной диапазон из существующей песни, сохранив остальную часть аудио.

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

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


## OpenAPI

````yaml openapi/ru/suno.json POST /suno/v1/remove-section
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/remove-section:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                music_id:
                  type: string
                  description: ID исходного трека для редактирования.
                crop_start_s:
                  type: number
                  description: Время начала удаляемого фрагмента, в секундах.
                crop_end_s:
                  type: number
                  description: Время окончания удаляемого фрагмента, в секундах.
                isStorage:
                  type: boolean
                  default: true
                  description: >-
                    Сохранять ли отредактированное аудио и возвращать TTAPI CDN
                    URL.
                hookUrl:
                  type: string
                  description: URL обратный вызов для статуса и результата задачи.
              required:
                - music_id
                - crop_start_s
                - crop_end_s
      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>.

````