Create thumbnail upload
create_post_thumbnail_uploadReserves a presigned S3 PUT URL scoped to a specific video post's custom-thumbnail slot. Use this when the user has a LOCAL image file they want as the cover for an existing video post. Returns { upload_token, presigned_url, method: 'PUT', expires_at }. PUT the image bytes to presigned_url with Content-Type set to image/jpeg, image/png, image/webp, or image/gif. Then call finalize_post_thumbnail with the same video_post_id and upload_token to wire it in as the cover. The cover is used on YouTube, Instagram Reels, Facebook Reels and Pinterest. Does NOT create a video_uploads library entry, so nothing to clean up afterward. For a public image URL, use update_post with custom_thumbnail_url directly. For an image already in the library, use update_post with custom_thumbnail_upload_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_post_id | Yes | The video_posts.id whose cover you want to set. All sibling posts on the same upload share the cover (they read from the same video_settings row). | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. |