Skip to main content

YouTube title generator API

Describe your video, pick a style, and get five title drafts of 100 characters or less with the main keyword first, or start from the title formula and templates below.

  • Endpoint: POST https://postboost.co/app/api/tools/youtube-title-generator (operationId generateYoutubeTitles)
  • Web tool: postboost.co/tools/youtube-title-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-titles on https://postboost.co/mcp/tools (listed only with a token)

Request​

FieldTypeDefaultDescription
textstringWhat the video is about.
stylestring: how-to, listicle, question, story, news"how-to"how-to ("How to ..."), listicle ("7 ways to ..."), question, story (first person) or news.
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-title-generator \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"text":"Baking sourdough bread at home for beginners","style":"how-to"}'

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

Response​

{
"titles": [
"How to Bake Sourdough Bread at Home (Beginner Friendly)",
"How to Make Your First Sourdough Loaf, Step by Step",
"How to Bake Sourdough at Home Without Special Tools",
"Sourdough for Beginners: How to Bake Your First Loaf",
"How to Bake Sourdough Bread: A Simple Guide for Beginners"
],
"credits_spent": 1,
"cached": false
}

With MCP​

Connect https://postboost.co/mcp/tools (setup) and ask, for example: Write five YouTube video titles with AI (needs a token, spends AI credits) with the PostBoost generate-youtube-titles 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.