{
"input": "https://example.com/video.mp4",
"duration": 5,
"format": "webp"
}
curl -X POST https://api.ringbee.dev/v1/pipeline/animated-preview \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@video.mp4" \
-F "duration=5" \
-F "format=webp"
{
"id": "job_abc123",
"status": "pending"
}{
"error": "<string>"
}{
"error": "<string>"
}Pipeline
Animated Preview
Generate an animated GIF or WebP preview from key moments in a video
POST
/
v1
/
pipeline
/
animated-preview
{
"input": "https://example.com/video.mp4",
"duration": 5,
"format": "webp"
}
curl -X POST https://api.ringbee.dev/v1/pipeline/animated-preview \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@video.mp4" \
-F "duration=5" \
-F "format=webp"
{
"id": "job_abc123",
"status": "pending"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"input": "https://example.com/video.mp4",
"duration": 5,
"format": "webp"
}
curl -X POST https://api.ringbee.dev/v1/pipeline/animated-preview \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@video.mp4" \
-F "duration=5" \
-F "format=webp"
| Param | Type | Description |
|---|---|---|
| duration | number | Duration of the animated preview in seconds |
| format | string | Output format (“gif” or “webp”) |
Authorizations
Body
application/jsonmultipart/form-data