Skip to main content
Extract a single frame from a video or resize an image as a JPG, PNG, or WebP. Optionally specify a timestamp (video) or let the system auto-detect the best frame.
Timeout: 300s | Provider: triggerdev | Accepts: video, image

Request

curl -X POST https://api.rendobar.com/jobs \
  -H "Authorization: Bearer rb_your_key" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "thumbnail",
  "inputs": {
    "source": "https://cdn.rendobar.com/assets/examples/sample.mp4"
  },
  "params": {
    "timestamp": 5,
    "format": "jpg"
  }
}'

Parameters

timestamp
number
Timestamp in seconds to extract frame from (omit for auto-detect best frame)
width
integer
Target width in pixels (omit to preserve original)
height
integer
Target height in pixels (omit to preserve original)
format
jpg | png | webp
default:"jpg"
Output image format

Response

{
  "data": {
    "id": "job_abc123",
    "status": "dispatched"
  }
}