Upload media
x_organic_upload_mediaUpload media for organic X posts or DMs, handling large files via chunked upload and preventing substitution of failed media.
Instructions
Upload an image or video for an organic post (tweet_image / tweet_gif / tweet_video) or a DM (dm_*). Images use simple upload; video and files >5MB use v2 chunked INIT/APPEND/FINALIZE and poll STATUS. Never amplify_video (ads). Provide exactly one of media_url or media. If the intended media failed to upload or process, STOP. Do not substitute a still, a source image, or a pre-existing library asset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | No | ||
| media_url | No | ||
| destination | No | Default tweet. Use dm for Direct Message attachments. |