anotherjesse / animatediff-hacker

  • Public
  • 5 runs
  • L40S

Input

pip install replicate
Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Import the client:
import replicate

Run anotherjesse/animatediff-hacker using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

output = replicate.run(
    "anotherjesse/animatediff-hacker:71fa4a9dcf4f9f0b8c80261733760ca9ae5b39ba29228f5a82b436e92a137da6",
    input={
        "code": "code to run",
        "inputs": "json inputs to send to code"
    }
)

# The anotherjesse/animatediff-hacker model can stream output as it's running.
# The predict method returns an iterator, and you can iterate over that output.
for item in output:
    # https://replicate.com/anotherjesse/animatediff-hacker/api#output-schema
    print(item)

To learn more, take a look at the guide on getting started with Python.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

This model doesn't have a readme.