API Documentation
Blog to Shorts API
Integrate article-to-shorts workflows, script generation, and creator-ready exports into your applications
Fast & Reliable
Production-ready workflow endpoints with clear request and response models
Secure
Authenticated creator workflows with credits, quotas, and access control
Global CDN
Built for global web delivery and API integration
Quick Start
1. Install the SDK
npm install @blog-to-shorts/sdk
2. Initialize the Client
import { BlogToShortsClient } from '@blog-to-shorts/sdk';
const client = new BlogToShortsClient({
apiKey: process.env.BLOG_TO_SHORTS_API_KEY
});3. Generate Script Outputs
const result = await client.blogToShorts.create({
sourceType: "url",
sourceUrl: "https://example.com/my-article",
platform: "tiktok",
count: 5,
style: "hook_first",
duration: 30
});
console.log(result.shorts); // Script outputsAPI Endpoints
POST
/api/blog-to-shortsGenerate multiple short-form outputs from a blog post or article
GET
/api/user/generations?type=blog_to_shortsRetrieve previous Blog-to-Shorts generations
GET
/api/user/statsRetrieve creator statistics and credit usage
GET
/api/user/creditsCheck remaining credits
Get Your API Key
Start building Blog-to-Shorts workflows today. Use the API to generate hooks, scripts, captions, and creator-ready export structures.