Videoslash API
Tools

Generate script title

Generate a short-form video title and hookAngle for a topic enum. Costs credits. If the user only says "write a title" without a topic, map their subject to the closest topic enum, or if unclear offer a short list of matching topics and wait. Do not invent topic values outside the enum. Prefer calling this before generate_script so you can pass title + hookAngle through. Requires scripts:generate scope.

Generate script title

Tool name: generate_title

Required scope: scripts:generate

Generate a short-form video title and hookAngle for a topic enum. Costs credits. If the user only says "write a title" without a topic, map their subject to the closest topic enum, or if unclear offer a short list of matching topics and wait. Do not invent topic values outside the enum. Prefer calling this before generate_script so you can pass title + hookAngle through. Requires scripts:generate scope.

Parameters

NameTypeRequiredDescription
topicenum (INTERESTING_FACTS, REDDIT_STORIES, CREEPY_STORIES, QUICK_HACKS, PHILOSOPHICAL, STORYTELLING, OPINION_PIECES, MOTIVATIONAL, VIRAL_FACTS, HISTORICAL, BOOKS_MOVIES, TRUE_CRIME, SCIENCE_EXPLAINED, PSYCHOLOGY, MONEY_FINANCE, RELATIONSHIPS, WORKPLACE, SURVIVAL, ANCIENT_CIVILIZATIONS, ANIMALS_NATURE, TECH_AI, FOOD_FACTS, SPORTS, POP_CULTURE, WHAT_IF, URBAN_LEGENDS)requiredRequired topic enum. Map the user request to the closest value (for example food → FOOD_FACTS, history → HISTORICAL, AI → TECH_AI). If the topic is ambiguous, briefly offer 3–5 matching options and wait for the user before calling this tool.

On this page