AI Video Generation API: 50 Models, One API Key
An AI video generation API turns a text prompt or an image into a video clip through an HTTP request. APIMart offers 50 video models from ByteDance, Google, Kuaishou, Alibaba, MiniMax, xAI and others, including Seedance 2.5, Veo 3.1, Kling 4.0 and Wan 3.0, with one API key and one balance. Compare live prices below, then open a model for its parameters, playground and code.
Text-to-Video and Image-to-Video API Models
Every video model below uses the same APIMart key and balance and runs as an asynchronous task. Inputs, durations and parameters differ by model, so open a model for its parameter table, pricing and code examples.
MAGI-2 API
MAGI-2 is Sand.ai’s video model. Use magi-2 on APIMart for text-to-video, first/last-frame image-to-video and multimodal reference-to-video. Generate 4–30 seconds at 1080p with audio on by default. Pay for output seconds; references and the audio toggle do not change the rate.
1080p4–30sNative audioView API & pricingMuse Video API
Generate a video from a prompt or up to nine reference images with Muse Video API. Retrieve one MP4 clip with sound at 720p, 2–10 seconds long, through the task API.
Video generationView API & pricingapimart-zoe API
The apimart-zoe API gives you APIMart's multimodal video generation model: 4–30 second clips at 480p, 720p, 1080p, 2k or 4k from a text prompt, first and last frames, or up to 30 reference images, 10 reference videos and 10 reference audio clips, with optional audio generated together with the video. It can also edit an existing video, and a two-step workflow turns a low-cost 480p draft into a 1080p final, all through one model ID.
AI VideoUp to 4KMultimodal ReferenceDraft to FinalView API & pricingFLUX 3 Video API
FLUX 3 Video by Black Forest Labs supports text-to-video, image-to-video with 1–10 ordered keyframes, video continuation, and draft enhancement. Generate synchronized audio with 5–20 second HD or FHD output, configurable safety tolerance, and per-second billing.
Native Audio5–20 SecondsOrdered KeyframesHD and FHDView API & pricingWan 3.0 API
Wan 3.0 API (Wan3.0) on APIMart gives you Alibaba's newest Wan video model through the Wan API. Send a prompt alone, a first frame with an optional last frame, or image, video, audio, document and webpage references, and get a 2–30 second video at 480P, 720P or 1080P with audio on by default. Model ID: wan3.0-video.
Up to 30 Seconds480P / 720P / 1080PFrames or ReferencesAudio by DefaultView API & pricingWan 3.0 Prime API
Wan 3.0 Prime API (wan3.0-video-prime) on APIMart is the Prime model in Alibaba's Wan 3.0 series. It accepts exactly the same parameters as wan3.0-video: a prompt, first and last frames, or image, video, audio, document and webpage references, for 2 to 30 second video at 480P, 720P or 1080P with audio on by default. It has its own model ID and per-second price.
Same Inputs as Wan 3.0Up to 30 Seconds480P / 720P / 1080POwn Model and PriceView API & pricingHappyWan API
HappyWan API (Happy Wan API) is coming to APIMart. Explore HappyWan video workflows, organize prompts and reference media, and prepare your happywan API integration.
Coming soonVideo generationRequest workspaceView API & pricingVeo 3.1 API
Veo 3.1 is the current version of Google's Veo 3 video model family. APIMart serves it through three Ext models (veo3.1-lite, veo3.1-fast, veo3.1-quality, billed per 8-second video) and two official-channel models (veo3.1-fast-official, veo3.1-quality-official, billed per second), all with one API key.
Commercial UseView API & pricingGemini Omni 1.2 Flash API
Gemini Omni 1.2 Flash API (gemini-omni-1.2-flash) is Google's multimodal video model for text-to-video, image-to-video, first/last-frame interpolation, video editing and extension. Set duration from 3 to 15 seconds, get audio in every clip, and pay per second by resolution on APIMart. The Ext channel gemini-omni-1.2-flash-ext covers the same core modes, including first and last frames, with a fixed price per second.
3–15s with audioEdit & extend video360p to 4KView API & pricingGemini Omni 1.1 Flash API
Gemini Omni 1.1 Flash API (gemini-omni-1.1-flash) is Google's multimodal video model for text-to-video, image-to-video, first and last frame interpolation, video editing and extension. On APIMart it runs through an asynchronous task API and is billed per second by output resolution.
Multimodal VideoFirst-Last Frame360p to 4KView API & pricingGemini Omni 1.1 Flash Ext API
Gemini Omni 1.1 Flash Ext API (gemini-omni-1.1-flash-ext) on APIMart creates video from text, one image, a reference video or three reference images. Set duration, resolution and aspect ratio in the request. Standard requests are priced by resolution and duration; requests with a reference video are billed per second of the source video.
Text to VideoFast GenerationSimple APIView API & pricingGemini Omni Flash Preview API
Gemini Omni Flash Preview API on APIMart provides streamlined text-to-video, image-to-video, and video-to-video generation. Send model and prompt through APIMart's unified video generation endpoint, making the model easy to test, integrate, and scale.
Text to VideoImage to VideoVideo to VideoView API & pricingPixVerse V6 API
PixVerse V6 is the flagship AI video model PixVerse released on March 30, 2026, built for multi-shot clips with native audio, camera control and expressive characters. On APIMart it is the PixVerse API entry: one endpoint covers text to video, image to video, first/last frame transitions, 1–7 reference images and video extension, at 360p to 1080p for 1–15 seconds, billed per second.
Text to VideoImage to VideoMulti-ShotOptional AudioView API & pricingPixVerse V6 Max API
PixVerse V6 Max is the high-quality variant of PixVerse V6. PixVerse V6 Max API generates video from text or one image with model pixverse-v6-max. Choose 1–15 seconds, 360p/540p/720p/1080p and optional native audio. Max focuses on these two workflows; PixVerse V6 remains available for transitions, fusion and extension.
Text & image to video1–15 secondsOptional native audioView API & pricingKling 4.0 API
Kling 4.0 API (kling-v4) unifies text-to-video, image-to-video, multimodal references, video editing and extension. Generate 3–30s clips in 720p or 1080p, always with stereo audio.
Five video modes720p / 1080pStereo audioView API & pricingKling 4.0 Flash API
Kling 4.0 Flash API (kling-v4-flash) is the faster, cost-effective tier of Kuaishou Kling 4.0: text-to-video, first-frame image-to-video, reference-to-video, video editing and extension under one model ID. Every 3–20s clip is 720p with audio.
Five video modes720p · 3–20sAudio includedView API & pricingKling 3.0 API
Kling API on APIMart gives you Kuaishou's Kling 3.0 video model (model ID kling-v3): text-to-video and image-to-video with first and last frames, 3–15 second clips in 720p, 1080p or 4K, optional native audio and multi-shot prompts, all with one APIMart key.
Text-to-VideoImage-to-VideoNative AudioView API & pricingKling 3.0 Omni API
Kling 3.0 Omni, also called Kling O3 or Kling V3 Omni, is Kuaishou's all-in-one Kling 3.0 model. On APIMart it uses model ID kling-v3-omni for text-to-video, image references with roles, video editing and feature reference, multi-shot prompts and subject elements, in std 720p, pro 1080p or 4K.
Video EditingUp to 4K3–15sView API & pricingKling 2.6 API
Kling 2.6 API on APIMart uses model ID kling-v2-6 for text-to-video and image-to-video. Choose std (720p, silent) or pro (1080p), 5 or 10 seconds, and add native audio or a last frame in pro mode. It also supports camera control and dynamic masks.
Native Audio (Pro)Camera Control5s or 10sView API & pricingKling 3.0 Turbo API
Kling 3.0 Turbo is the speed-first version of Kling 3.0. On APIMart it uses model ID kling-3.0-turbo for text-to-video and first-frame image-to-video, 3–15 seconds at 720p or 1080p, with multi-shot storyboards written in the prompt.
Speed-First720p / 1080p3–15sView API & pricingKling Motion Control 2.6 API
Kling Motion Control 2.6 transfers motion from a reference video onto the character in a reference image. On APIMart it uses model ID kling-v2-6-motion-control with std (720p) and pro (1080p) modes; the output follows the reference video length (3–10 s or 3–30 s) and is billed per second of that video.
Motion TransferReference Image + VideoPer-Second BillingView API & pricingKling 3.0 Motion Control API
Kling 3.0 Motion Control transfers motion from a reference video onto the character in a reference image. On APIMart it uses model ID kling-v3-motion-control with std (720p) and pro (1080p) modes; the output follows the reference video length (3–10 s or 3–30 s) and is billed per second of that video.
Motion TransferReference Image + VideoPer-Second BillingView API & pricingKling Video O1 API
Kling Video O1, often searched as Kling O1, is Kuaishou's unified video model. On APIMart it uses model ID kling-video-o1 for text-to-video, image references with <<<image_N>>>, first and last frames and editing an input video, in std (720p) or pro (1080p).
Video EditingImage References720p / 1080pView API & pricingMiniMax Hailuo 02 API
MiniMax Hailuo 02 (Hailuo 2) is MiniMax's video model released on June 18, 2025, built for strong instruction following and realistic physics. On APIMart it runs as the Hailuo API with model ID MiniMax-Hailuo-02, supporting text to video and first-and-last-frame image to video.
Text to VideoImage to VideoFirst & Last FrameView API & pricingMiniMax Hailuo 2.3 API
MiniMax Hailuo 2.3 is MiniMax's video model released on October 28, 2025, with better body movement, facial expressions and stylized looks than Hailuo 02. On APIMart it runs with model ID MiniMax-Hailuo-2.3 for text to video and first-frame image to video.
Text to VideoImage to VideoCamera ControlView API & pricingMiniMax Hailuo 2.3 Fast API
MiniMax Hailuo 2.3 Fast is the faster, lower-cost version of Hailuo 2.3, released by MiniMax on October 28, 2025. On APIMart it runs with model ID MiniMax-Hailuo-2.3-Fast for image to video from a required first frame.
Image to VideoBatch GenerationLow CostView API & pricingMiniMax H3 API
MiniMax H3 is MiniMax's general-purpose multimodal generation model, released on July 31, 2026, that generates video up to 15 seconds at 2K with native stereo audio. On APIMart you can call MiniMax-H3 for video, MiniMax-H3-Context-IR for prompt enhancement and MiniMax-H3-Regeneration to turn 768P previews into 2K.
2K VideoNative AudioMultimodal ReferenceView API & pricingMiniMax H3 Max API
MiniMax H3 Max (model ID MiniMax-H3-Max) is a fast model in the MiniMax H3 family on APIMart. It generates 5 to 15 second videos with audio at 480P, 768P or 1080P from text, first/last frames or multimodal references. For 2K or 768P-to-2K Regeneration, use MiniMax H3.
Up to 1080PVideo with AudioMultimodal ReferenceView API & pricingMiniMax H3 Lite API
MiniMax H3 Lite is a cost-efficient video model for testing creative directions and producing short clips. Generate 4–15 second videos at 480P or 768P from a prompt, a first frame with an optional last frame, or image, video and audio references.
480P / 768P4–15 secondsMultimodal referencesView API & pricingVidu Q3 API
Vidu Q3 API on APIMart (model ID viduq3): ShengShu's Vidu reference-to-video model turns a prompt and 1–7 reference images into 3–16 second clips at 540p, 720p or 1080p, keeping characters, products and style consistent. Use it for everyday reference videos with multi-angle camera switching.
Reference to Video1–7 Reference Images3–16 SecondsView API & pricingVidu Q3 Pro API
Vidu Q3 Pro API on APIMart (model ID viduq3-pro, often written vidu-q3-pro): ShengShu's Vidu model for text to video, image to video and first-and-last-frame video, with 1–16 second clips at 540p, 720p or 1080p and generated dialogue and sound effects on by default. It is the higher tier of the Vidu Q3 Pro and Turbo pair.
Text to VideoImage to VideoFirst-Last Frame1–16 SecondsView API & pricingVidu Q3 Turbo API
Vidu Q3 Turbo API on APIMart (model ID viduq3-turbo, often written vidu-q3-turbo): ShengShu's Vidu model for text to video, image to video and first-and-last-frame video, with 1–16 second clips at 540p, 720p or 1080p and generated dialogue and sound effects on by default. It has the lowest per-second rate in the Vidu series on APIMart.
Text to VideoImage to VideoFirst-Last Frame1–16 SecondsView API & pricingVidu Q3 Mix API
Vidu Q3 Mix API on APIMart (model ID viduq3-mix): ShengShu's Vidu reference-to-video model turns a prompt and 1–7 reference images into 1–16 second clips at 720p or 1080p, keeping characters, products and style consistent. It supports clips as short as 1 second, for premium quality and quick motion effects.
Reference to Video1–7 Reference Images1–16 SecondsView API & pricingVidu Q4 Preview API
Vidu Q4 API on APIMart (model ID viduq4-preview, often written viduq4): ShengShu's Vidu Q4 Preview turns one first frame, or 1–15 reference images with up to 3 reference audio clips, into 3–16 second videos at up to 4K with native audio. It is the newest model in the Vidu API family on APIMart.
Image to VideoReference to Video3–16 SecondsUp to 4KView API & pricingWan 2.5 API
Wan 2.5 API (Wan2.5 Preview) on APIMart runs Alibaba's Wan 2.5 video model with model ID wan2.5-preview. It turns a text prompt or a single image into a 5 or 10 second video at 480p, 720p or 1080p, and every clip comes with generated sound or your own audio track.
5 / 10 Seconds480p / 720p / 1080pAudio IncludedText & Image to VideoView API & pricingWan 2.6 API
Wan 2.6 API (Wan2.6) on APIMart runs Alibaba's Wan 2.6 video model with model ID wan2.6. It creates 5, 10 or 15 second videos at 720p or 1080p from a text prompt or a single image, with multi-shot storytelling, generated or custom audio and image-to-video effect templates.
5 / 10 / 15 Seconds720p / 1080pMulti-ShotAudio & EffectsView API & pricingWan 2.6 I2V API
Wan 2.6 I2V API (wan2.6-i2v) on APIMart runs Alibaba's dedicated Wan 2.6 image-to-video model. Send one first-frame image and an optional prompt to get a 5, 10 or 15 second video at 720p or 1080p, with single-shot or multi-shot output and an optional custom audio track.
Image to Video5 / 10 / 15 Seconds720p / 1080pMulti-ShotView API & pricingWan 2.6 I2V Flash API
Wan 2.6 I2V Flash API (wan2.6-i2v-flash, also called Wan 2.6 Flash) on APIMart runs Alibaba's Wan 2.6 Flash image-to-video model. Send one first-frame image and an optional prompt to get a video of any length from 2 to 15 seconds at 720p or 1080p, with generated audio, your own audio track or silent output, and optional multi-shot narration.
Any Length 2–15 sAudio or Silent720p / 1080pMulti-ShotView API & pricingWan 2.7 API
Wan 2.7 API (Wan2.7) on APIMart runs Alibaba's Wan 2.7 video model with one model ID, wan2.7. It creates 2–15 second videos at 720P or 1080P from a text prompt, a first frame, first and last frames or a source clip to continue, and can follow a reference audio track.
2–15 Seconds720P / 1080PFirst & Last FrameVideo ContinuationView API & pricingWan 2.7 R2V API
Wan 2.7 R2V API (wan2.7-r2v) on APIMart runs Alibaba's Wan 2.7 reference-to-video model. Give it up to 5 reference images and videos of characters, props or scenes, cite them in the prompt, and it generates a new 2 to 15 second shot at 720P or 1080P that keeps their look, with an optional reference voice for each character.
Reference to VideoUp to 5 References2–15 SecondsReference VoiceView API & pricingWan 2.7 Video Edit API
Wan 2.7 Video Edit API (wan2.7-videoedit) on APIMart runs Alibaba's Wan 2.7 video editing model. Send a 2 to 10 second source clip and an instruction to change outfits, replace backgrounds, add elements or restyle the whole video, optionally guided by up to 4 reference images, and get the edited clip at 720P or 1080P with the original or regenerated audio.
Instruction EditingStyle TransferUp to 4 Reference ImagesKeep or Regenerate AudioView API & pricingGrok Imagine Video API
The Grok Imagine API for video on APIMart runs xAI's grok-imagine-video model: text to video, image to video from one or more reference images, and editing of an existing clip. Clips last 1–15 seconds at 480p or 720p, and you pay per second of output.
Video GenerationImage to VideoVideo EditingView API & pricingGrok Imagine Video 1.5 API
The Grok Imagine Video 1.5 API on APIMart turns a prompt, or a prompt plus reference images, into a 1–15 second video at 480p, 720p or 1080p. This page offers xAI's official grok-imagine-video-1.5 and the lower-cost grok-imagine-1.5-video-ext.
Video GenerationHigh QualityView API & pricingSkyReels V4 Std API
SkyReels V4 is Skywork AI's multimodal video foundation model, introduced with the arXiv paper 2602.21818 in February 2026. APIMart offers the SkyReels V4 API in two tiers; this page covers SkyReels V4 Std (model ID skyreels-v4-std), the quality-first tier for key shots and final delivery. One endpoint handles text to video, image to video with first, last and keyframes, and Omni multimodal references, at 480p, 720p or 1080p for 3–15 seconds. The paper also describes generating a soundtrack together with the video; the APIMart API does not yet output video and newly generated audio at the same time.
Text to VideoImage to Video480p / 720p / 1080pView API & pricingSkyReels V4 Fast API
SkyReels V4 Fast (model ID skyreels-v4-fast) is the speed-first tier of Skywork AI's SkyReels V4 video model on APIMart. It accepts the same request fields as SkyReels V4 Std — text to video, image to video with first, last and keyframes, and Omni multimodal references — at 480p, 720p or 1080p for 3–15 seconds, at a lower per-second rate. Use it for quick previews, batch generation and everyday content, then move final shots to Std if you need more detail. The APIMart API does not yet output video and newly generated audio at the same time.
Fast TierText to Video480p / 720p / 1080pView API & pricingSeedance 1.0 Pro Quality API
The Seedance 1.0 Pro API on APIMart runs the quality tier of ByteDance Seedance 1.0 Pro (model ID seedance-1-0-pro-quality). Generate 2–12 second clips from text, a first frame, or first and last frames at 480p, 720p or 1080p.
Quality TierText to VideoFirst and Last FramesUp to 1080pView API & pricingSeedance 1.0 Pro Fast API
The Seedance 1.0 Pro Fast API on APIMart runs ByteDance's seedance-1-0-pro-fast model, the faster tier of Seedance 1.0 Pro for previews and iteration. Generate 2–12 second clips from text or a first-frame image at 480p, 720p or 1080p.
Fast TierText to VideoFirst-Frame Image to VideoUp to 1080pView API & pricingSeedance 1.5 Pro API
The Seedance 1.5 Pro API on APIMart runs ByteDance Seedance 1.5 Pro, a video model that generates sound together with the picture. Create 4–12 second clips from text or from first and last frame images at 480p, 720p or 1080p.
Native AudioText to VideoImage to VideoUp to 1080pView API & pricingSeedance 2.0 API
The Seedance 2.0 API on APIMart gives you ByteDance's Seedance 2.0 video model, listed on Volcano Engine as Doubao-Seedance-2.0, for text to video, image to video, first and last frame and multimodal reference generation with native audio. One Seedance API key gives you every Seedance 2 API variant—seedance-2.0, seedance-2.0-fast and seedance-2.0-mini.
Text to VideoImage to VideoNative AudioUp to 4KView API & pricingSeedance 2.0 Fast API
The Seedance 2.0 Fast API on APIMart runs ByteDance's seedance-2.0-fast model, which has the same features as standard Seedance 2.0 and generates faster. Use it for text to video, image to video, first and last frame and multimodal reference clips at 480p or 720p with native audio. One Seedance API key gives you every Seedance 2 API variant—seedance-2.0, seedance-2.0-fast and seedance-2.0-mini.
Faster GenerationText to VideoImage to Video480p / 720pView API & pricingSeedance 2.0 Mini API
The Seedance 2.0 Mini API on APIMart runs ByteDance's seedance-2.0-mini model, which has the same features as standard Seedance 2.0 and no character limit on prompts. Use it for text to video, image to video, first and last frame and multimodal reference clips at 480p or 720p with native audio. One Seedance API key gives you every Seedance 2 API variant—seedance-2.0, seedance-2.0-fast and seedance-2.0-mini.
No Prompt Length LimitText to VideoImage to Video480p / 720pView API & pricingSeedance 2.5 API
The Seedance 2.5 API gives you ByteDance's audio-video foundation model for production AI video: native 30-second single-pass clips at up to 4K, up to 50 multimodal references (30 images, 10 videos, 10 audio clips), first/last-frame control, and video edit and extend for ads, e-commerce, and film previs. It is the same model offered as Dreamina Seedance 2.5.
AI Video30s ClipsMultimodal ReferenceNative AudioView API & pricingSeedance 2.5 Flash API
Seedance 2.5 Flash is the faster edition of ByteDance's Seedance 2.5 video model, generating 480p and 720p video from text, images, reference videos and audio. Try it in the APIMart Playground or call the Seedance 2.5 Flash API with the model ID seedance-2-5-flash.
Text & image to video480p / 720pMultimodal referencesView API & pricingHappyHorse 1.0 API
HappyHorse 1.0 (also written Happy Horse 1.0) is Alibaba's AI video model with audio, offered through Alibaba Cloud Model Studio. On APIMart it is the HappyHorse API entry with four modes in one endpoint: text to video, first-frame image to video, 1–9 reference images, and editing a source video. Output is 720P or 1080P, 3–15 seconds, billed per second.
Text to VideoImage to VideoVideo Editing720P / 1080PView API & pricingHappyHorse 1.1 API
HappyHorse 1.1 (also written Happy Horse 1.1) is the June 2026 update of Alibaba's HappyHorse video model with audio. On APIMart it creates 720P or 1080P clips of 3–15 seconds from a text prompt, a first-frame image or 1–9 reference images, at a lower 1080P rate than HappyHorse 1.0. Video editing is not available on 1.1.
Text to VideoImage to VideoReference to Video720P / 1080PView API & pricing
How to Choose an AI Video Generation API
Native audio in the same request
Seedance 2.5, Kling 4.0, Wan 3.0 and MiniMax H3 can return video with sound from one task, so dialogue and effects do not need a separate audio step.
Longer clips
Seedance 2.5, Wan 3.0 and Kling 4.0 generate up to 30 seconds per clip, while Kling 3.0, Gemini Omni 1.2 Flash and MiniMax H3 reach 15 seconds.
Image-to-video and frame control
Kling 4.0, Wan 3.0, Seedance 2.5 and Gemini Omni 1.2 Flash accept a first and last frame; Kling 4.0 also takes up to eight keyframes.
Motion transfer and video editing
Kling Motion Control copies movement from a reference video, while Wan 2.7 Video Edit, Grok Imagine Video and Seedance 2.5 edit an existing clip.
Low-cost drafts
Seedance 2.0 Mini, Grok Imagine Video and the 480p draft mode of Seedance 2.5 keep per-second cost low while you test prompts.
4K output
Gemini Omni 1.2 Flash, Veo 3.1 and Kling 3.0 offer 4K tiers at a higher per-second price than their 720p tiers.
AI Video API Pricing and Specs: 9 Popular Models
Live Gold member prices on APIMart, 20% below list price; Platinum and Diamond members pay less. Prices are per second of output at the listed tier unless noted, and each model page shows every tier.
| Model | Modes | Clip length | Resolution | Gold price |
|---|---|---|---|---|
| Seedance 2.5 API30-second clips with sound | Text, image, first/last frame, references, edit and extend | 4–30 s | 480p–1080p | $0.216/s · 720p |
| Seedance 2.0 Mini APILow-cost drafts | Text, image, first/last frame | 4–15 s | 480p / 720p | $0.039/s · 720p |
| Veo 3.1 Fast APICinematic Google Veo shots | Text, up to 3 images, extend to 15 s | 8 s | 720p–4K | $0.075 per 8 s clip · 720p / 1080p |
| Wan 3.0 APIUp to 30 s with flexible references | Text, first/last frame, image, video and audio references | 2–30 s | 480p–1080p | $0.0658/s · 720p |
| Kling 4.0 APIUp to 30 s with stereo audio | Text, image, keyframes, reference video, edit and extend | 3–30 s | 720p / 1080p | $0.14/s · 720p |
| Kling 3.0 API720p to 4K tiers | Text, first frame or first/last frame | 3–15 s | 720p–4K | $0.0672/s · 720p std |
| Gemini Omni 1.2 Flash API360p to 4K output | Text, image, first/last frame, edit and extend | 3–15 s | 360p–4K | $0.06/s · 720p |
| MiniMax H3 APINative 2K with audio | Text, first/last frame, up to 9 references | 4–15 s | 768p / 2K | $0.0571/s · 768p |
| Grok Imagine Video APIFast clips and video edits | Text, image, video edit | 1–15 s | 480p / 720p | $0.056/s · 720p |
Kling 3.0 is shown at std 720p without sound; sound, pro and 4K cost more. Veo 3.1 Fast on the Ext channel is billed per 8-second clip, while its official channel is billed per second. Seedance and Kling 4.0 also bill reference video input by the second. Failed tasks are not charged.
AI Video API Cost Examples
- A 10-second 720p clip with Seedance 2.5: 10 × $0.216 = $2.16, with audio included.
- A 10-second 720p draft with Seedance 2.0 Mini: 10 × $0.039 = $0.39.
- A 10-second 720p clip with Wan 3.0: 10 × $0.0658 = $0.66; turning the soundtrack on does not change the price.
- One 8-second Veo 3.1 Fast clip on the Ext channel: $0.075, at 720p or 1080p.
AI Video Generation API Quickstart: Seedance 2.5 Example
Every video model on APIMart follows the same flow: submit a task to POST /v1/videos/generations, then poll the task until the video is ready. This example uses Seedance 2.5; other models take their own model ID and parameters, listed on each model page.
- 1
Get an APIMart API key
Sign up for APIMart, add balance and create a key on the API Keys page. Save it in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key>. The same key calls every video model.
- 2
Submit a video task
POST /v1/videos/generations with the model ID, your prompt and the duration and resolution that model supports. Add image_urls for image to video. The response returns a task_id.
- 3
Get the video
Poll GET /v1/tasks/{task_id} every 5–15 seconds until the status is completed, then read the video URL from data.result.videos[0].url[0]. Results are kept for 72 hours, so download the files you want to keep.
See the Seedance 2.5 API reference for every parameter of this model.
curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.5",
"prompt": "A cinematic tracking shot of a red vintage car driving along a coastal road at sunset, waves crashing below, warm golden light",
"size": "16:9",
"resolution": "720p",
"duration": 10
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "seedance-2.5",
"prompt": "A cinematic tracking shot of a red vintage car driving along a coastal road at sunset, waves crashing below, warm golden light",
"size": "16:9",
"resolution": "720p",
"duration": 10
}
resp = requests.post(f"{API_BASE}/v1/videos/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["videos"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(10)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.5",
"prompt": "The product from the reference image rotates slowly on a white studio turntable, soft key light, the camera pushes in to a close-up of the label",
"image_urls": [
"https://example.com/product.jpg"
],
"size": "16:9",
"resolution": "720p",
"duration": 10
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"Seedance 2.5 API Parameters Used Here
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | Default: seedance-2.5 | The video model to call. Every other model takes its own ID, listed on its model page. |
prompt | string | Required | Default: — | Description of the video: subject, motion, camera and sound. |
resolution | string | Optional | Default: 720p | 480p, 720p, 1080p or 4K for Seedance 2.5. Higher tiers cost more per second. |
size | string | Optional | Default: adaptive | Aspect ratio: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9 or adaptive. |
duration | integer | Optional | Default: 5 | Clip length, 4–30 seconds for Seedance 2.5. Billing follows the output seconds. |
generate_audio | boolean | Optional | Default: true | Generate synced audio. Set false for a silent video. |
image_urls | array | Optional | Default: — | Reference images as public URLs, up to 30 for Seedance 2.5. Adding them turns the request into image to video. |
image_with_roles | array | Optional | Default: — | Images with a role: first_frame, last_frame or reference_image. |
AI Video Generation API FAQ
What is an AI video generation API?
An AI video generation API lets your code create video from a text prompt, an image or a reference clip through HTTP requests instead of a web app. On APIMart you send the model ID and parameters to POST /v1/videos/generations, receive a task ID and poll it for the finished video.
What is the best AI video generation API?
It depends on the job. For clips of up to 30 seconds with sound, start with Seedance 2.5, Kling 4.0 or Wan 3.0; for 4K, Gemini Omni 1.2 Flash, Veo 3.1 or Kling 3.0; for low-cost drafts, Seedance 2.0 Mini or Grok Imagine Video. One key lets you run the same prompt on several models and compare.
Can I use Veo, Kling and Seedance through one API?
Yes. One APIMart key and one balance call Veo 3.1, Kling, Seedance and every other video model listed here, with a single bill. Each model keeps its own model ID and parameters, so check its model page before switching.
How much does an AI video generation API cost?
Most video models are billed per second of output, and the rate depends on resolution and sometimes on audio or reference video input; a few, such as Veo 3.1 Fast on the Ext channel, are billed per clip. The table above shows live Gold member prices, 20% below list; Platinum and Diamond members save 24% and 28%.
Do you support text-to-video and image-to-video?
Yes. 40 of the 50 video models accept a text prompt on its own, and 46 accept an input image as a first frame or reference. The Text to Video API and Image to Video API pages list them; image-only, reference-only and editing models are noted on their model pages.
How do I get an AI video API key?
Sign up for APIMart, open the API Keys page in your dashboard and create a key; requests are paid from your balance. A key from Google, Kuaishou or ByteDance's own platform is a different service and does not work with the APIMart endpoint.
How do I call a video generation API?
Send POST /v1/videos/generations to https://api.apimart.ai with your key, the model ID, a prompt and model-specific options, then poll GET /v1/tasks/{task_id} until the task is completed. The quickstart above shows a full Seedance 2.5 request in cURL and Python.
Is there a free AI video generation API?
No. APIMart has no free credits for video models: billing is pay as you go with no subscription, and failed generations are not charged.
Am I charged for failed video generations?
No. Failed tasks are not charged; you only pay for completed generations.
How long are generated videos kept?
Generated videos are kept for 72 hours. Download the files you want to keep and store them in your own system.







