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.
dhanushreddy291 /sdvn10-anime:ce2ca6fd
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 dhanushreddy291/sdvn10-anime using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"dhanushreddy291/sdvn10-anime:ce2ca6fd0837ffbd171a127f04ff7b8fe8cdf0f7ddc6739dd44409a758ded951",
{
input: {
seed: 0,
steps: 34,
width: 512,
height: 768,
prompt: "(masterpiece,best quality:1.5), Style of Henry Raleigh,Fluxus Art, v for vendetta, playing with hair, kiwifruit,at Nighttime,Lovely,Boreal Forest",
guidance: 7,
scheduler: "EulerA",
num_outputs: 4,
negative_prompt: "watermark,text, logo,contact, error, blurry, cropped, username, artist name, (worst quality, low quality,nsfw)"
}
}
);
// To access the file URL:
console.log(output[0].url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output[0]);
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 dhanushreddy291/sdvn10-anime using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"dhanushreddy291/sdvn10-anime:ce2ca6fd0837ffbd171a127f04ff7b8fe8cdf0f7ddc6739dd44409a758ded951",
input={
"seed": 0,
"steps": 34,
"width": 512,
"height": 768,
"prompt": "(masterpiece,best quality:1.5), Style of Henry Raleigh,Fluxus Art, v for vendetta, playing with hair, kiwifruit,at Nighttime,Lovely,Boreal Forest",
"guidance": 7,
"scheduler": "EulerA",
"num_outputs": 4,
"negative_prompt": "watermark,text, logo,contact, error, blurry, cropped, username, artist name, (worst quality, low quality,nsfw)"
}
)
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 dhanushreddy291/sdvn10-anime 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": "ce2ca6fd0837ffbd171a127f04ff7b8fe8cdf0f7ddc6739dd44409a758ded951",
"input": {
"seed": 0,
"steps": 34,
"width": 512,
"height": 768,
"prompt": "(masterpiece,best quality:1.5), Style of Henry Raleigh,Fluxus Art, v for vendetta, playing with hair, kiwifruit,at Nighttime,Lovely,Boreal Forest",
"guidance": 7,
"scheduler": "EulerA",
"num_outputs": 4,
"negative_prompt": "watermark,text, logo,contact, error, blurry, cropped, username, artist name, (worst quality, low quality,nsfw)"
}
}' \
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
{
"completed_at": "2024-01-15T08:00:41.864891Z",
"created_at": "2024-01-15T08:00:31.431580Z",
"data_removed": false,
"error": null,
"id": "k3zi4tdb7okhznnmqo3wsvmpam",
"input": {
"seed": 0,
"steps": 34,
"width": 512,
"height": 768,
"prompt": "(masterpiece,best quality:1.5), Style of Henry Raleigh,Fluxus Art, v for vendetta, playing with hair, kiwifruit,at Nighttime,Lovely,Boreal Forest",
"guidance": 7,
"scheduler": "EulerA",
"num_outputs": 4,
"negative_prompt": "watermark,text, logo,contact, error, blurry, cropped, username, artist name, (worst quality, low quality,nsfw)"
},
"logs": "0%| | 0/34 [00:00<?, ?it/s]\n 3%|▎ | 1/34 [00:00<00:03, 9.37it/s]\n 6%|▌ | 2/34 [00:00<00:03, 8.12it/s]\n 9%|▉ | 3/34 [00:00<00:04, 6.37it/s]\n 12%|█▏ | 4/34 [00:00<00:05, 5.78it/s]\n 15%|█▍ | 5/34 [00:00<00:05, 5.50it/s]\n 18%|█▊ | 6/34 [00:01<00:05, 5.32it/s]\n 21%|██ | 7/34 [00:01<00:05, 5.23it/s]\n 24%|██▎ | 8/34 [00:01<00:05, 5.17it/s]\n 26%|██▋ | 9/34 [00:01<00:04, 5.14it/s]\n 29%|██▉ | 10/34 [00:01<00:04, 5.11it/s]\n 32%|███▏ | 11/34 [00:02<00:04, 5.08it/s]\n 35%|███▌ | 12/34 [00:02<00:04, 5.07it/s]\n 38%|███▊ | 13/34 [00:02<00:04, 5.06it/s]\n 41%|████ | 14/34 [00:02<00:03, 5.06it/s]\n 44%|████▍ | 15/34 [00:02<00:03, 5.05it/s]\n 47%|████▋ | 16/34 [00:03<00:03, 5.04it/s]\n 50%|█████ | 17/34 [00:03<00:03, 5.04it/s]\n 53%|█████▎ | 18/34 [00:03<00:03, 5.04it/s]\n 56%|█████▌ | 19/34 [00:03<00:02, 5.05it/s]\n 59%|█████▉ | 20/34 [00:03<00:02, 5.04it/s]\n 62%|██████▏ | 21/34 [00:04<00:02, 5.04it/s]\n 65%|██████▍ | 22/34 [00:04<00:02, 5.04it/s]\n 68%|██████▊ | 23/34 [00:04<00:02, 5.05it/s]\n 71%|███████ | 24/34 [00:04<00:01, 5.06it/s]\n 74%|███████▎ | 25/34 [00:04<00:01, 5.06it/s]\n 76%|███████▋ | 26/34 [00:04<00:01, 5.06it/s]\n 79%|███████▉ | 27/34 [00:05<00:01, 5.06it/s]\n 82%|████████▏ | 28/34 [00:05<00:01, 5.07it/s]\n 85%|████████▌ | 29/34 [00:05<00:00, 5.06it/s]\n 88%|████████▊ | 30/34 [00:05<00:00, 5.07it/s]\n 91%|█████████ | 31/34 [00:05<00:00, 5.06it/s]\n 94%|█████████▍| 32/34 [00:06<00:00, 5.06it/s]\n 97%|█████████▋| 33/34 [00:06<00:00, 5.06it/s]\n100%|██████████| 34/34 [00:06<00:00, 5.06it/s]\n100%|██████████| 34/34 [00:06<00:00, 5.17it/s]",
"metrics": {
"predict_time": 10.399815,
"total_time": 10.433311
},
"output": [
"https://replicate.delivery/pbxt/ldzhR4sfnHwcMSEobAwPJgtBGpjXZA7WLCLr4ipdepsngpMSA/out-0.png",
"https://replicate.delivery/pbxt/AKP5MjOxGOogE1isleYixcSku4eBBMwwByiOzHhk1fRRBTZkA/out-1.png",
"https://replicate.delivery/pbxt/VL793wzPG6p3FNF1iGEEwpPAcm5VBZdwAmeOX2BmeVMpgpMSA/out-2.png",
"https://replicate.delivery/pbxt/8mt0mdtX2hrIOppki0CKfwaHY6lTZsnlsmifNdLADTjpgpMSA/out-3.png"
],
"started_at": "2024-01-15T08:00:31.465076Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/k3zi4tdb7okhznnmqo3wsvmpam",
"cancel": "https://api.replicate.com/v1/predictions/k3zi4tdb7okhznnmqo3wsvmpam/cancel"
},
"version": "ce2ca6fd0837ffbd171a127f04ff7b8fe8cdf0f7ddc6739dd44409a758ded951"
}
0%| | 0/34 [00:00<?, ?it/s]
3%|▎ | 1/34 [00:00<00:03, 9.37it/s]
6%|▌ | 2/34 [00:00<00:03, 8.12it/s]
9%|▉ | 3/34 [00:00<00:04, 6.37it/s]
12%|█▏ | 4/34 [00:00<00:05, 5.78it/s]
15%|█▍ | 5/34 [00:00<00:05, 5.50it/s]
18%|█▊ | 6/34 [00:01<00:05, 5.32it/s]
21%|██ | 7/34 [00:01<00:05, 5.23it/s]
24%|██▎ | 8/34 [00:01<00:05, 5.17it/s]
26%|██▋ | 9/34 [00:01<00:04, 5.14it/s]
29%|██▉ | 10/34 [00:01<00:04, 5.11it/s]
32%|███▏ | 11/34 [00:02<00:04, 5.08it/s]
35%|███▌ | 12/34 [00:02<00:04, 5.07it/s]
38%|███▊ | 13/34 [00:02<00:04, 5.06it/s]
41%|████ | 14/34 [00:02<00:03, 5.06it/s]
44%|████▍ | 15/34 [00:02<00:03, 5.05it/s]
47%|████▋ | 16/34 [00:03<00:03, 5.04it/s]
50%|█████ | 17/34 [00:03<00:03, 5.04it/s]
53%|█████▎ | 18/34 [00:03<00:03, 5.04it/s]
56%|█████▌ | 19/34 [00:03<00:02, 5.05it/s]
59%|█████▉ | 20/34 [00:03<00:02, 5.04it/s]
62%|██████▏ | 21/34 [00:04<00:02, 5.04it/s]
65%|██████▍ | 22/34 [00:04<00:02, 5.04it/s]
68%|██████▊ | 23/34 [00:04<00:02, 5.05it/s]
71%|███████ | 24/34 [00:04<00:01, 5.06it/s]
74%|███████▎ | 25/34 [00:04<00:01, 5.06it/s]
76%|███████▋ | 26/34 [00:04<00:01, 5.06it/s]
79%|███████▉ | 27/34 [00:05<00:01, 5.06it/s]
82%|████████▏ | 28/34 [00:05<00:01, 5.07it/s]
85%|████████▌ | 29/34 [00:05<00:00, 5.06it/s]
88%|████████▊ | 30/34 [00:05<00:00, 5.07it/s]
91%|█████████ | 31/34 [00:05<00:00, 5.06it/s]
94%|█████████▍| 32/34 [00:06<00:00, 5.06it/s]
97%|█████████▋| 33/34 [00:06<00:00, 5.06it/s]
100%|██████████| 34/34 [00:06<00:00, 5.06it/s]
100%|██████████| 34/34 [00:06<00:00, 5.17it/s]