Run pipelines-beta/dot-video using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
seed: 0,
prompt: "A llama is walking on top of a hill...",
inverse: false,
dot_size: 4,
aspect_ratio: "9:16"
};
const output = await replicate.run("pipelines-beta/dot-video", { input });
// To access the file URL:console.log(output.url()); //=> "http://example.com"// To write the file to disk:
fs.writeFile("my-image.png", output);
Run pipelines-beta/dot-video using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"pipelines-beta/dot-video",
input={
"seed": 0,
"prompt": "A llama is walking on top of a hill...",
"inverse": False,
"dot_size": 4,
"aspect_ratio": "9:16"
}
)
# To access the file URL:print(output.url())
#=> "http://example.com"# To write the file to disk:withopen("my-image.png", "wb") as file:
file.write(output.read())