POST /media/upload. Use returned media_id values in post endpoints (default_image_id, video_id, image_ids).
Full API reference: Media.
Upload flow
media_id — reference it in post bodies.
Large files (≥ 10 MB)
Use the chunked storage API (not query params on/upload):
POST /media/storage/init— getupload_idPOST /media/storage/chunk— send 1 MB chunksPOST /media/storage/complete— finalize and getmedia_id
Video processing after upload may take time for large files. The complete step uses an extended timeout.
Supported formats
General requirements
Auto-fit canvas sizes
When image auto-fix runs, targets are:Platform-specific notes
Post body media fields
Example: multi-platform image post
AI-generated images
Generate images from text, then post:media_id in a post request. Requires AI Composer on your plan.
Related
Character limits
Caption and title limits
Scheduling
Schedule media posts
Media API
Upload, chunked storage, list, delete