← 返回
内容创作 Key

Publora Tiktok

Post or schedule video content to TikTok using the Publora API. Use this skill when the user wants to publish or schedule TikTok videos via Publora.
通过 Publora API 将视频发布或定时发布到 TikTok,适用于需要发布或预约 TikTok 视频的场景。
sergebulaev
内容创作 clawhub v2.0.0 2 版本 99871.3 Key: 需要
★ 2
Stars
📥 1,512
下载
💾 50
安装
2
版本
#latest

概述

Publora — TikTok

TikTok platform skill for the Publora API. For auth, core scheduling, media upload, and workspace/webhook docs, see the publora core skill.

Base URL: https://api.publora.com/api/v1

Header: x-publora-key: sk_YOUR_KEY

Platform ID format: tiktok-{userId}

Platform Limits (API)

> ⚠️ TikTok API is stricter than native app for captions and duration.

PropertyAPI LimitNative App
--------------------------------
Caption2,200 characters4,000 characters
Video duration10 min60 min
Video size4 GB
Video formatMP4, MOV, WebM
Images❌ Video only
Text only❌ Video required
Daily posts15–20 posts/day
Rate limit2 videos/minute

Common errors:

  • spam_risk_too_many_posts — daily limit reached, wait 24h
  • duration_check_failed — video must be 3s–10min
  • unaudited_client_can_only_post_to_private_accounts — app needs TikTok audit

> ⚠️ If your TikTok app is not audited by TikTok, all posts will be private by default.

Upload a TikTok Video

TikTok requires video. Use the 3-step upload workflow:

// Step 1: Create post (draft without scheduledTime, or scheduled)
const post = await fetch('https://api.publora.com/api/v1/create-post', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' },
  body: JSON.stringify({
    content: 'Your TikTok caption here #trending',
    platforms: ['tiktok-123456789'],
    scheduledTime: '2026-03-20T18:00:00.000Z'
  })
}).then(r => r.json());

// Step 2: Get upload URL
const upload = await fetch('https://api.publora.com/api/v1/get-upload-url', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' },
  body: JSON.stringify({
    postGroupId: post.postGroupId,
    fileName: 'video.mp4',
    contentType: 'video/mp4',
    type: 'video'
  })
}).then(r => r.json());

// Step 3: Upload video to S3
await fetch(upload.uploadUrl, {
  method: 'PUT',
  headers: { 'Content-Type': 'video/mp4' },
  body: videoFileBytes
});

Python Example

import requests

HEADERS = { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' }

# Step 1: Create post
post = requests.post('https://api.publora.com/api/v1/create-post', headers=HEADERS, json={
    'content': 'Your TikTok caption #viral',
    'platforms': ['tiktok-123456789'],
    'scheduledTime': '2026-03-20T18:00:00.000Z'
}).json()

# Step 2: Get upload URL
upload = requests.post('https://api.publora.com/api/v1/get-upload-url', headers=HEADERS, json={
    'postGroupId': post['postGroupId'],
    'fileName': 'video.mp4',
    'contentType': 'video/mp4',
    'type': 'video'
}).json()

# Step 3: Upload
with open('video.mp4', 'rb') as f:
    requests.put(upload['uploadUrl'], headers={'Content-Type': 'video/mp4'}, data=f)

Platform Quirks

  • Video only — TikTok does not support images or text-only posts via API
  • Minimum duration: 3 seconds; maximum via API: 10 minutes
  • Unaudited apps post privately — videos will be set to private if the Publora TikTok app hasn't passed TikTok's audit
  • Caption limit is 2,200 via API (not 4,000 like native) — keep captions concise
  • Daily limit: 15–20 posts/day enforced by TikTok

版本历史

共 2 个版本

  • v1.1.0
    2026-03-29 04:41
  • v2.0.0 当前
    2026-03-27 20:09 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,442
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 858 📥 199,491
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,152