Download index.html from upload-post/upload-post-video-tool: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/spaces/upload-post/upload-post-video-tool/resolve/main/index.html
- Command line
-
hf download hf://spaces/upload-post/upload-post-video-tool/index.html
-
curl -L -o index.html https://huggingface.co/spaces/upload-post/upload-post-video-tool/resolve/main/index.html
1.11 kB
| <html><head><meta charset="utf-8"><title>upload_post_video</title> | |
| <style>body{font-family:system-ui,sans-serif;max-width:720px;margin:40px auto;padding:0 16px;line-height:1.5}code,pre{background:#f3f3f3;padding:2px 4px;border-radius:4px}</style></head> | |
| <body><h1>upload_post_video</h1><p>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.</p> | |
| <p>A <a href="https://github.com/huggingface/smolagents">smolagents</a> tool for <a href="https://www.upload-post.com">Upload-Post</a>.</p> | |
| <pre>from smolagents import load_tool | |
| tool = load_tool("upload-post/upload-post-video-tool", trust_remote_code=True)</pre> | |
| <p>Set <code>UPLOAD_POST_API_KEY</code> in your environment. Source: <a href="https://github.com/Upload-Post/upload-post-smolagents">github.com/Upload-Post/upload-post-smolagents</a></p> | |
| </body></html> | |