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

Kling 3.0: Многокадровая генерация текста в видео на игровой площадке и API | Models and API | RunComfy

kling/kling-3.0/standard/text-to-video

Создавайте собственные видеоролики 4K с синхронизированными диалогами из текста или изображений, предлагая многокадровое кинематографическое повествование, согласованность персонажей и удобную для разработчиков интеграцию API для профессиональных авторов.

Содержание

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

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

Используйте API RunComfy для запуска kling/kling-3.0/standard/text-to-video. Допустимые входы и выходы см. в схеме.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/kling/kling-3.0/standard/text-to-video \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "Cinematic multi-shot of a young American father teaching his 6-year-old daughter to ride a bike on a sun-dappled suburban street in autumn. Wide establishing shot of the leafy neighborhood with Craftsman-style houses, then cut to a low tracking shot following the wobbling pink bike as the father runs alongside holding the seat, his blue flannel shirt fluttering. Cut to a close-up of the girl's face, golden braids whipping in the wind, her wide blue eyes shifting from nervous to joyful as she breaks into laughter. Final shot: a slow-motion crane pull-back as he lets go and she pedals freely down the street, golden hour light, lens flares, warm cinematic color grade, shot on 35mm film, shallow depth of field."
  }'

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/kling/kling-3.0/standard/text-to-video \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "Cinematic multi-shot of a young American father teaching his 6-year-old daughter to ride a bike on a sun-dappled suburban street in autumn. Wide establishing shot of the leafy neighborhood with Craftsman-style houses, then cut to a low tracking shot following the wobbling pink bike as the father runs alongside holding the seat, his blue flannel shirt fluttering. Cut to a close-up of the girl's face, golden braids whipping in the wind, her wide blue eyes shifting from nervous to joyful as she breaks into laughter. Final shot: a slow-motion crane pull-back as he lets go and she pedals freely down the street, golden hour light, lens flares, warm cinematic color grade, shot on 35mm film, shallow depth of field."
  }'

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

Текущее состояние по 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"
  ],
  "properties": {
    "prompt": {
      "title": "Промпт",
      "description": "Текстовое описание сцены, движения, стиля камеры и атмосферы.",
      "type": "string",
      "default": "Cinematic multi-shot of a young American father teaching his 6-year-old daughter to ride a bike on a sun-dappled suburban street in autumn. Wide establishing shot of the leafy neighborhood with Craftsman-style houses, then cut to a low tracking shot following the wobbling pink bike as the father runs alongside holding the seat, his blue flannel shirt fluttering. Cut to a close-up of the girl's face, golden braids whipping in the wind, her wide blue eyes shifting from nervous to joyful as she breaks into laughter. Final shot: a slow-motion crane pull-back as he lets go and she pedals freely down the street, golden hour light, lens flares, warm cinematic color grade, shot on 35mm film, shallow depth of field."
    },
    "negative_prompt": {
      "title": "Отрицательная подсказка",
      "description": "Элементы, которые следует исключить из видео.",
      "type": "string"
    },
    "duration": {
      "title": "Продолжительность",
      "description": "Продолжительность видео в секундах.",
      "type": "integer",
      "minimum": 3,
      "maximum": 15,
      "default": 5
    },
    "aspect_ratio": {
      "title": "Соотношение сторон",
      "description": "Коэффициент вывода сгенерированного видео.",
      "type": "string",
      "enum": [
        "16:9",
        "9:16",
        "1:1"
      ],
      "default": "16:9"
    },
    "cfg_scale": {
      "title": "Масштаб CFG",
      "description": "Подскажите силу наведения.",
      "type": "float",
      "minimum": 0,
      "maximum": 1,
      "default": 0.5
    },
    "sound": {
      "title": "Звук",
      "description": "Генерируйте синхронизированный звук вместе с видео.",
      "type": "boolean",
      "default": true
    },
    "shot_type": {
      "title": "Тип выстрела",
      "description": "Режим редактирования: интеллектуальный (по умолчанию, область определяется автоматически) или настраиваемый.",
      "type": "string",
      "enum": [
        "intelligent",
        "customize"
      ],
      "default": "intelligent"
    },
    "multi_prompt": {
      "title": "Мультиподсказка",
      "description": "Дополнительные сегменты подсказок для управления переходами и развитием сцен. Сумма длительностей в multi_prompt должна равняться общей продолжительности видео.",
      "type": "array",
      "items": {
        "prompt": {
          "title": "Промпт",
          "description": "Дополнительные сегменты подсказок для управления переходами и развитием сцен.",
          "type": "string",
          "format": "str"
        },
        "duration": {
          "title": "Продолжительность",
          "description": "Продолжительность сегмента подсказки в секундах.",
          "type": "integer",
          "format": "int_slider_with_range",
          "minimum": 3,
          "maximum": 15,
          "default": 5
        }
      },
      "maxItems": 20,
      "minItems": 0
    }
  }
}

Схема выхода

{
  "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
  • Статус системы
  • партнёр
Модели видео
  • Wan 2.6 Flash
  • Kling Video O3 Pro Image To Video
  • Wan 2.6
  • Seedance 2.0 Fast
  • Hailuo 2.3 Fast Standard
  • Kling 3.0
  • Посмотреть все модели →
Модели изображений
  • seedream 4.0
  • Nano Banana 2 Edit
  • Flux 2 Dev
  • Nano Banana Pro
  • GPT Image 2 Image Edit
  • FLUX.1 Schnell
  • Посмотреть все модели →
Юридическая информация
  • Условия обслуживания
  • Политика конфиденциальности
  • Политика в отношении файлов cookie
RunComfy
Авторское право 2026 RunComfy. Все права защищены.

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