Skip to main content
Wan 2.7 supports text-to-video, image-to-video, reference generation, and editing. Use text prompts for multi-shot videos with automatic dubbing or custom audio. Image-to-video supports first frames, first and last frames, and video continuation. Editing accepts text, images, and video for instruction-based edits and video transfer.

Model parameters

  • Model IDs: wan2.7-t2v / wan2.7-i2v / wan2.7-r2v / wan2.7-videoedit
  • 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:
  • with_audio
  • size
  • quality
  • fps
See the official Wan 2.7 API documentation.
aspect_ratio accepts the following values:
  • 1:1
  • 16:9
  • 9:16
  • 4:3
  • 3:4
Output dimensions by resolution and aspect ratio: Use an uppercase P in resolution: 720P or 1080P.

Text to video

wan2.7-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

From the first frame
From the first and last frames
Video continuation
For wan2.7-i2v, resolution accepts 720P or 1080P.

Reference to video

Video editing

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.