LinkedIn Videos API thumbnail: pick a still from the clip first
LinkedIn's Videos API page says a system thumbnail may be added if you upload none. Sume video-frames returns jpeg stills at times you choose.
LinkedIn's Videos API page says "If the partner doesn't upload a thumbnail, a system generated thumbnail may be added to the video." To choose the frame yourself, pull stills with Sume's POST /v1/video-frames at the times you name, then upload the one you pick in your own LinkedIn call.
What does the Videos API say about thumbnails?
The quoted line is the only thumbnail rule used here: skip the upload and LinkedIn may generate one. The page's thumbnail upload sample sends a .jpg file.
| Case | Behavior | Where |
|---|---|---|
| No thumbnail uploaded | A system generated thumbnail may be added | LinkedIn Videos API page |
| Upload sample | A .jpg file | LinkedIn Videos API page |
| Sume stills | jpeg or png at named times | Video frames docs |
How do I pick a good still?
Name several instants (1 to 24 in at[]), review the returned frames[].url values, then upload the winner. A frame is exact footage, so the thumbnail matches the video.
curl -X POST https://api.sume.com/v1/video-frames \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: li-thumb-001" \
-d '{
"video_url": "https://media.sume.com/artifacts/artf_demo/talk.mp4",
"at": [1, 5, 10],
"format": "jpeg"
}'Which format and size does LinkedIn want?
The page's sample uploads a .jpg, but the text quoted here does not state accepted formats or dimensions, so none are claimed. Use jpeg to match the sample, and check LinkedIn's current documentation for size rules.
What are the limits?
Frames come from sources of 300 seconds or less, and the route is unbilled. A long source needs a cut with https://docs.sume.com/models/video-trim first. A frame whose extract failed comes back with url null without failing the job, so check each entry. Sume does not upload to LinkedIn.
- Choose the still before you start the LinkedIn upload.
- Keep the artifact id next to the LinkedIn video id.
- Re-read LinkedIn's page before shipping.
Sources
Related posts
More in Use cases
- Turn product photos into a silent video with Timeline static holds
Timeline 1.0 treats a still as a static hold, so product photos become a silent video with fades. Shopify lists MP4 up to 10 minutes; here is the request.
- Pull product stills from a video with the video-frames API
Video frames returns jpeg or png stills from a Sume-hosted clip at set seconds. Google lists 500 x 500 minimum, so extract from the clip before captions.
- Shopify's recommended 2048 x 2048 product image with gpt-image-2.5
Shopify.dev recommends 2048 x 2048 px for product images. That is a valid custom image_size on Sume's gpt-image-2.5: 2048 is a multiple of 16 and 4,194,304 px.
- Shopify image max 4472 x 4472 px: what Sume's image API outputs
Shopify.dev caps product images at 20 MB and 4472 x 4472 px. gpt-image-2.5 on Sume stops at a 3840 edge and 8,294,400 pixels, so it sits under the pixel cap.
Written by Sume