Upload Media
Upload an image, GIF or video to X and get a media_id to attach when creating a tweet.
Authorizations
Your OmniX API key, e.g. omnix_live_.... Billed per call.
Body
The X account auth_token cookie the action runs as.
"YOUR_X_AUTH_TOKEN"
URL of the media to upload.
"https://picsum.photos/800/600"
Base64 media (optionally a data: URI). Use instead of media_url.
MIME type, e.g. image/jpeg, video/mp4. Required with media_data if not a data: URI.
Optional outbound proxy for this call (http:// or https://, optionally user:pass@host:port). The X request runs through it — useful for geo-routing or spreading calls across IPs. SOCKS proxies are not supported.
"http://user:pass@host:8080"