This page was machine-translated. Spotted a mistake?Help improve it.
Skip to content

Video Speed

오디오 피치를 유지하는 옵션과 함께 비디오를 빠르게 또는 느리게 재생합니다.

API Endpoint

POST /api/v1/tools/video/video-speed

비디오 파일과 JSON settings 필드가 담긴 multipart form data를 받습니다.

Parameters

ParameterTypeRequiredDefaultDescription
factornumberNo2속도 배율(0.25-4). 1보다 크면 빠르게, 작으면 느리게
keepPitchbooleanNotrue속도 변경 시 오디오 피치 유지

Example Request

bash
curl -X POST http://localhost:1349/api/v1/tools/video/video-speed \
  -H "Authorization: Bearer si_your-api-key" \
  -F "[email protected]" \
  -F 'settings={"factor": 0.5, "keepPitch": true}'

Example Response

json
{
  "jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "downloadUrl": "/api/v1/download/a1b2c3d4-e5f6-7890-abcd-ef1234567890/clip.mp4",
  "originalSize": 12500000,
  "processedSize": 24800000
}

Notes

  • 2 배율은 재생 속도를 두 배로 늘립니다(지속 시간 절반). 0.5 배율은 재생 속도를 절반으로 줄입니다(지속 시간 두 배).
  • keepPitchtrue이면 오디오가 시간 늘림 처리되어 음성이 자연스럽게 들립니다. false이면 피치가 속도에 비례하여 이동합니다.
  • 유효 범위는 0.25x에서 4x입니다.