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
- Mastodon alt text: 10,000 characters and a video transcript
Mastodon 4.6.0 raised the media alt text limit to 10,000 characters. Seed a long video description from a Sume transcript and a few stills.
- Merchant Center video_link: 6-240 s, 500 MB, raw file URL
The Merchant Center video_link attribute needs 6-240 s, 720p, 500 MB and a raw-file URL. Which Sume video outputs meet each limit, and which need a join.
- Meta final-week political ad block: finish video early
Meta blocks new political, electoral and social issue ads in the final week of the US campaign. Submit every video cut, with AI disclosure, before then.
- Midjourney inpainting via API: mask_url on GPT Image 2.5
Midjourney's edit model now changes only selected pixels. Sume lists no Midjourney model; its masked inpainting runs on GPT Image 2.5 through mask_url.
Written by Sume