generate_posts_from_video
Write posts from a YouTube video (SupaBird's Video to Posts). SupaBird reads the video's transcript and writes posts in the user's voice. This tool starts a background job and returns a job_id immediately — it does NOT return posts directly. After calling this you MUST call check_ideas_status with the returned job_id and keep polling until status is 'completed' or 'failed'. It usually takes 30–90 seconds. Tell the user the posts are being written while you wait.
- video_url: a YouTube link (youtube.com/watch?v=…, youtu.be/…, or youtube.com/shorts/…). The video needs captions. Other sites and uploaded video files are not supported; a video file the user attached is post media for schedule_post, not a source for this tool.
- number_of_posts: what the user asked for, 1–30. Defaults to 10.
- instructions: optional focus, tone or length the user asked for.
- use_video_language: true only when the user wants the posts in the video's language. Default is English.
The posts also show in the SupaBird app under Video to Posts, next to the video, like when the user runs it there. To schedule one, use schedule_post with its text.Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_url": "<video_url>"
},
"name": "generate_posts_from_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_url | Yes | The YouTube video link, e.g. https://www.youtube.com/watch?v=… or https://youtu.be/… | |
| social_set | No | The social set (brand) this is for: its name, id or one of its handles. Omit when the user has one set. | |
| instructions | No | Optional focus, tone or length. Example: 'Only the pricing lessons, short punchy posts'. | |
| number_of_posts | No | How many posts to write (1-30). Defaults to 10. | |
| use_video_language | No | true = write the posts in the video's language. false (default) = write in English. |