> ## 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.

> ## Agent Instructions
> Send API requests to https://api.ttapi.io with the TT-API-KEY header. Midjourney account hosting uses https://hold.ttapi.io. Claude Code uses https://cc.ttapi.io.
> Most generation endpoints are asynchronous. The submit response returns a job id. Poll that product's fetch endpoint, or pass a webhook on the submit request. A fetch call does not start a new generation.
> 1 USD = 100 quota. Check the pricing page for that product before estimating cost.
> This file lists the English docs. Follow every /_llms/ link recursively for the API reference, Chinese, and Russian. Open a page's .md URL for the endpoint schema.

# API продления видео Suno

> Продлите готовое видео Suno и получите полные ролики через Fetch V2.



## OpenAPI

````yaml openapi/ru/suno.json POST /suno/v1/video/extend
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/video/extend:
    post:
      summary: Продление видео
      description: >-
        Отправьте асинхронную задачу продления готового видео. При успешном
        завершении задача возвращает два полных ролика. Каждый содержит исходное
        видео и соответствующий новый фрагмент. Требуется API-ключ с доступом к
        Suno Video.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SunoVideoExtendRequest'
            examples:
              basic:
                summary: Использовать настройки исходного видео
                value:
                  jobId: video-9c64b7e1-f00d-456e-8c56-a0227f5128fb
                  creation_id: crt_0187b131-a1c0-7151-a92e-cd8645e4bb01
                  prompt: >-
                    Камера продолжает следовать за поднимающимися бумажными
                    фонариками, а затем плавно отдаляется, открывая больше
                    звёзд.
              reference:
                summary: >-
                  Использовать референсное изображение и указать длительность и
                  разрешение
                value:
                  jobId: video-9c64b7e1-f00d-456e-8c56-a0227f5128fb
                  creation_id: crt_0187b131-a1c0-7151-a92e-cd8645e4bb01
                  prompt: >-
                    Камера продолжает следовать за поднимающимися бумажными
                    фонариками, а затем плавно отдаляется, открывая больше
                    звёзд.
                  duration: 5
                  resolution: 480p
                  reference_image_urls:
                    - https://example.com/reference.jpg
                  hookUrl: https://example.com/webhooks/suno-video
      responses:
        '200':
          description: >-
            Задача продления принята. Чтобы получить результат, используйте
            новый data.jobId.
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - message
                  - data
                properties:
                  status:
                    type: string
                    enum:
                      - SUCCESS
                  message:
                    type: string
                    description: Сообщение о принятии задачи.
                  data:
                    type: object
                    required:
                      - jobId
                    properties:
                      jobId:
                        type: string
                        description: ID новой задачи продления для запросов Fetch V2.
                        pattern: ^video-
              example:
                status: SUCCESS
                message: success
                data:
                  jobId: video-f26fc3e4-59da-4fc4-a6e0-4c6ce579a9d8
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '403':
          description: >-
            У API-ключа нет разрешения на нужный продукт, либо запрос нарушает
            ограничения доступа аккаунта.
      security:
        - CustomApiKey: []
components:
  schemas:
    SunoVideoExtendRequest:
      title: Параметры продления видео
      type: object
      additionalProperties: false
      required:
        - jobId
        - creation_id
        - prompt
      properties:
        jobId:
          type: string
          description: >-
            ID задачи исходного видео. Это может быть задача генерации или
            предыдущего продления.
          maxLength: 64
        creation_id:
          type: string
          description: >-
            Поле `data.videos[].creation_id` выбранного видео в результате
            исходной задачи.
          minLength: 1
          maxLength: 128
        prompt:
          type: string
          description: Промпт для продления видео.
          minLength: 1
          maxLength: 30000
        duration:
          type:
            - integer
          description: Длительность продления.
          minimum: 5
          maximum: 15
        resolution:
          type:
            - string
          description: >-
            Целевое разрешение. Если параметр пропущен или передан как null,
            используется разрешение исходной задачи.
          enum:
            - 480p
            - 720p
        reference_image_urls:
          type: array
          maxItems: 9
          items:
            type: string
            format: uri
          description: >-
            Публичные HTTP(S)-ссылки на референсные изображения. Поддерживается
            до 9 файлов JPEG или PNG, не более 10 MiB на файл.
        hookUrl:
          type: string
          format: uri
          description: >-
            Необязательный URL вебхука. После завершения задачи результат
            отправляется методом HTTP POST. Тело запроса совпадает с ответом
            Fetch V2 для видеозадачи.
  responses:
    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>.

````

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