Use Case · AI Video Generation API

AI Video Generation API: Unified Async Tasks for Kling, MiniMax, Vidu, and Doubao

Submit text-to-video and image-to-video tasks across Kling, MiniMax H3, Vidu, and Doubao through one Infistar API key, billed strictly on actual successful video output with automatic failure refunds.

Video workloads run asynchronously via declared video endpoints such as /v1/videos. Pricing follows live duration and resolution rates on Models and Pricing; failed, cancelled, or empty tasks refund automatically.

Designed for reliable async media workflows

Multiple video models under one key

Combine Kling, MiniMax, Vidu, Doubao, and Qwen Wan video models from one wallet without separate vendor accounts.

Trackable asynchronous task lifecycle

Submit a job, poll status until terminal state, and inspect reserved vs settled charges in account task logs.

Actual-result settlement

Charges depend on actual delivered output; failed or empty video generations never incur final charges.

Validate cheaply before scaling

Test prompts and reference frames at shorter durations first before launching high-resolution batch jobs.

Video API integration steps

  1. Check the Video Generation catalog for the exact model ID, declared endpoint, and live rate.
  2. Submit an asynchronous creation request following the video quickstart guide and store the task ID.
  3. Poll task status with backoff until a terminal state (succeeded, failed, or cancelled) is reached.
  4. Download the finished video to your own storage promptly and verify settlement in account logs.

Operational boundaries

  • Text-to-video, first/last-frame conditioning, duration, resolution, and audio options vary by model ID.
  • Video creation is asynchronous and long-running; do not apply synchronous chat timeout assumptions.
  • For browser prototyping without code, try AI Studio (personal works remain private).

Related video models and guides