SamAutomation (Sam Automation) is a deterministic video API: send a JSON payload — media, voice-over, captions, timings — and get a finished MP4 back. Wire it into n8n or your backend. Then generate AI video & images on the same key.
Watch the workflow SamAutomation is built for: JSON in, a render job queued, a finished MP4 out, plus optional AI footage and n8n-ready callbacks when your pipeline needs them.
// sound on for the full motion edit
Deterministic, repeatable rendering built for backends and no-code pipelines — not a manual editor. Structured input in, finished video out, every time.
Coming from an editor? Read what a CapCut API can and cannot do, or start with JSON to video and text to video.
Mix video, images, voice-over and captions from one payload. Simple, loop and advanced renderers for every format.
Submit async, get a task id, poll progress or receive a callback. Designed to run without a human in the loop.
Save a render as a template, then feed it new data. Browse the marketplace or publish your own.
Auto-captions from a transcript or script — burned-in subtitles for social, with styling control.
Same key, same job pattern. Generate clips and images from 31 video and 17 image models when you don't have source footage — then composite them with JSON-to-video.
Describe a scene, get a clip.
xAI text and image to video.
Director-grade text/image-to-video, with a fast tier.
Cinematic text/image-to-video with synchronized native audio.
Animate a still or a first/last frame.
Image-to-video at standard and pro quality tiers.
Steer with images, video, voice or character refs.
Any-input-to-video with voice and character consistency.
Transfer motion from a reference video onto your character.
Multimodal video with native audio and multi-shot cuts.
Talking avatars and re-synced footage.
Expressive talking avatar from one image and audio.
Re-sync an existing video's lips to new target audio.
Edit, extend and transform existing clips.
Joint audio-video generation with best-in-class multilingual lip-sync.
Director-grade suite: generate, reference and edit video.
All-in-one video creation and editing under one model.
// real output — generated through the API, not stock footage
Most model families ship in tiers. Prototype on the Lite or Fast variant for a fraction of the credits, lock the prompt, then switch the model_id to the top tier for your production render — same call, same payload.
cheap to prototype → premium to ship
cheap to prototype → premium to ship
cheap to prototype → premium to ship
Every option's exact credit cost is in GET /api/ai/models — query it before you call, so cost is never a surprise.
Every plan includes JSON-to-video rendering plus monthly AI credits. AI credits scale with the work — the number you see in the API is the number you pay. Top up anytime.
One key for deterministic JSON-to-video and 48 AI models. Documented, white-label, ready for your pipeline.