Page cover

WAN-2.6 I2V

Base-Path:

https://api.hyprlab.io/v1

Video Path:

https://api.hyprlab.io/v1/video/generations
📌 Request Body Documentation

prompt (string, required)

  • Description: The main text input that guides the video generation.

  • Validation:

    • Must be a non-empty string.

negative_prompt (string, optional)

  • Description: A prompt meant to negatively influence or guide processing to not include specific elements.

  • Validation:

    • Must be a text/string.

image (string, optional)

  • Description: Input image for image-to-video generation.

  • Validation:

    • Must be a string (URL, Data URI, or base64 string).

resolution (string, optional)

  • Description: Resolution of the generated video.

  • Validation:

    • Must be one of: "720p" or "1080p".

    • Defaults to "720p" if not provided.

duration (integer, optional)

  • Description: Specifies the length of the video in seconds.

  • Validation:

    • Must be either 5, 10 or 15.

    • Defaults to 5 if not provided.

enable_prompt_expansion (boolean, optional)

  • Description: Prompt optimizer will be enabled.

  • Validation:

    • Must be a boolean (true or false).

multi_shots (boolean, optional)

  • Description: Enable intelligent multi-shot segmentation.

  • Validation:

    • Must be a boolean (true or false).

seed (integer, optional)

  • Description: A seed for deterministic generation during processing.

  • Validation Rules:

    • Must be an integer between 0 and 4,294,967,295.


Post Request:

When you send a POST request to create a new Video Generation, the API will return a response containing a Polling URL that can be used to check the processing status and retrieve the results.

curl https://api.hyprlab.io/v1/video/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HYPRLAB_API_KEY" \
  -d '{
    "model": "wan-2.6-i2v",
    "prompt": "A cute cat playing outside.",
    "image": "https://site.com/path/of/image.png",
    "resolution": "1080p",
    "duration": 5
  }'

Polling for Status:

To check the status and retrieve the result, send a GET request to the polling URL provided in the response.

NOTE: Video Generation took 3-4 Minutes before it finish.

Pricing Details

Model Name:
  • wan-2.6-i2v

Discount:
  • 30% off

Resolution: 720p
  • 5 Seconds: $0.35 / Video

  • 10 Seconds: $0.7 / Video

  • 15 Seconds: $1.05 / Video

Resolution: 1080p
  • 5 Seconds: $0.525 / Video

  • 10 Seconds: $1.05 / Video

  • 15 Seconds: $1.575 / Video

Last updated