{
"input": "https://example.com/video.mp4",
"start": "00:00:00",
"duration": 5,
"width": 480,
"fps": 15
}
curl -X POST https://api.ringbee.dev/v1/video/gif \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@video.mp4" \
-F "start=00:00:00" \
-F "duration=5" \
-F "width=480" \
-F "fps=15"
{
"id": "job_abc123",
"status": "pending"
}{
"error": "<string>"
}{
"error": "<string>"
}Video
GIF
Convert a video segment to an animated GIF
POST
/
v1
/
video
/
gif
{
"input": "https://example.com/video.mp4",
"start": "00:00:00",
"duration": 5,
"width": 480,
"fps": 15
}
curl -X POST https://api.ringbee.dev/v1/video/gif \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@video.mp4" \
-F "start=00:00:00" \
-F "duration=5" \
-F "width=480" \
-F "fps=15"
{
"id": "job_abc123",
"status": "pending"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"input": "https://example.com/video.mp4",
"start": "00:00:00",
"duration": 5,
"width": 480,
"fps": 15
}
curl -X POST https://api.ringbee.dev/v1/video/gif \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@video.mp4" \
-F "start=00:00:00" \
-F "duration=5" \
-F "width=480" \
-F "fps=15"
| Param | Type | Description |
|---|---|---|
| start | string | Start timestamp (HH:MM:SS) |
| duration | number | Duration in seconds |
| width | integer | Output GIF width in pixels |
| fps | integer | Frames per second |
Authorizations
Body
application/jsonmultipart/form-data