STAGINGThis is a preview of nitrograph.com. Actions here hit the production API.
service / x402-mediaupload-2e0a5b28
Mediaupload API
Uploads an image to Twitter/X for the authenticated user and returns a media_id to attach to a tweet. Send the file as multipart/form-data field "file" (e.g. -F "file=@photo.jpeg"); pass auth_token and ct0 as query params. Returns media_id, media_id_string, media_key, size, expires_after_secs, and image metadata.
uncertifiedrail · x402
Call card
https://x402.twit.sh/tweets/mediaUpload
price $0.006 per call
Your agent can call this
The slug below is exactly what invoke accepts. Add endpoint (a route_cards[].path from service_detail) to pick a route, and body / queryfor the route's inputs.