SpecialX gives you one AI video generation API across Veo 3.1, Kling 3.0, Seedance 2.5, Wan 3.0, MiniMax H3 Max, Grok Imagine Video and the rest of its video catalog. You start a render with POST /api/v1/generations, receive a task id, and get the finished clip URL through polling or a signed generation.completed webhook. Because video jobs run for minutes and cost more than images, the API also lets you price a request before you send it.
Video model
Kling V3 with multi-shot, elements & sound
Video model
Up to 30 seconds with native audio and multimodal references · Replicate
Video is a long-running job, so the API is built around tasks rather than open connections:
quote_video action at POST /api/v1/actions/quote_video with the model id and the same input you plan to render. It returns the credit cost and changes nothing. Quotes cover the per-second models, which carry quote_action in the models catalog (Veo 3.1 and Lite, Kling 3.0, Seedance 2.5, Wan 3.0 and MiniMax H3 Max); for any other model the action returns an error.{ "type": "video", "model": "kwaivgi/kling-v3", "input": { ... } } to /api/v1/generations. Credits are reserved and you get task_id.GET /api/v1/generations/{task_id} at a relaxed interval, or let a webhook tell you.If the provider fails, the task is marked failed and the reserved credits go back to your balance.
GET /api/v1/models?kind=video returns every video model with its JSON Schema, so your integration can build forms or validate input without hard-coding field lists. The models differ more than image models do, so the schema is worth reading:
start_image and optional end_image for controlled transitions, plus a negative prompt.reference_images, optional reference videos and reference audio.The spec cards on this page show live options and costs for two of them. A field with a wrong type or value returns invalid_input with the field named; a field the model does not know is dropped without an error, so check spelling against the schema.
Polling every second for a job that takes minutes wastes requests. Register an endpoint once:
POST /api/v1/webhook-endpoints
{ "url": "https://example.com/hooks/specialx", "events": ["generation.completed", "generation.failed"] }
The response includes a whsec_ secret, shown only that once. Each event arrives as JSON with id, type, created_at and data, where data carries the task_id, workspace and output urls. Check the x-specialx-signature header, an HMAC-SHA256 of the raw body, before acting on it. POST /api/v1/webhook-endpoints/{id}/test sends a signed sample so you can test your handler first.
Delivery is attempted once, so treat the webhook as a signal and keep a periodic check on tasks you have not heard back about.
Reference inputs must be public HTTPS URLs. For files on your machine, POST /api/v1/uploads returns a presigned upload URL and the public URL to use afterwards. Generated outputs are already public, which makes chaining easy: render a still with an image model, then pass its URL as Kling's start frame. For a voiceover, start an audio task with "type": "audio" and "mode": "tts", then give the audio URL to Sync-3 Avatar.
If your pipeline is more than one call, consider saving it as a workflow canvas in SpecialX and triggering it with the run_workflow action through /api/v1/actions/run_workflow. It runs each node in order, passes outputs forward and returns a run id you check with get_workflow_run. Finished clips can go out with POST /api/v1/social-posts to Instagram, Facebook, YouTube, X, LinkedIn or Threads, either straight away or at a future scheduled_at time, after the accounts are connected in the web app.
14-day trial with up to 1,000 credits
Card required. Plans from $18/month after the trial. See pricing
Start 14-day trial and get an API keyEvery video model in the catalog, including Veo 3.1, Veo 3.1 Lite, Kling 3.0, Kling 3.0 Omni, Seedance 2.5, Wan 3.0 and MiniMax H3 Max. GET /api/v1/models?kind=video returns the current list and input schemas.
For the per-second models such as Veo 3.1, Kling 3.0, Seedance 2.5, Wan 3.0 and MiniMax H3 Max, call the quote_video action with the model and input you plan to send. It returns the credit cost without generating or charging anything. Other models, such as Sync-3 Avatar or Motion Control, cannot be quoted this way.
It depends on the model, length and queue, and is usually measured in minutes. Use a generation.completed webhook rather than holding a request open.
No, each event is delivered once. Reconcile by fetching the task with GET /api/v1/generations/{id} for anything you did not receive.
Yes. Upload it with a presigned URL or use any public HTTPS link, then pass it in the model's image field, such as start_image for Kling 3.0.