FFmpeg 기반 비디오 유틸리티입니다 (2,000만+ 실행). task 파라미터 하나로 mp4/gif 변환, mp3 오디오 추출, 프레임 zip 추출을 처리합니다. 미디어 파이프라인의 맥가이버 칼입니다.
콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요
이 모델의 사용법을 Claude, ChatGPT 등에 복사
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "nicolascoutureau/video-utils",
"input": {
"input_file": "https://example.com/meeting-recording.mp4",
"task": "extract_video_audio_as_mp3"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
task | string | Yes | - | 수행할 작업 convert_input_to_mp4convert_input_to_gifextract_video_audio_as_mp3zipped_frames_to_mp4zipped_frames_to_gifextract_frames_from_inputreverse_videobounce_videocreate_image_previewcreate_preview_videoget_video_metadatareencode_audio_for_fast_seekingencode_for_instareencode_for_web |
input_file | string | Yes | - | 입력 비디오/미디어 파일 URL |
fps | integer | No | 0 | gif/프레임 작업의 프레임레이트 (0이면 원본) |
POST /v1/predictions 요청 시 사용되는 공통 파라미터입니다.
| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
model | string | Yes | - | 모델 식별자 |
input | object | Yes | - | 위 테이블의 모델별 파라미터를 포함하는 객체 |
output_folder | string | No | - | 결과물 저장 폴더 경로 (최대 256자, '..' 사용 불가) |
webhook_url | string | No | - | 완료 시 호출할 Webhook URL |
is_public | boolean | No | false | true 시 결과물을 영구 공개 URL로도 제공 |
Whisper에 넣을 mp3 트랙 추출
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "nicolascoutureau/video-utils",
"input": {
"input_file": "https://example.com/meeting-recording.mp4",
"task": "extract_video_audio_as_mp3"
}
}'