界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

merge-videos

merge-videos

【效率与协作】Merge Videos. Merge multiple videos into a single video with configurable resolution and FPS. Triggers: merge videos, combine videos, join videos, video merge, concatenate videos

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: merge-videos description: "Merge Videos. Merge multiple videos into a single video with configurable resolution and FPS. Triggers: merge videos, combine videos, join videos, video merge, concatenate videos" allowed-tools: Bash(curl *), WebFetch

Merge Videos

Merge multiple videos into a single output video. Supports configurable resolution and target FPS for the final output.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "merge-videos",
    "version": "0.0.1",
    "input": {
      "video_urls": [
        "https://example.com/clip1.mp4",
        "https://example.com/clip2.mp4",
        "https://example.com/clip3.mp4"
      ],
      "resolution": "landscape_16_9",
      "target_fps": 30
    }
  }'

Parameters

ParameterTypeDefaultDescription
resolutionstringResolution of the final video. enum: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
target_fpsintegerTarget FPS for the output video. If not provided, uses the lowest FPS from input videos
video_urlsarrayList of video URLs to merge in order

Examples

Merge two clips in widescreen:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "merge-videos",
    "version": "0.0.1",
    "input": {
      "video_urls": [
        "https://example.com/intro.mp4",
        "https://example.com/main-content.mp4"
      ],
      "resolution": "landscape_16_9",
      "target_fps": 24
    }
  }'

Merge vertical clips for social media:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "merge-videos",
    "version": "0.0.1",
    "input": {
      "video_urls": [
        "https://example.com/scene1.mp4",
        "https://example.com/scene2.mp4",
        "https://example.com/scene3.mp4",
        "https://example.com/outro.mp4"
      ],
      "resolution": "portrait_16_9"
    }
  }'

Related Models

Documentation

我的收藏