defaulta panda playing a guitar, on a boat, in the ocean, high quality
typetext
{
"guidance_scale": 7.5,
"input_video": "https://replicate.delivery/pbxt/LSOTtdB4F2NiU6XS1rJswsf8mLe0y3Q0apXHDH1MIOAzk7EI/raccoon_looking_at_the_camera_seed1671809463513170.mp4",
"negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream",
"num_inference_steps": 20,
"prompt": "dog on ice"
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_L55**********************************
This is your API token. Keep it to yourself.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run chamuditha4/vidx using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"chamuditha4/vidx:6165f47a0797b97fb0655b4316e8c21d4ebe781d827588d13fcfc964ebc4ed35",
{
input: {
guidance_scale: 7.5,
input_video: "https://replicate.delivery/pbxt/LSOTtdB4F2NiU6XS1rJswsf8mLe0y3Q0apXHDH1MIOAzk7EI/raccoon_looking_at_the_camera_seed1671809463513170.mp4",
negative_prompt: "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream",
num_inference_steps: 20,
prompt: "dog on ice"
}
}
);
// 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=r8_L55**********************************
This is your API token. Keep it to yourself.
import replicate
Run chamuditha4/vidx using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"chamuditha4/vidx:6165f47a0797b97fb0655b4316e8c21d4ebe781d827588d13fcfc964ebc4ed35",
input={
"guidance_scale": 7.5,
"input_video": "https://replicate.delivery/pbxt/LSOTtdB4F2NiU6XS1rJswsf8mLe0y3Q0apXHDH1MIOAzk7EI/raccoon_looking_at_the_camera_seed1671809463513170.mp4",
"negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream",
"num_inference_steps": 20,
"prompt": "dog on ice"
}
)
# To access the file URL:
print(output.url())
#=> "http://example.com"
# To write the file to disk:
with open("my-image.png", "wb") as file:
file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_L55**********************************
This is your API token. Keep it to yourself.
Run chamuditha4/vidx 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": "chamuditha4/vidx:6165f47a0797b97fb0655b4316e8c21d4ebe781d827588d13fcfc964ebc4ed35",
"input": {
"guidance_scale": 7.5,
"input_video": "https://replicate.delivery/pbxt/LSOTtdB4F2NiU6XS1rJswsf8mLe0y3Q0apXHDH1MIOAzk7EI/raccoon_looking_at_the_camera_seed1671809463513170.mp4",
"negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream",
"num_inference_steps": 20,
"prompt": "dog on ice"
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "ansbnxxgc9rgm0chbhgb00dyx4",
"model": "chamuditha4/vidx",
"version": "6165f47a0797b97fb0655b4316e8c21d4ebe781d827588d13fcfc964ebc4ed35",
"input": {
"guidance_scale": 7.5,
"input_video": "https://replicate.delivery/pbxt/LSOTtdB4F2NiU6XS1rJswsf8mLe0y3Q0apXHDH1MIOAzk7EI/raccoon_looking_at_the_camera_seed1671809463513170.mp4",
"negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream",
"num_inference_steps": 20,
"prompt": "dog on ice"
},
"logs": "0%| | 0/10 [00:00<?, ?it/s]\n 10%|█ | 1/10 [00:05<00:52, 5.85s/it]\n 20%|██ | 2/10 [00:10<00:41, 5.22s/it]\n 30%|███ | 3/10 [00:15<00:35, 5.02s/it]\n 40%|████ | 4/10 [00:20<00:29, 4.94s/it]\n 50%|█████ | 5/10 [00:25<00:24, 4.89s/it]\n 60%|██████ | 6/10 [00:29<00:19, 4.86s/it]\n 70%|███████ | 7/10 [00:34<00:14, 4.85s/it]\n 80%|████████ | 8/10 [00:39<00:09, 4.84s/it]\n 90%|█████████ | 9/10 [00:44<00:04, 4.83s/it]\n100%|██████████| 10/10 [00:49<00:00, 4.83s/it]\n100%|██████████| 10/10 [00:49<00:00, 4.91s/it]",
"output": "https://replicate.delivery/pbxt/mh4GGIvGlyq7FV9gr4fZ5UGTqVr4XuJa07aekhsCsXOsfommA/output.mp4",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2024-08-16T18:08:46.178Z",
"started_at": "2024-08-16T18:08:46.28856Z",
"completed_at": "2024-08-16T18:09:49.823109Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/ansbnxxgc9rgm0chbhgb00dyx4/cancel",
"get": "https://api.replicate.com/v1/predictions/ansbnxxgc9rgm0chbhgb00dyx4",
"web": "https://replicate.com/p/ansbnxxgc9rgm0chbhgb00dyx4"
},
"metrics": {
"predict_time": 63.534549202,
"total_time": 63.645109
}
}