logo
RunComfy
  • ComfyUI
  • ТренерНовое
  • Модели
  • API
  • Цены
discord logo
МОДЕЛИ
Обзор
Все модели
БИБЛИОТЕКА
Генерации
API МОДЕЛЕЙ
Документация API
API-ключи
АККАУНТ
Использование

Veo 3.1 Fast Video Extend: продление видео на 7 секунд в 720p | RunComfy

google-deepmind/veo-3-1/fast/extend-video

Продолжите исходное видео на фиксированные 7 секунд в 720p, выбрав соотношение сторон и необходимость генерации аудио.

Содержание

1. Начало работы2. Аутентификация3. Справочник APIОтправить запросСтатус запросаПолучить результатыОтменить запрос4. Входные файлыРазмещённый файл (URL)5. СхемаСхема входаСхема выхода

1. Начало работы

Используйте API RunComfy для запуска google-deepmind/veo-3-1/fast/extend-video. Допустимые входы и выходы см. в схеме.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/google-deepmind/veo-3-1/fast/extend-video \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "The warrior raises his weapon high, and with a thunderous roar, the troops surge forward. Spears lower in unison as the formation begins to move, footsteps pounding the ground. The camera pulls back into a wide shot, revealing waves of warriors charging across the battlefield. Dust clouds thicken, sunlight cuts through the haze, and the distant enemy lines come into view, heightening the tension just before the clash.",
    "video_url": "https://playgrounds-storage-public.runcomfy.net/tools/7282/media-files/input-1-1.mp4"
  }'

2. Аутентификация

Задайте для переменной окружения YOUR_API_TOKEN ваш API-ключ (управление в Профиль) и передавайте в каждом запросе Bearer-токен в заголовке Authorization : Authorization: Bearer $YOUR_API_TOKEN.

3. Справочник API

Отправить запрос

Отправьте асинхронную задачу генерации и сразу получите request_id и URL для статуса, результатов и отмены.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/google-deepmind/veo-3-1/fast/extend-video \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "The warrior raises his weapon high, and with a thunderous roar, the troops surge forward. Spears lower in unison as the formation begins to move, footsteps pounding the ground. The camera pulls back into a wide shot, revealing waves of warriors charging across the battlefield. Dust clouds thicken, sunlight cuts through the haze, and the distant enemy lines come into view, heightening the tension just before the clash.",
    "video_url": "https://playgrounds-storage-public.runcomfy.net/tools/7282/media-files/input-1-1.mp4"
  }'

Статус запроса

Текущее состояние по request_id: «in_queue», «in_progress», «completed» или «cancelled».

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
  --header "Authorization: Bearer <token>"

Получить результаты

Финальные выходные данные и метаданные для request_id; если задача не завершена, в ответе — текущее состояние для дальнейшего опроса.

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
  --header "Authorization: Bearer <token>"

Отменить запрос

Отмена задачи в очереди по request_id; выполняющиеся задачи отменить нельзя.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
  --header "Authorization: Bearer <token>"

4. Входные файлы

Размещённый файл (URL)

Укажите публично доступный HTTPS URL. Хост должен разрешать серверные запросы (без входа и cookie), без жёсткого лимита и блокировки ботов. Рекомендуется: изображения ≤ 50 МБ (~4K), видео ≤ 100 МБ (~2–5 мин при 720p). Для приватных ресурсов — стабильные или подписанные URL.

5. Схема

Схема входа

{
  "type": "object",
  "title": "Схема входа",
  "required": [
    "prompt",
    "video_url"
  ],
  "properties": {
    "prompt": {
      "title": "Промпт",
      "description": "",
      "type": "string",
      "default": "The warrior raises his weapon high, and with a thunderous roar, the troops surge forward. Spears lower in unison as the formation begins to move, footsteps pounding the ground. The camera pulls back into a wide shot, revealing waves of warriors charging across the battlefield. Dust clouds thicken, sunlight cuts through the haze, and the distant enemy lines come into view, heightening the tension just before the clash."
    },
    "video_url": {
      "title": "URL видео",
      "description": "URL видео для продления. Видео должно иметь разрешение 720p или 1080p и соотношение сторон 16:9 или 9:16.",
      "type": "string",
      "default": "https://playgrounds-storage-public.runcomfy.net/tools/7282/media-files/input-1-1.mp4"
    },
    "aspect_ratio": {
      "title": "Соотношение сторон (Ш:В)",
      "description": "Соотношение сторон создаваемого видео.",
      "type": "string",
      "enum": [
        "auto",
        "16:9",
        "9:16"
      ],
      "default": "auto"
    },
    "duration": {
      "title": "Длительность",
      "description": "Длительность создаваемого видео.",
      "type": "string",
      "enum": [
        "7s"
      ],
      "default": "7s"
    },
    "resolution": {
      "title": "Разрешение",
      "description": "Разрешение создаваемого видео.",
      "type": "string",
      "enum": [
        "720p"
      ],
      "default": "720p"
    },
    "generate_audio": {
      "title": "Создать аудио",
      "description": "Определяет, нужно ли создавать аудио для видео.",
      "type": "boolean",
      "default": true
    }
  }
}

Схема выхода

{
  "output": {
    "type": "object",
    "properties": {
      "image": {
        "type": "string",
        "format": "uri",
        "description": "URL одного изображения"
      },
      "video": {
        "type": "string",
        "format": "uri",
        "description": "URL одного видео"
      },
      "images": {
        "type": "array",
        "description": "несколько URL изображений",
        "items": {
          "type": "string",
          "format": "uri"
        }
      },
      "videos": {
        "type": "array",
        "description": "несколько URL видео",
        "items": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}
Подписывайтесь на нас
  • LinkedIn
  • Facebook
  • Instagram
  • Twitter
Поддержка
  • Discord
  • Email
  • Статус системы
  • партнёр
Модели видео
  • MiniMax H3 Open
  • FLUX 3 Image to Video
  • MiniMax H3 Open Image to Video
  • Wan 2.6 Flash
  • Happy Horse 1.1 reference to video
  • Seedance 1.5 Pro Text to Video
  • Посмотреть все модели →
Модели изображений
  • Seedream 5.0 Pro Image Edit
  • Flux 2 Flash Edit
  • Nano Banana Pro
  • seedream 4.0
  • GPT Image 2
  • Qwen Image Edit 2511 LoRA
  • Посмотреть все модели →
Юридическая информация
  • Условия обслуживания
  • Политика конфиденциальности
  • Политика в отношении файлов cookie
RunComfy
Авторское право 2026 RunComfy. Все права защищены.

RunComfy - ведущая ComfyUI платформа, предлагающая ComfyUI онлайн среду и услуги, а также рабочие процессы ComfyUI с потрясающей визуализацией. RunComfy также предоставляет AI Models, позволяя художникам использовать новейшие инструменты AI для создания невероятного искусства.