Media has to live on a PostQueen domain before she can attach it, so every image and video goes through her first.
Uploading Files
Upload a local file and receive a URL you can use in posts:
The command returns a JSON response with the uploaded file’s URL:
You must upload media files to PostQueen before using them in posts. Many platforms (TikTok, Instagram, YouTube) require verified URLs and will reject external links.
Upload and Post Workflow
Supported File Types
The API inspects the file’s bytes rather than its extension, and accepts:
- Images: JPEG, PNG, GIF, WebP, AVIF, BMP, TIFF (10 MB cap)
- Video: MP4 (1 GB cap)
Anything else returns Unsupported file type.
Only .png, .jpg, .jpeg, .gif, .webp and .mp4 paths can be attached to a post. AVIF, BMP and TIFF upload successfully and are then rejected by posts:create with File must have a valid extension. Convert those before uploading.
Video Upload Example
Platforms like TikTok, YouTube, and Instagram require video uploads through PostQueen:
privacy_level and the other TikTok settings apply only when content_posting_method is "DIRECT_POST", with "UPLOAD" (send to the TikTok app inbox instead of publishing) TikTok keeps only the post content.