Images
Upload an image
Uploads an image to PostQuickAI storage and returns a public URL hosted on a domain whitelisted by our TikTok developer app. Use this to host externally-generated carousel slides (or any image) on a URL that TikTok will accept when publishing via /v1/posts/create.
Accepts three input shapes:
- multipart/form-data with a file field — direct binary upload (best for browsers / curl).
- application/json with a data field — base64-encoded raw bytes (best for MCP clients / Claude / ChatGPT that have a file inline but cannot send multipart). Optionally include contentType and fileName.
- application/json with a sourceUrl field — server fetches and re-hosts a public URL (best for re-hosting from your own CDN).
Limits: image/jpeg, image/png, image/webp, image/gif. Max 10MB. Counts against your storage quota.
Typical MCP flow: call uploadImage with base64 data → take the returned imageUrl → pass it as imageUrl to createPost (or as one entry in imageUrls for a carousel).
post/v1/images/upload
Request
- Base URL: https://www.postquick.ai/api
- URL: https://www.postquick.ai/api/v1/images/upload
- Auth: HTTP bearer
Request body
Response
Image uploaded.
Changes
No recorded changes to this operation across all 1 revision of this API.