cjwbw
/
videocrafter
VideoCrafter2: Text-to-Video and Image-to-Video Generation and Editing
Prediction
cjwbw/videocrafter:02edcff3e9d2d11dcc27e530773d988df25462b1ee93ed0257b6f246de4797c8ID4e2mexjblbkbabttqwksznzd74StatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- prompt
- With the style of van Gogh, A young couple dances under the moonlight by the lake.
- save_fps
- 10
- ddim_steps
- 50
- unconditional_guidance_scale
- 12
{ "prompt": "With the style of van Gogh, A young couple dances under the moonlight by the lake.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/videocrafter:02edcff3e9d2d11dcc27e530773d988df25462b1ee93ed0257b6f246de4797c8", { input: { prompt: "With the style of van Gogh, A young couple dances under the moonlight by the lake.", save_fps: 10, ddim_steps: 50, unconditional_guidance_scale: 12 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/videocrafter:02edcff3e9d2d11dcc27e530773d988df25462b1ee93ed0257b6f246de4797c8", input={ "prompt": "With the style of van Gogh, A young couple dances under the moonlight by the lake.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cjwbw/videocrafter 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": "cjwbw/videocrafter:02edcff3e9d2d11dcc27e530773d988df25462b1ee93ed0257b6f246de4797c8", "input": { "prompt": "With the style of van Gogh, A young couple dances under the moonlight by the lake.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-01-31T00:18:35.497936Z", "created_at": "2024-01-31T00:15:02.864325Z", "data_removed": false, "error": null, "id": "4e2mexjblbkbabttqwksznzd74", "input": { "prompt": "With the style of van Gogh, A young couple dances under the moonlight by the lake.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }, "logs": "Using seed: 33170\nSeed set to 33170\nDDIM scale True\nddim device cuda:0\n/root/.pyenv/versions/3.11.7/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None\nwarnings.warn(\"None of the inputs have requires_grad=True. Gradients will be None\")\n/root/.pyenv/versions/3.11.7/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None\nwarnings.warn(\"None of the inputs have requires_grad=True. Gradients will be None\")", "metrics": { "predict_time": 58.330627, "total_time": 212.633611 }, "output": "https://replicate.delivery/pbxt/gtKjZvxFTwIeIqUSrE4zM9d6s3CffZSNOD1eClSVYiNr9QHJB/output.mp4", "started_at": "2024-01-31T00:17:37.167309Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/4e2mexjblbkbabttqwksznzd74", "cancel": "https://api.replicate.com/v1/predictions/4e2mexjblbkbabttqwksznzd74/cancel" }, "version": "02edcff3e9d2d11dcc27e530773d988df25462b1ee93ed0257b6f246de4797c8" }
Generated inUsing seed: 33170 Seed set to 33170 DDIM scale True ddim device cuda:0 /root/.pyenv/versions/3.11.7/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None warnings.warn("None of the inputs have requires_grad=True. Gradients will be None") /root/.pyenv/versions/3.11.7/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")
Prediction
cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500bIDloe2qxzbumbyyekovrbmyjcupqStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- task
- text2video
- prompt
- A tiger walks in the forest, photorealistic, 4k, high definition
- save_fps
- 10
- ddim_steps
- 50
- unconditional_guidance_scale
- 12
{ "task": "text2video", "prompt": "A tiger walks in the forest, photorealistic, 4k, high definition", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", { input: { task: "text2video", prompt: "A tiger walks in the forest, photorealistic, 4k, high definition", save_fps: 10, ddim_steps: 50, unconditional_guidance_scale: 12 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", input={ "task": "text2video", "prompt": "A tiger walks in the forest, photorealistic, 4k, high definition", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cjwbw/videocrafter 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": "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", "input": { "task": "text2video", "prompt": "A tiger walks in the forest, photorealistic, 4k, high definition", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-04T23:01:11.335719Z", "created_at": "2023-11-04T22:57:42.608647Z", "data_removed": false, "error": null, "id": "loe2qxzbumbyyekovrbmyjcupq", "input": { "task": "text2video", "prompt": "A tiger walks in the forest, photorealistic, 4k, high definition", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }, "logs": "Using seed: 23224\nSeed set to 23224\nDDIM scale True\nddim device cuda:0", "metrics": { "predict_time": 208.770097, "total_time": 208.727072 }, "output": "https://replicate.delivery/pbxt/Y6PY6xd42to6FJM9FWao0mBa5CJrV1LhZF9P9pZChWlNfj6IA/output.mp4", "started_at": "2023-11-04T22:57:42.565622Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/loe2qxzbumbyyekovrbmyjcupq", "cancel": "https://api.replicate.com/v1/predictions/loe2qxzbumbyyekovrbmyjcupq/cancel" }, "version": "75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b" }
Generated inUsing seed: 23224 Seed set to 23224 DDIM scale True ddim device cuda:0
Prediction
cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500bIDy4k2ktrbnmjcjaso2ytlvvn2heStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- task
- text2video
- prompt
- Campfire at night in a snowy forest with starry sky in the background.
- save_fps
- 10
- ddim_steps
- 50
- unconditional_guidance_scale
- 12
{ "task": "text2video", "prompt": "Campfire at night in a snowy forest with starry sky in the background.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", { input: { task: "text2video", prompt: "Campfire at night in a snowy forest with starry sky in the background.", save_fps: 10, ddim_steps: 50, unconditional_guidance_scale: 12 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", input={ "task": "text2video", "prompt": "Campfire at night in a snowy forest with starry sky in the background.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cjwbw/videocrafter 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": "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", "input": { "task": "text2video", "prompt": "Campfire at night in a snowy forest with starry sky in the background.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-04T23:08:56.096303Z", "created_at": "2023-11-04T23:02:37.539901Z", "data_removed": false, "error": null, "id": "y4k2ktrbnmjcjaso2ytlvvn2he", "input": { "task": "text2video", "prompt": "Campfire at night in a snowy forest with starry sky in the background.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }, "logs": "Using seed: 43046\nSeed set to 43046\nDDIM scale True\nddim device cuda:0", "metrics": { "predict_time": 209.039388, "total_time": 378.556402 }, "output": "https://replicate.delivery/pbxt/QoymBeTHlNRvZSVJJDt2yOx7sceyB57VHduddydsdDwHEI1RA/output.mp4", "started_at": "2023-11-04T23:05:27.056915Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/y4k2ktrbnmjcjaso2ytlvvn2he", "cancel": "https://api.replicate.com/v1/predictions/y4k2ktrbnmjcjaso2ytlvvn2he/cancel" }, "version": "75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b" }
Generated inUsing seed: 43046 Seed set to 43046 DDIM scale True ddim device cuda:0
Prediction
cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500bIDq24pkizbuvjlp5wplduq2upzrmStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- task
- text2video
- prompt
- A boat moving on the sea, flowers and grassland on the shore
- save_fps
- 10
- ddim_steps
- 50
- unconditional_guidance_scale
- 12
{ "task": "text2video", "prompt": "A boat moving on the sea, flowers and grassland on the shore", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", { input: { task: "text2video", prompt: "A boat moving on the sea, flowers and grassland on the shore", save_fps: 10, ddim_steps: 50, unconditional_guidance_scale: 12 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", input={ "task": "text2video", "prompt": "A boat moving on the sea, flowers and grassland on the shore", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cjwbw/videocrafter 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": "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", "input": { "task": "text2video", "prompt": "A boat moving on the sea, flowers and grassland on the shore", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-04T23:11:13.750886Z", "created_at": "2023-11-04T23:06:42.659516Z", "data_removed": false, "error": null, "id": "q24pkizbuvjlp5wplduq2upzrm", "input": { "task": "text2video", "prompt": "A boat moving on the sea, flowers and grassland on the shore", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }, "logs": "Using seed: 21077\nSeed set to 21077\nDDIM scale True\nddim device cuda:0\n/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None\nwarnings.warn(\"None of the inputs have requires_grad=True. Gradients will be None\")\n/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None\nwarnings.warn(\"None of the inputs have requires_grad=True. Gradients will be None\")", "metrics": { "predict_time": 208.940326, "total_time": 271.09137 }, "output": "https://replicate.delivery/pbxt/RFBMSUsWiSo0K5WUh8ph9zwiKMM3RJg0VNdWtHB14iDkBSdE/output.mp4", "started_at": "2023-11-04T23:07:44.810560Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/q24pkizbuvjlp5wplduq2upzrm", "cancel": "https://api.replicate.com/v1/predictions/q24pkizbuvjlp5wplduq2upzrm/cancel" }, "version": "75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b" }
Generated inUsing seed: 21077 Seed set to 21077 DDIM scale True ddim device cuda:0 /root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None warnings.warn("None of the inputs have requires_grad=True. Gradients will be None") /root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")
Prediction
cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500bIDfj6p2ozbnflgoqghvlilhb5bg4StatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- task
- text2video
- prompt
- an astronaut running away from a dust storm on the surface of the moon, the astronaut is running towards the camera, cinematic
- save_fps
- 10
- ddim_steps
- 50
- unconditional_guidance_scale
- 12
{ "task": "text2video", "prompt": "an astronaut running away from a dust storm on the surface of the moon, the astronaut is running towards the camera, cinematic", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", { input: { task: "text2video", prompt: "an astronaut running away from a dust storm on the surface of the moon, the astronaut is running towards the camera, cinematic", save_fps: 10, ddim_steps: 50, unconditional_guidance_scale: 12 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", input={ "task": "text2video", "prompt": "an astronaut running away from a dust storm on the surface of the moon, the astronaut is running towards the camera, cinematic", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cjwbw/videocrafter 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": "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", "input": { "task": "text2video", "prompt": "an astronaut running away from a dust storm on the surface of the moon, the astronaut is running towards the camera, cinematic", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-04T23:17:08.163275Z", "created_at": "2023-11-04T23:10:58.362300Z", "data_removed": false, "error": null, "id": "fj6p2ozbnflgoqghvlilhb5bg4", "input": { "task": "text2video", "prompt": "an astronaut running away from a dust storm on the surface of the moon, the astronaut is running towards the camera, cinematic", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }, "logs": "Using seed: 39157\nSeed set to 39157\nDDIM scale True\nddim device cuda:0", "metrics": { "predict_time": 209.309247, "total_time": 369.800975 }, "output": "https://replicate.delivery/pbxt/nuvjNRjBNIqqLV9huanBAtWrdy8al3gAmPI9PuzhsX78CSdE/output.mp4", "started_at": "2023-11-04T23:13:38.854028Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/fj6p2ozbnflgoqghvlilhb5bg4", "cancel": "https://api.replicate.com/v1/predictions/fj6p2ozbnflgoqghvlilhb5bg4/cancel" }, "version": "75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b" }
Generated inUsing seed: 39157 Seed set to 39157 DDIM scale True ddim device cuda:0
Prediction
cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500bID2cvec7rbenztmibdi5ccd72ky4StatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- task
- text2video
- prompt
- A giant spaceship is landing on mars in the sunset. High Definition
- save_fps
- 10
- ddim_steps
- 50
- unconditional_guidance_scale
- 12
{ "task": "text2video", "prompt": "A giant spaceship is landing on mars in the sunset. High Definition", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", { input: { task: "text2video", prompt: "A giant spaceship is landing on mars in the sunset. High Definition", save_fps: 10, ddim_steps: 50, unconditional_guidance_scale: 12 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", input={ "task": "text2video", "prompt": "A giant spaceship is landing on mars in the sunset. High Definition", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cjwbw/videocrafter 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": "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", "input": { "task": "text2video", "prompt": "A giant spaceship is landing on mars in the sunset. High Definition", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-04T23:33:20.705916Z", "created_at": "2023-11-04T23:24:46.485920Z", "data_removed": false, "error": null, "id": "2cvec7rbenztmibdi5ccd72ky4", "input": { "task": "text2video", "prompt": "A giant spaceship is landing on mars in the sunset. High Definition", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }, "logs": "Using seed: 29579\nSeed set to 29579\nDDIM scale True\nddim device cuda:0\n/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None\nwarnings.warn(\"None of the inputs have requires_grad=True. Gradients will be None\")\n/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None\nwarnings.warn(\"None of the inputs have requires_grad=True. Gradients will be None\")", "metrics": { "predict_time": 209.132309, "total_time": 514.219996 }, "output": "https://replicate.delivery/pbxt/xvTuHuzVon52D9vOOJEuZbh8dSLshmbLHTbmNMBy643vGSdE/output.mp4", "started_at": "2023-11-04T23:29:51.573607Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/2cvec7rbenztmibdi5ccd72ky4", "cancel": "https://api.replicate.com/v1/predictions/2cvec7rbenztmibdi5ccd72ky4/cancel" }, "version": "75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b" }
Generated inUsing seed: 29579 Seed set to 29579 DDIM scale True ddim device cuda:0 /root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None warnings.warn("None of the inputs have requires_grad=True. Gradients will be None") /root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")
Prediction
cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500bIDl736q7bby2wogr4egj7r2alhsaStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- task
- text2video
- prompt
- A girl is looking at the camera smiling. High Definition.
- save_fps
- 10
- ddim_steps
- 50
- unconditional_guidance_scale
- 12
{ "task": "text2video", "prompt": "A girl is looking at the camera smiling. High Definition.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", { input: { task: "text2video", prompt: "A girl is looking at the camera smiling. High Definition.", save_fps: 10, ddim_steps: 50, unconditional_guidance_scale: 12 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", input={ "task": "text2video", "prompt": "A girl is looking at the camera smiling. High Definition.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cjwbw/videocrafter 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": "cjwbw/videocrafter:75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b", "input": { "task": "text2video", "prompt": "A girl is looking at the camera smiling. High Definition.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-04T23:29:58.660329Z", "created_at": "2023-11-04T23:24:24.148480Z", "data_removed": false, "error": null, "id": "l736q7bby2wogr4egj7r2alhsa", "input": { "task": "text2video", "prompt": "A girl is looking at the camera smiling. High Definition.", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }, "logs": "Using seed: 29887\nSeed set to 29887\nDDIM scale True\nddim device cuda:0\n/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None\nwarnings.warn(\"None of the inputs have requires_grad=True. Gradients will be None\")\n/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None\nwarnings.warn(\"None of the inputs have requires_grad=True. Gradients will be None\")", "metrics": { "predict_time": 210.111221, "total_time": 334.511849 }, "output": "https://replicate.delivery/pbxt/uz191KJBEvKmFp1MwaEyhEhJ9IGDxGKcrMy3sdDf1Uw6Lk6IA/output.mp4", "started_at": "2023-11-04T23:26:28.549108Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/l736q7bby2wogr4egj7r2alhsa", "cancel": "https://api.replicate.com/v1/predictions/l736q7bby2wogr4egj7r2alhsa/cancel" }, "version": "75e2458cd5b752530d79666df06c3cc57ec5bf1906fd906cd415bb7dd570500b" }
Generated inUsing seed: 29887 Seed set to 29887 DDIM scale True ddim device cuda:0 /root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None warnings.warn("None of the inputs have requires_grad=True. Gradients will be None") /root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")
Prediction
cjwbw/videocrafter:7d1651ceadabf8bf68dd892ea7b59d7378d059c890ded583653f0cbf6fba3638IDbpezwxbbouqb6j4rq6unksntlaStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- task
- image2video
- prompt
- two galleons moving in the wind at sunset
- save_fps
- 10
- ddim_steps
- 50
- unconditional_guidance_scale
- 12
{ "task": "image2video", "image": "https://replicate.delivery/pbxt/JoyfFapdufcbsDuP0utStsYU24nBn0lmcFpuQnTsYW1mc8ao/sunset.png", "prompt": "two galleons moving in the wind at sunset", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/videocrafter:7d1651ceadabf8bf68dd892ea7b59d7378d059c890ded583653f0cbf6fba3638", { input: { task: "image2video", image: "https://replicate.delivery/pbxt/JoyfFapdufcbsDuP0utStsYU24nBn0lmcFpuQnTsYW1mc8ao/sunset.png", prompt: "two galleons moving in the wind at sunset", save_fps: 10, ddim_steps: 50, unconditional_guidance_scale: 12 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/videocrafter:7d1651ceadabf8bf68dd892ea7b59d7378d059c890ded583653f0cbf6fba3638", input={ "task": "image2video", "image": "https://replicate.delivery/pbxt/JoyfFapdufcbsDuP0utStsYU24nBn0lmcFpuQnTsYW1mc8ao/sunset.png", "prompt": "two galleons moving in the wind at sunset", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cjwbw/videocrafter 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": "cjwbw/videocrafter:7d1651ceadabf8bf68dd892ea7b59d7378d059c890ded583653f0cbf6fba3638", "input": { "task": "image2video", "image": "https://replicate.delivery/pbxt/JoyfFapdufcbsDuP0utStsYU24nBn0lmcFpuQnTsYW1mc8ao/sunset.png", "prompt": "two galleons moving in the wind at sunset", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-05T01:03:12.884309Z", "created_at": "2023-11-05T00:58:55.021145Z", "data_removed": false, "error": null, "id": "bpezwxbbouqb6j4rq6unksntla", "input": { "task": "image2video", "image": "https://replicate.delivery/pbxt/JoyfFapdufcbsDuP0utStsYU24nBn0lmcFpuQnTsYW1mc8ao/sunset.png", "prompt": "two galleons moving in the wind at sunset", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }, "logs": "Using seed: 3516\nSeed set to 3516\nDDIM scale True\nddim device cuda:0\n/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None\nwarnings.warn(\"None of the inputs have requires_grad=True. Gradients will be None\")\n/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None\nwarnings.warn(\"None of the inputs have requires_grad=True. Gradients will be None\")", "metrics": { "predict_time": 59.444869, "total_time": 257.863164 }, "output": "https://replicate.delivery/pbxt/JRJ5w7zLOr52OxnH0X4jpxdiKfDTNOiXPdkcgEPrBDHo3k6IA/output.mp4", "started_at": "2023-11-05T01:02:13.439440Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/bpezwxbbouqb6j4rq6unksntla", "cancel": "https://api.replicate.com/v1/predictions/bpezwxbbouqb6j4rq6unksntla/cancel" }, "version": "7d1651ceadabf8bf68dd892ea7b59d7378d059c890ded583653f0cbf6fba3638" }
Generated inUsing seed: 3516 Seed set to 3516 DDIM scale True ddim device cuda:0 /root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None warnings.warn("None of the inputs have requires_grad=True. Gradients will be None") /root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/torch/utils/checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")
Prediction
cjwbw/videocrafter:7d1651ceadabf8bf68dd892ea7b59d7378d059c890ded583653f0cbf6fba3638IDmk7girbbtytvguqt6cmqabnriiStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedby @chenxwhInput
- task
- image2video
- prompt
- a girl is riding a horse fast on grassland
- save_fps
- 10
- ddim_steps
- 50
- unconditional_guidance_scale
- 12
{ "task": "image2video", "image": "https://replicate.delivery/pbxt/Joyq0NBgkvp9W7PPJvgzuNUxDoPfER7GClQqdrjs9PjYg8rS/horse.png", "prompt": "a girl is riding a horse fast on grassland", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/videocrafter:7d1651ceadabf8bf68dd892ea7b59d7378d059c890ded583653f0cbf6fba3638", { input: { task: "image2video", image: "https://replicate.delivery/pbxt/Joyq0NBgkvp9W7PPJvgzuNUxDoPfER7GClQqdrjs9PjYg8rS/horse.png", prompt: "a girl is riding a horse fast on grassland", save_fps: 10, ddim_steps: 50, unconditional_guidance_scale: 12 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run cjwbw/videocrafter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/videocrafter:7d1651ceadabf8bf68dd892ea7b59d7378d059c890ded583653f0cbf6fba3638", input={ "task": "image2video", "image": "https://replicate.delivery/pbxt/Joyq0NBgkvp9W7PPJvgzuNUxDoPfER7GClQqdrjs9PjYg8rS/horse.png", "prompt": "a girl is riding a horse fast on grassland", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cjwbw/videocrafter 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": "cjwbw/videocrafter:7d1651ceadabf8bf68dd892ea7b59d7378d059c890ded583653f0cbf6fba3638", "input": { "task": "image2video", "image": "https://replicate.delivery/pbxt/Joyq0NBgkvp9W7PPJvgzuNUxDoPfER7GClQqdrjs9PjYg8rS/horse.png", "prompt": "a girl is riding a horse fast on grassland", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-05T01:11:14.406378Z", "created_at": "2023-11-05T01:10:16.091781Z", "data_removed": false, "error": null, "id": "mk7girbbtytvguqt6cmqabnrii", "input": { "task": "image2video", "image": "https://replicate.delivery/pbxt/Joyq0NBgkvp9W7PPJvgzuNUxDoPfER7GClQqdrjs9PjYg8rS/horse.png", "prompt": "a girl is riding a horse fast on grassland", "save_fps": 10, "ddim_steps": 50, "unconditional_guidance_scale": 12 }, "logs": "Using seed: 53401\nSeed set to 53401\nDDIM scale True\nddim device cuda:0", "metrics": { "predict_time": 58.343187, "total_time": 58.314597 }, "output": "https://replicate.delivery/pbxt/A8KjQh8IoKZ7J1noe7R2y2QaENNgNyB5jaheKLgH8xqx2J1RA/output.mp4", "started_at": "2023-11-05T01:10:16.063191Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mk7girbbtytvguqt6cmqabnrii", "cancel": "https://api.replicate.com/v1/predictions/mk7girbbtytvguqt6cmqabnrii/cancel" }, "version": "7d1651ceadabf8bf68dd892ea7b59d7378d059c890ded583653f0cbf6fba3638" }
Generated inUsing seed: 53401 Seed set to 53401 DDIM scale True ddim device cuda:0
Want to make some of these yourself?
Run this model