Skip to main content
FFmpegFastStandard

Video Utils

FFmpeg-powered video utilities (20M+ runs) โ€” convert to mp4/gif, extract audio as mp3, or dump zipped frames, all with one task parameter. The Swiss-army knife for media pipelines.

5 credits
per operation
Convert any video to mp4 or gif
Extract audio as mp3
Dump frames as a zip (with fps control)
7 credits per operation

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

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"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
taskstringYes-Operation to perform
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_filestringYes-Input video/media file URL
fpsintegerNo0Frame rate for gif/frames tasks (0 = source fps)

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Extract Audio for Transcription

Pull the mp3 track to feed into Whisper

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"
  }
}'

Tips & Best Practices

1Chain extract_video_audio_as_mp3 โ†’ openai/whisper for video transcription
2zipped_frames with fps 1 gives one frame per second for vision analysis
3GIF conversion at low fps (8-12) keeps file sizes social-friendly

Use Cases

Format normalization in pipelines
GIF previews for social/UI
Audio extraction before Whisper transcription
Frame sampling for vision models