AIAPIAIAPI API

Video Generation API Reference

AIAPIAIAPI unified video generation API documentation

Endpoint

POST /v1/video/generations

Authentication

Authorization: Bearer <AIAPIAIAPI_API_KEY>

Flow

  1. Submit a video generation task.
  2. Use the returned id as task_id with GET /v1/video/generations/{task_id}.
  3. When status is completed, read outputs[0].url.

Error Responses

Errors contain type, code, message, and param.

Model API Reference

ModelTaskDescription
alibaba/wan-2.7-i2vimage-to-videoImage-to-video generation with optional end-frame control. Resolution adapts to the input image, so aspect_ratio is not configurable.
alibaba/wan-2.7-i2v-spicyimage-to-videoImage-to-video generation. Animates a single source image from a text prompt, with optional end-frame control.
alibaba/wan-2.7-i2v-uncensoredimage-to-videoImage-to-video generation with the same parameters as wan-2.7-i2v-spicy, without content moderation.
alibaba/wan-2.7-ref2v-uncensoredreference-to-videoReference-to-video generation from up to 3 images and 3 videos.
alibaba/wan-2.7-t2vtext-to-videoText-to-video generation with no source image required.
alibaba/wan-3.0-i2v-spicyimage-to-videoImage-to-video generation with a wider duration range, more resolutions, and configurable aspect ratio.
alibaba/wan-3.0-ref2v-spicyreference-to-videoReference-to-video generation from images, videos, and/or audio references, with configurable duration/resolution/aspect ratio.
bytedance/seedance-2.0-i2v-spicyimage-to-videoImage-to-video generation with resolutions up to 4K and 7 aspect ratio presets, including 21:9.
bytedance/seedance-2.0-ref2v-spicyreference-to-videoReference-to-video generation from images, videos, and/or audio references, with resolutions up to 4K.
bytedance/seedance-2.5-i2v-spicyimage-to-videoImage-to-video generation with an extended duration range of up to 30 seconds.
bytedance/seedance-2.5-ref2v-spicyreference-to-videoReference-to-video generation from up to 30 images, 10 videos, and 10 audio clips, with an auto-duration mode.
minimax/minimax-h3-i2v-spicyimage-to-videoImage-to-video generation with 5-15 second output at 768p, 2K, or 4K resolution.
minimax/minimax-h3-ref2v-spicyreference-to-videoReference-to-video generation from up to 9 images, 9 videos, and 9 audio clips at resolutions up to 4K.

Documentation Index

Fetch the complete documentation index at:

https://aiapiaiapi.com/llms.txt

Use this file to discover all available API documentation.