Skip to main content
Wan 2.6 supports text-to-video, first-frame generation, reference-based generation, multi-shot storytelling, automatic dubbing, and custom audio files. The reference model can use a character’s appearance from an image or video and voice from a video to generate a performance directed by your prompt.

Model parameters

  • Model IDs: wan2.6-t2v / wan2.6-i2v / wan2.6-i2v-flash / wan2.6-r2v / wan2.6-r2v-flash
  • Pricing: see the model catalog for current rates.
  • Endpoint: https://geekai.co/api/v1/videos/generations
  • Parameters: Video API reference
  • Authentication: Get an API key
The following video API parameters are not supported:
  • aspect_ratio
  • image_tail
  • quality
  • fps
See the official Wan 2.6 API documentation.
Specify dimensions in size as width x height. Supported sizes match Wan 2.1.

Text to video

wan2.6-t2v also accepts an audio file in audio_url:
The JSON response includes the generated video’s URL:
The image-to-video and other examples below use the same response format.

Image to video (first frame)

To supply audio, pass the file URL:
Call wan2.6-i2v-flash the same way. For wan2.6-i2v-flash and wan2.6-i2v, resolution accepts 720P or 1080P (uppercase P). The image parameter also accepts Base64-encoded data.

Reference to video

To call wan2.6-r2v, use the same request and replace the model name.

Asynchronous tasks

Video generation can take a while. We recommend GeekAI’s asynchronous workflow. The video API uses async to control asynchronous generation. The default, false, waits for the finished video. Set it to true to receive a task ID you can poll. Follow the asynchronous task example to retrieve the result.