Overview
The LongStories.ai API allows you to programmatically generate engaging videos from text prompts (up to 10 minutes long). Our API provides endpoints for video generation and status checking.Base URL
Authentication
All API endpoints require authentication using an API key. Include your API key in thex-api-key header of all requests:
Keep your API key secure and never expose it in client-side code. If you need to rotate your API key, contact support.
Rate Limits
- In High Traffic moments rate limits might apply to your account. For more information, contact support.
Response Format
All responses follow a consistent JSON format:Error Handling
When an error occurs, you’ll receive a JSON response with error details:Available Endpoints
Generate a Video
Create a new video from a text prompt (up to 10 minutes)
Get Generation Status
Check the status of a video generation