Skip to main content

YouTube description generator API

Describe your video and get three description drafts under YouTube's limit, with the hook first and your own chapter times, or fill in the template below.

  • Endpoint: POST https://postboost.co/app/api/tools/youtube-description-generator (operationId generateYoutubeDescription)
  • Web tool: postboost.co/tools/youtube-description-generator
  • Token: required. A new generation spends 1 AI credit of the workspace you name (or your active workspace); a repeated identical request is answered from the cache for free. A scoped API key needs the ai ability and pays with its own workspace
  • MCP: tool generate-youtube-description on https://postboost.co/mcp/tools (listed only with a token)

Request​

FieldTypeDefaultDescription
textstringWhat the video is about: a summary or the main points.
keywordsstringOptional search keywords to use naturally, comma separated.
chaptersbooleanfalseAdd a chapters block after the first paragraph.
chapter_linesarray of stringYour chapters as m:ss Title lines, the first at 0:00. Used verbatim when chapters is true; without them the block has fill-in placeholders. Timestamps are never generated.
ctastring: subscribe, link, none"subscribe"The closing call to action: subscribe, link (a [link] placeholder) or none.
workspacestringUUID of the workspace whose AI credits pay for the call. Default: your active workspace (a scoped API key: its own workspace).

Call it​

curl -X POST https://postboost.co/app/api/tools/youtube-description-generator \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"text":"A beginner sourdough bread recipe: feeding the starter, mixing, shaping and baking in a Dutch oven.","keywords":"sourdough bread, beginner","chapters":true,"chapter_lines":["0:00 Intro","1:30 Feeding the starter","4:10 Shaping","9:45 Baking"],"cta":"subscribe"}'

This tool needs a token: send Authorization: Bearer YOUR_API_TOKEN as a default header (how, per SDK).

Response​

{
"descriptions": [
"Bake your first sourdough bread at home with this beginner recipe, from starter to crust.\n\nChapters\n0:00 Intro\n1:30 Feeding the starter\n4:10 Shaping\n9:45 Baking\n\nWe feed the starter, mix a simple dough, shape it and bake it in a Dutch oven. The full recipe is at [link].\n\nSubscribe for more bread recipes.\n#sourdough #baking",
"New to sourdough bread? This video takes you through one loaf, step by step.\n\nChapters\n0:00 Intro\n1:30 Feeding the starter\n4:10 Shaping\n9:45 Baking\n\nYou only need flour, water, salt and an active starter. Recipe and timings: [link].\n\nSubscribe so you don't miss the next bake.\n#sourdoughbread"
],
"credits_spent": 1,
"cached": false
}

With MCP​

Connect https://postboost.co/mcp/tools (setup) and ask, for example: Write three YouTube video descriptions with AI (needs a token, spends AI credits) with the PostBoost generate-youtube-description tool.

Errors​

StatusWhen
401No token, or an invalid one. The body has register_url to create a free account.
403workspace is not a workspace you belong to, or your account has no workspace, or a scoped API key lacks the ai ability or is bound to another workspace (code: insufficient_scope).
413The JSON body is larger than 128 KB.
422A field is invalid; the body lists the errors per field.
429The workspace has no AI credits left this billing cycle (code: ai_credits_exhausted, upgrade_url), or the per-minute limit is reached.
502The AI provider failed or timed out. No credit was spent.
503AI tools are switched off right now.