AI Video Generation API
🎬 Try it now on Lumina: lumina.aiappviet.com – one API key for both images and videos. Get API Key →
Generate AI videos via REST API: text-to-video, image-to-video (first-frame image), and pre-built video concepts, running on a multi-worker queue system for stable processing.
Use Cases
- E-commerce: product showcase videos from existing photos.
- Branding: logo animations, short promotional clips.
- Creators & Virtual Influencers: consistent short-form videos for TikTok, Reels, and Shorts.
- Applications: video generation features for end-users.
Technical Specifications
- Base URL:
https://lumina.aiappviet.com - Authentication:
Authorization: Bearer <API key>(key formatlm_...) - Generate Video:
POST /api/v1/videos– parameters:prompt,size(e.g.,"16:9"),duration(seconds, e.g.,5),image(first-frame image URL, optional) - Retrieve Result:
GET /api/v1/generations/{id}–statusisrunning,done, orfailed;urlprovided upon completion;creditsChargedindicates credits deducted. - Error Codes:
401invalid key ·402insufficient credits ·429rate limit/queue full ·400invalid content
curl -X POST https://lumina.aiappviet.com/api/v1/videos \
-H "Authorization: Bearer lm_..." \
-H "Content-Type: application/json" \
-d '{"prompt": "slow motion model, gentle breeze", "size": "16:9", "duration": 5}'
curl https://lumina.aiappviet.com/api/v1/generations/12 \
-H "Authorization: Bearer lm_..."
Videos require longer processing times than images, so please check the status periodically via the generations endpoint. See sample code for handling asynchronous tasks in the article Integrating AI Image API into your website.
Pricing
Contact us for the best pricing.
Getting Started
- Sign up at lumina.aiappviet.com.
- Purchase a credit package.
- Get your key at API Keys and integrate.
- Need custom concepts or high volume? Contact us.
Read more: AI Video Generation Trends 2026.