TikTok CDN Uploader

Video Segments & WebP Disguised Engine

Dashboard / Settings

Upload Settings & Accounts

Manage multiple TikTok accounts/cookies, auto-extract CSRF tokens, and configure upload endpoints.

Back to Upload

TikTok Accounts & Cookies

Store multiple cookies with automatic CSRF token extraction. Choose which account is active for uploads.

Configured Accounts (1) Active account is used for uploads by default
srihg ★ Active Default sessionid: Valid x-csrf-token: CBUB5FKK-t...XfRU_Q
Cookie: tiktok_webapp_theme_source=auto;tiktok_w... (3566 chars)

Add New TikTok Account

Upload Settings & API Options (/api)

Configure API endpoints, round-robin account juggling, container disguise defaults, and custom headers.

🔀 Juggle Active
Next upload uses: srihg
png-real

Applied to all API uploads and dashboard uploads by default.

Passed as a form field in the multipart body (default: 0)

Note: CSRF token is automatically extracted from your cookie and injected into x-csrf-token. You only need to add extra headers here if required.

Upload API & Headless Streaming Guide
In-Memory • Zero Disk Storage

You can stream files directly to POST /api/upload. Data is processed strictly in-memory (never written to local disk) and uploaded straight to TikTok's CDN. Accounts rotate one by one automatically on every upload when juggling is enabled.

1. Stream raw video segment without saving locally (Octet-Stream / MP2T):
curl -X POST --data-binary @chunk.ts -H "Content-Type: video/mp2t" -H "X-Filename: chunk.ts" http://localhost:3000/api/upload
2. Multipart upload with auto account juggle:
curl -X POST -F "file=@video.ts" http://localhost:3000/api/upload
3. Inspect or configure API options via /api:
# View current options: curl http://localhost:3000/api # Change disguise format to PNG and enable account juggling: curl -X POST http://localhost:3000/api -H "Content-Type: application/json" \ -d '{"disguiseFormat": "png", "accountStrategy": "juggle"}'
Automatic CSRF Token Extraction

When you upload a video segment or image, the uploader automatically checks your active TikTok cookie for CSRF tokens under: csrf_session_id, tt_csrf_token, passport_csrf_token, or csrf_token.

If found, it automatically sets the x-csrf-token HTTP request header on the upload request, so you don't need to manually copy and paste CSRF tokens.