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: 30,
width: 512,
height: 768,
prompt: "((sticker design, white background)), old women, beach waves, , Bell Sleeve Top , (masterpiece, best quality:1.6), castle in the sky, Fall, Mount Fuji, leaning forward, abbot, (horror style:1.4), blood,",
guidance: 7,
scheduler: "EulerA",
num_outputs: 1,
negative_prompt: "(worst quality, normal quality, low quality, 3D, nsfw, realistic:1.6)"
}
}
);
// 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": 30,
"width": 512,
"height": 768,
"prompt": "((sticker design, white background)), old women, beach waves, , Bell Sleeve Top , (masterpiece, best quality:1.6), castle in the sky, Fall, Mount Fuji, leaning forward, abbot, (horror style:1.4), blood,",
"guidance": 7,
"scheduler": "EulerA",
"num_outputs": 1,
"negative_prompt": "(worst quality, normal quality, low quality, 3D, nsfw, realistic:1.6)"
}
)
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": 30,
"width": 512,
"height": 768,
"prompt": "((sticker design, white background)), old women, beach waves, , Bell Sleeve Top , (masterpiece, best quality:1.6), castle in the sky, Fall, Mount Fuji, leaning forward, abbot, (horror style:1.4), blood,",
"guidance": 7,
"scheduler": "EulerA",
"num_outputs": 1,
"negative_prompt": "(worst quality, normal quality, low quality, 3D, nsfw, realistic:1.6)"
}
}' \
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-15T07:58:22.208868Z",
"created_at": "2024-01-15T07:58:19.087018Z",
"data_removed": false,
"error": null,
"id": "uzreqmlbatiqlmkhkwgq25jhfu",
"input": {
"seed": 0,
"steps": 30,
"width": 512,
"height": 768,
"prompt": "((sticker design, white background)), old women, beach waves, , Bell Sleeve Top , (masterpiece, best quality:1.6), castle in the sky, Fall, Mount Fuji, leaning forward, abbot, (horror style:1.4), blood,",
"guidance": 7,
"scheduler": "EulerA",
"num_outputs": 1,
"negative_prompt": "(worst quality, normal quality, low quality, 3D, nsfw, realistic:1.6)"
},
"logs": "0%| | 0/30 [00:00<?, ?it/s]\n 10%|█ | 3/30 [00:00<00:01, 23.64it/s]\n 20%|██ | 6/30 [00:00<00:01, 19.46it/s]\n 27%|██▋ | 8/30 [00:00<00:01, 18.63it/s]\n 33%|███▎ | 10/30 [00:00<00:01, 18.11it/s]\n 40%|████ | 12/30 [00:00<00:01, 17.82it/s]\n 47%|████▋ | 14/30 [00:00<00:00, 17.61it/s]\n 53%|█████▎ | 16/30 [00:00<00:00, 17.44it/s]\n 60%|██████ | 18/30 [00:01<00:00, 17.25it/s]\n 67%|██████▋ | 20/30 [00:01<00:00, 17.21it/s]\n 73%|███████▎ | 22/30 [00:01<00:00, 17.19it/s]\n 80%|████████ | 24/30 [00:01<00:00, 17.17it/s]\n 87%|████████▋ | 26/30 [00:01<00:00, 17.18it/s]\n 93%|█████████▎| 28/30 [00:01<00:00, 17.17it/s]\n100%|██████████| 30/30 [00:01<00:00, 17.18it/s]\n100%|██████████| 30/30 [00:01<00:00, 17.65it/s]",
"metrics": {
"predict_time": 3.076685,
"total_time": 3.12185
},
"output": [
"https://replicate.delivery/pbxt/yeKK4fLbGRnf1pEVucII7WddgHke07KDmwx6Z8D4hrL35lyIB/out-0.png"
],
"started_at": "2024-01-15T07:58:19.132183Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/uzreqmlbatiqlmkhkwgq25jhfu",
"cancel": "https://api.replicate.com/v1/predictions/uzreqmlbatiqlmkhkwgq25jhfu/cancel"
},
"version": "ce2ca6fd0837ffbd171a127f04ff7b8fe8cdf0f7ddc6739dd44409a758ded951"
}
0%| | 0/30 [00:00<?, ?it/s]
10%|█ | 3/30 [00:00<00:01, 23.64it/s]
20%|██ | 6/30 [00:00<00:01, 19.46it/s]
27%|██▋ | 8/30 [00:00<00:01, 18.63it/s]
33%|███▎ | 10/30 [00:00<00:01, 18.11it/s]
40%|████ | 12/30 [00:00<00:01, 17.82it/s]
47%|████▋ | 14/30 [00:00<00:00, 17.61it/s]
53%|█████▎ | 16/30 [00:00<00:00, 17.44it/s]
60%|██████ | 18/30 [00:01<00:00, 17.25it/s]
67%|██████▋ | 20/30 [00:01<00:00, 17.21it/s]
73%|███████▎ | 22/30 [00:01<00:00, 17.19it/s]
80%|████████ | 24/30 [00:01<00:00, 17.17it/s]
87%|████████▋ | 26/30 [00:01<00:00, 17.18it/s]
93%|█████████▎| 28/30 [00:01<00:00, 17.17it/s]
100%|██████████| 30/30 [00:01<00:00, 17.18it/s]
100%|██████████| 30/30 [00:01<00:00, 17.65it/s]