Turn any photo into an AI video
All guides

Guide · 6 min read

Turn any photo into an AI video

Pass an image URL and receive a clip. Image-to-video requires an input image.

Start from a still you already have: a character preview, an upload, or any HTTPS image. POST /v2/jobs with goonify/wan22 and input.image_url.

Video jobs take longer than stills. Read estimated_wait_seconds, or attach a webhook and move on. Failed jobs refund the credit spend.

A short clip on the CDN, ready to play or transcode.

Steps

  1. 1

    Start from a still you already have.

  2. 2

    POST /v2/jobs with goonify/wan22 and input.image_url.

  3. 3

    Wait for estimated_wait_seconds or a webhook.

  4. 4

    Play or transcode the CDN clip.

Install the SDK

pip install "goonify @ git+https://github.com/Goonify/goonify.git#subdirectory=sdks/python"

Modelgoonify/wan22

from goonify import Goonify

client = Goonify()

job = client.run(
    "goonify/wan22",
    input={
        "image_url": "https://cdn.goonify.ai/examples/input.jpg",
    },
)
print(job.output["url"])

What it looks like

Run it with a sandbox key

Sandbox keys return example media and spend nothing. Switch to a live key when you are ready.

Next recipes