Quickstart
Create your first video with StrataKit in under 5 minutes. Each production costs just $0.05 or less.
All examples use free public domain media.Click "Try it" on any example to run it directly in your browser with your API key!
1. Get Your API Key
Sign up at stratakit.io and create an API key from your dashboard.
2. Create Your First Production
A "production" is a video rendering job. Let's start with the simplest possible example - a solid color video.
Simplest Example: Solid Color
No external media needed. Just a color and duration. The flat segments format is the simplest way to define content.
Basic Video Clip
Create a YouTube Short from a sample video.
Using cURL
Prefer command line? Here's the same request as cURL:
curl -X POST https://stratakit.io/api/v1/productions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"canvas": {
"preset": "youtube_short",
"segments": [
{ "type": "video", "url": "https://assets.stratakit.io/samples/video/8366020-hd_1080_1920_25fps.mp4", "duration": 10 }Using JavaScript
1 const response = await fetch('https://stratakit.io/api/v1/productions', { 2 method: 'POST', 3 headers: { 4 'Authorization': 'Bearer YOUR_API_KEY', 5 'Content-Type': 'application/json', 6 }, 7 body: JSON.stringify({ 8 canvas: {
Using Python
1 import requests 2 3 response = requests.post( 4 'https://stratakit.io/api/v1/productions', 5 headers={ 6 'Authorization': 'Bearer YOUR_API_KEY', 7 'Content-Type': 'application/json', 8 },
3. Check Status
Poll the production endpoint to check when your video is ready:
When complete, you'll get:
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"output_url": "https://assets.stratakit.io/outputs/550e8400.mp4",
"output_duration": 10.0,
"processing_time_ms": 8500
}4. Add Text Overlays
Text segments are automatically rendered on top of video content. Just add a text segment alongside your video — the API routes it to an overlay track.
5. Add Background Music
Add background audio with volume control. With the flat segments format, audio segments are automatically placed on a separate track.
6. Add Narration (TTS)
Generate voiceover using text-to-speech. TTS segments are automatically placed on a separate audio track. Add captions to display synchronized text. All TTS providers are powered by fal.ai.
TTS Provider
TTS is powered by elevenlabs Multilingual v2 via fal.ai, with character-level timestamps for karaoke-style captions.
7. Use Webhooks (Recommended)
Instead of polling, set up a webhook to be notified when your video is ready. Just add a webhookUrl to your request:
We'll POST to your URL when the video completes:
{
"event": "production.completed",
"timestamp": "2026-01-15T10:30:12Z",
"data": {
"production_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"output_url": "https://assets.stratakit.io/...(presigned URL)",
"error": null,8. Full Production Example
Here's a complete example combining everything: multiple video clips, TTS narration, auto-captions, background music, and webhook notification — all using the simple segments format.
Available Presets
| Preset | Resolution | Aspect Ratio |
|---|---|---|
| youtube_short | 1080x1920 | 9:16 |
| youtube_landscape | 1920x1080 | 16:9 |
| instagram_reel | 1080x1920 | 9:16 |
| instagram_story | 1080x1920 | 9:16 |
| instagram_feed | 1080x1080 | 1:1 |
| tiktok | 1080x1920 | 9:16 |
| hd | 1280x720 | 16:9 |
| full_hd | 1920x1080 | 16:9 |
| 4k | 3840x2160 | 16:9 |
Next Steps
- API Reference - Complete technical documentation
- Full Documentation - All asset types and advanced options
- Browse Templates - Start from pre-built video templates
- Webhook Documentation - Event handling and best practices
- n8n Integration - Automate video workflows
- OpenAPI Spec - Complete API reference