tonby's picture
Serve the tool as a static Space
bfd8082 verified
|
Raw History Blame Contribute Delete
856 Bytes
---
title: upload_post_video
emoji: 🚀
colorFrom: indigo
colorTo: blue
sdk: static
pinned: false
license: mit
tags:
- smolagents
- tool
---
# upload_post_video
Publish (or schedule) a video on social networks through Upload-Post: TikTok, Instagram, YouTube, LinkedIn, Facebook, X, Threads, Pinterest, Bluesky and more. The video must be a public http(s) URL. The upload is processed asynchronously: the returned dict contains a request_id (or a job_id when scheduled) to pass to upload_post_status.
A [smolagents](https://github.com/huggingface/smolagents) tool for [Upload-Post](https://www.upload-post.com).
```python
from smolagents import load_tool
tool = load_tool("upload-post/upload-post-video-tool", trust_remote_code=True)
```
Set `UPLOAD_POST_API_KEY` in your environment. Source: https://github.com/Upload-Post/upload-post-smolagents