LitMedia API Documentation
Use the LitMedia API to set up authentication, create AI video and image generation tasks, and manage result callbacks. Start building with the LitMedia API now.
Overview
LitMedia’s all-in-one API platform lets developers and businesses harness world-class AI image and video generation models through a single, unified interface. One integration gives you access to leading video and image models — no per-vendor contracts, no separate billing systems.
The platform delivers high-quality, scalable generation at a fraction of the cost of stitching providers together yourself, so you can focus on your product instead of provider plumbing.
Why the LitMedia API
Comprehensive model support
Access a curated, continuously expanding catalog of top-tier video and image models through one endpoint set. Every model is addressed by a static code documented on the Models page.
Versatile functionality
Text-to-video, image-to-video, text-to-image, video extension and enhancement, lip-sync and more — all following the same create → poll → retrieve pattern.
Budget-friendly excellence
Premium generation at competitive per-task prices, billed against a shared credit balance across every model on the platform.
Simple authenticated access
A single bearer API key gets you a working first request in minutes. Full examples in cURL, JavaScript and Python.
Get started
Quick Start
Base URL, authentication and your first API call.
Models
Model codes with the exact parameters, values and limits for each.
Video Generation
Create text-to-video and image-to-video tasks.
Image Generation
Generate images from text prompts.
Task Status
Poll generation progress and fetch result URLs.
Pricing & Credits
How credits are consumed and how to top up.
Need an enterprise solution or a dedicated quota? Contact us to get your API key and top up credits.