POST
/video1 creditArticle to Video
Turn an article URL or pasted text into a narrated mp4. Async: returns a jobId immediately; poll GET /video/{jobId} until status is done (usually 2 to 4 minutes). API renders are never watermarked. Charges 1 video credit on enqueue.
POSThttps://www.startuphub.ai/api/v1/video
Request
curl -X POST "https://www.startuphub.ai/api/v1/video" \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"url":"https://www.startuphub.ai/ai-news/example-post","format":"9:16"}'Parameters
urlstringoptionalArticle URL (any site; on-site /ai-news URLs use richer b-roll). Provide url OR text.
textstringoptionalArticle text (>= 200 chars). Used when url is omitted.
titlestringoptionalOptional title (auto-generated if omitted).
voicestringoptionalAzure TTS voice id (default en-US-AvaNeural).
formatstringoptional9:16 (vertical, default) or 16:9 (landscape). Also accepts wide: true.
visual_stylestringoptionalVisual style preset (default gradient).
subtitlesbooleanoptionalBurn in subtitles (default true).
Response
json
{
"jobId": "uuid",
"status": "queued",
"poll_url": "/api/v1/video/uuid",
"retry_after_seconds": 15,
"note": "Rendering runs async on our servers (usually 2 to 4 minutes). GET the poll_url until status is done for the mp4 URL.",
"cost": 1,
"credits_remaining": 9
}Errors
400Invalid or too-short input401Invalid or missing API key402Insufficient video credits500Enqueue failed (credit refunded)