面向AI智能体的社交媒体自动化:创建帖子、安排内容、上传媒体、管理队列、跟踪发布、整理创意,并跨平台发布。
Wahlu lets your agent create, schedule, and publish social media posts across Instagram, TikTok, LinkedIn, Facebook, and YouTube — all from the command line.
bash
# Set your API key (get one at wahlu.com under Settings > API Keys)
export WAHLU_API_KEY=wahlu_live_...
No global install needed — use npx @wahlu/cli to run any command.
npx @wahlu/cli brand listnpx @wahlu/cli brand switch <brand-id>npx @wahlu/cli integration list (get integration IDs for scheduling)npx @wahlu/cli post create --name "Title" --instagram '{"description":"Caption","post_type":"grid_post"}'npx @wahlu/cli schedule create <content-item-id> --at 2026-03-15T14:00:00Z --integrations <id>npx @wahlu/cli media upload ./photo.jpg (returns a media ID)npx @wahlu/cli publication listUse npx @wahlu/cli --help and npx @wahlu/cli <command> --help to discover all commands and options. Always use --json when you need to parse output.
CapabilityCommandsPost to 5 platformspost create with --instagram, --tiktok, --facebook, --youtube, --linkedinSchedule postsschedule create with --at (ISO 8601) and --integrationsUpload images & videomedia upload <file> — supports PNG, JPG, GIF, WebP, MP4, MOV, WebMManage posting queuesqueue list, queue add <queue-id> <content-item-id>Save content ideasidea create "Name" --description "Details"Organise with labelslabel create "Campaign" --color "#ff5500"View publish historypublication list — see status, platform, failure reasonsList connected accountsintegration list — find integration IDs for scheduling
Each platform has its own settings passed as JSON:
--instagram '{"description":"...","post_type":"grid_post|reel|story","media_ids":["mid-123"]}'--tiktok '{"description":"...","post_type":"video|image|carousel","media_ids":["mid-123"]}'--facebook '{"description":"...","post_type":"fb_post|fb_story|fb_reel|fb_text","media_ids":["mid-123"]}'--youtube '{"title":"...","description":"...","post_type":"yt_short|yt_video","media_ids":["mid-123"]}'--linkedin '{"description":"...","post_type":"li_text|li_image|li_video","media_ids":["mid-123"]}'bash
# Upload an image and create a cross-platform post
npx @wahlu/cli media upload ./photo.jpg
# → media ID: mid-abc123
npx @wahlu/cli post create --name "New product launch" \
--instagram '{"description":"Just launched!","post_type":"grid_post","media_ids":["mid-abc123"]}' \
--tiktok '{"description":"Just launched!","post_type":"image","media_ids":["mid-abc123"]}' \
--linkedin '{"description":"Just launched!","post_type":"li_image","media_ids":["mid-abc123"]}'
# Schedule for tomorrow at 9am
npx @wahlu/cli schedule create <content-item-id> \
--at 2026-03-15T09:00:00Z \
--integrations int-123 int-456 int-789
npx @wahlu/cli integration list to find integration IDs — never guess them--json flag when you need to parse command output programmatically