用途:通过 inference.sh CLI(infsh)自动化 Twitter/X 操作,覆盖发帖、互动和用户管理。
主要能力(应用 ID):发文字推文 x/post-tweet;带媒体发帖 x/post-create;点赞 x/post-like;转推 x/post-retweet;删除推文 x/post-delete;按 ID 获取推文 x/post-get;发送私信 x/dm-send;关注用户 x/user-follow;获取用户资料 x/user-get。
使用方式:需先安装 inference.sh CLI(infsh),然后登录: infsh login 发推示例: infsh app run x/post-tweet --input '{"text": "Hello from inference.sh!"}' 带媒体发帖可先生成输入模板再编辑: infsh app sample x/post-create --save input.json infsh app run x/post-create --input input.json 其他操作同样以 infsh app run 加对应应用 ID 和 JSON 输入执行,例如点赞 x/post-like、转推 x/post-retweet、发私信 x/dm-send、关注 x/user-follow、获取资料 x/user-get、获取推文 x/post-get、删除 x/post-delete。
组合工作流:可先生成图片(如 falai/flux-dev-lora)或视频(如 google/veo-3-1-fast),再将得到的媒体 URL 传给 x/post-create 发布。
相关技能:npx skills add inference-sh/skills@infsh-cli(全平台 150+ 应用)、@ai-image-generation、@ai-video-generation、@ai-avatar-video;可用 infsh app list 浏览全部应用。
限制:资料未提供收费、价格、平台支持范围、速率限制及 Twitter/X 账号授权细节,需参考官方文档中的 X.com Integration 说明。