Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
zsxkib /step-video-t2v:beab8fb9
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run zsxkib/step-video-t2v using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"zsxkib/step-video-t2v:beab8fb906138edd2043267c3bac0d98e881f9dd32a89033b7a03af5452508b5",
{
input: {
seed: 42,
tiled: false,
prompt: "An astronaut on the Moon discovers a monolith with the text 'STEPFUN' glowing brightly. Ultra HD, HDR video, highly detailed.",
cfg_scale: 9,
tile_size: 34,
num_frames: 51,
tile_stride: 16,
negative_prompt: "dark, low-resolution, extra hands, watermark, text overlays",
num_inference_steps: 30
}
}
);
// To access the file URL:
console.log(output.url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run zsxkib/step-video-t2v using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"zsxkib/step-video-t2v:beab8fb906138edd2043267c3bac0d98e881f9dd32a89033b7a03af5452508b5",
input={
"seed": 42,
"tiled": False,
"prompt": "An astronaut on the Moon discovers a monolith with the text 'STEPFUN' glowing brightly. Ultra HD, HDR video, highly detailed.",
"cfg_scale": 9,
"tile_size": 34,
"num_frames": 51,
"tile_stride": 16,
"negative_prompt": "dark, low-resolution, extra hands, watermark, text overlays",
"num_inference_steps": 30
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run zsxkib/step-video-t2v using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Prefer: wait" \
-d $'{
"version": "beab8fb906138edd2043267c3bac0d98e881f9dd32a89033b7a03af5452508b5",
"input": {
"seed": 42,
"tiled": false,
"prompt": "An astronaut on the Moon discovers a monolith with the text \'STEPFUN\' glowing brightly. Ultra HD, HDR video, highly detailed.",
"cfg_scale": 9,
"tile_size": 34,
"num_frames": 51,
"tile_stride": 16,
"negative_prompt": "dark, low-resolution, extra hands, watermark, text overlays",
"num_inference_steps": 30
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
No output yet! Press "Submit" to start a prediction.