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.
tstramer /cyberpunk-anime-diffusion:c748e440
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 tstramer/cyberpunk-anime-diffusion using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"tstramer/cyberpunk-anime-diffusion:c748e4408604eb0af43136d4a8bba9fa2c4c0bbae5180fce603d14e65f5a998e",
{
input: {
width: 512,
height: 512,
prompt: "a photo of muscular beard soldier male in dgs illustration style, strong chest, 8k, photorealistic, award winning, studio lighting",
scheduler: "DDIM",
num_outputs: 1,
guidance_scale: 8.46,
prompt_strength: 0.8,
num_inference_steps: 149
}
}
);
console.log(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 tstramer/cyberpunk-anime-diffusion using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"tstramer/cyberpunk-anime-diffusion:c748e4408604eb0af43136d4a8bba9fa2c4c0bbae5180fce603d14e65f5a998e",
input={
"width": 512,
"height": 512,
"prompt": "a photo of muscular beard soldier male in dgs illustration style, strong chest, 8k, photorealistic, award winning, studio lighting",
"scheduler": "DDIM",
"num_outputs": 1,
"guidance_scale": 8.46,
"prompt_strength": 0.8,
"num_inference_steps": 149
}
)
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 tstramer/cyberpunk-anime-diffusion 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": "c748e4408604eb0af43136d4a8bba9fa2c4c0bbae5180fce603d14e65f5a998e",
"input": {
"width": 512,
"height": 512,
"prompt": "a photo of muscular beard soldier male in dgs illustration style, strong chest, 8k, photorealistic, award winning, studio lighting",
"scheduler": "DDIM",
"num_outputs": 1,
"guidance_scale": 8.46,
"prompt_strength": 0.8,
"num_inference_steps": 149
}
}' \
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": "2022-11-08T01:52:25.776468Z",
"created_at": "2022-11-08T01:52:15.327928Z",
"data_removed": false,
"error": null,
"id": "eatbdf2mzrb6foy7gj6aoz3d6y",
"input": {
"width": 512,
"height": 512,
"prompt": "a photo of muscular beard soldier male in dgs illustration style, strong chest, 8k, photorealistic, award winning, studio lighting",
"scheduler": "DDIM",
"num_outputs": 1,
"guidance_scale": "8.46",
"prompt_strength": 0.8,
"num_inference_steps": "149"
},
"logs": "Using seed: 32485\n\n 0%| | 0/149 [00:00<?, ?it/s]\n 1%|▏ | 2/149 [00:00<00:11, 12.55it/s]\n 3%|▎ | 4/149 [00:00<00:10, 13.95it/s]\n 4%|▍ | 6/149 [00:00<00:09, 14.31it/s]\n 5%|▌ | 8/149 [00:00<00:09, 14.61it/s]\n 7%|▋ | 10/149 [00:00<00:09, 14.71it/s]\n 8%|▊ | 12/149 [00:00<00:09, 14.78it/s]\n 9%|▉ | 14/149 [00:00<00:09, 14.76it/s]\n 11%|█ | 16/149 [00:01<00:08, 14.80it/s]\n 12%|█▏ | 18/149 [00:01<00:09, 14.46it/s]\n 13%|█▎ | 20/149 [00:01<00:08, 14.59it/s]\n 15%|█▍ | 22/149 [00:01<00:08, 14.68it/s]\n 16%|█▌ | 24/149 [00:01<00:08, 14.86it/s]\n 17%|█▋ | 26/149 [00:01<00:08, 14.91it/s]\n 19%|█▉ | 28/149 [00:01<00:08, 14.83it/s]\n 20%|██ | 30/149 [00:02<00:08, 14.81it/s]\n 21%|██▏ | 32/149 [00:02<00:07, 14.82it/s]\n 23%|██▎ | 34/149 [00:02<00:07, 14.85it/s]\n 24%|██▍ | 36/149 [00:02<00:07, 14.81it/s]\n 26%|██▌ | 38/149 [00:02<00:07, 14.89it/s]\n 27%|██▋ | 40/149 [00:02<00:07, 14.97it/s]\n 28%|██▊ | 42/149 [00:02<00:07, 14.94it/s]\n 30%|██▉ | 44/149 [00:02<00:07, 14.89it/s]\n 31%|███ | 46/149 [00:03<00:06, 14.87it/s]\n 32%|███▏ | 48/149 [00:03<00:06, 14.87it/s]\n 34%|███▎ | 50/149 [00:03<00:06, 14.80it/s]\n 35%|███▍ | 52/149 [00:03<00:06, 14.85it/s]\n 36%|███▌ | 54/149 [00:03<00:06, 14.91it/s]\n 38%|███▊ | 56/149 [00:03<00:06, 14.91it/s]\n 39%|███▉ | 58/149 [00:03<00:06, 14.84it/s]\n 40%|████ | 60/149 [00:04<00:05, 14.89it/s]\n 42%|████▏ | 62/149 [00:04<00:05, 14.95it/s]\n 43%|████▎ | 64/149 [00:04<00:05, 14.99it/s]\n 44%|████▍ | 66/149 [00:04<00:05, 15.05it/s]\n 46%|████▌ | 68/149 [00:04<00:05, 15.10it/s]\n 47%|████▋ | 70/149 [00:04<00:05, 15.12it/s]\n 48%|████▊ | 72/149 [00:04<00:05, 15.13it/s]\n 50%|████▉ | 74/149 [00:04<00:04, 15.06it/s]\n 51%|█████ | 76/149 [00:05<00:04, 15.07it/s]\n 52%|█████▏ | 78/149 [00:05<00:04, 15.07it/s]\n 54%|█████▎ | 80/149 [00:05<00:04, 15.08it/s]\n 55%|█████▌ | 82/149 [00:05<00:04, 14.96it/s]\n 56%|█████▋ | 84/149 [00:05<00:04, 14.91it/s]\n 58%|█████▊ | 86/149 [00:05<00:04, 14.92it/s]\n 59%|█████▉ | 88/149 [00:05<00:04, 14.94it/s]\n 60%|██████ | 90/149 [00:06<00:03, 14.91it/s]\n 62%|██████▏ | 92/149 [00:06<00:03, 14.92it/s]\n 63%|██████▎ | 94/149 [00:06<00:03, 14.94it/s]\n 64%|██████▍ | 96/149 [00:06<00:03, 14.92it/s]\n 66%|██████▌ | 98/149 [00:06<00:03, 14.94it/s]\n 67%|██████▋ | 100/149 [00:06<00:03, 14.97it/s]\n 68%|██████▊ | 102/149 [00:06<00:03, 14.97it/s]\n 70%|██████▉ | 104/149 [00:06<00:03, 14.97it/s]\n 71%|███████ | 106/149 [00:07<00:02, 14.84it/s]\n 72%|███████▏ | 108/149 [00:07<00:02, 14.86it/s]\n 74%|███████▍ | 110/149 [00:07<00:02, 14.87it/s]\n 75%|███████▌ | 112/149 [00:07<00:02, 14.83it/s]\n 77%|███████▋ | 114/149 [00:07<00:02, 14.88it/s]\n 78%|███████▊ | 116/149 [00:07<00:02, 14.91it/s]\n 79%|███████▉ | 118/149 [00:07<00:02, 14.95it/s]\n 81%|████████ | 120/149 [00:08<00:01, 14.94it/s]\n 82%|████████▏ | 122/149 [00:08<00:01, 14.92it/s]\n 83%|████████▎ | 124/149 [00:08<00:01, 14.95it/s]\n 85%|████████▍ | 126/149 [00:08<00:01, 14.95it/s]\n 86%|████████▌ | 128/149 [00:08<00:01, 14.98it/s]\n 87%|████████▋ | 130/149 [00:08<00:01, 15.01it/s]\n 89%|████████▊ | 132/149 [00:08<00:01, 15.03it/s]\n 90%|████████▉ | 134/149 [00:09<00:00, 15.08it/s]\n 91%|█████████▏| 136/149 [00:09<00:00, 15.08it/s]\n 93%|█████████▎| 138/149 [00:09<00:00, 15.14it/s]\n 94%|█████████▍| 140/149 [00:09<00:00, 15.16it/s]\n 95%|█████████▌| 142/149 [00:09<00:00, 15.18it/s]\n 97%|█████████▋| 144/149 [00:09<00:00, 15.19it/s]\n 98%|█████████▊| 146/149 [00:09<00:00, 15.13it/s]\n 99%|█████████▉| 148/149 [00:09<00:00, 14.66it/s]\n100%|██████████| 149/149 [00:10<00:00, 14.89it/s]",
"metrics": {
"predict_time": 10.417518,
"total_time": 10.44854
},
"output": [
"https://replicate.delivery/pbxt/ZGkgLxqebMQ0Tq1tkH3qbtgnue5whEW9emIqgJDafmanFa3fB/out-0.png"
],
"started_at": "2022-11-08T01:52:15.358950Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/eatbdf2mzrb6foy7gj6aoz3d6y",
"cancel": "https://api.replicate.com/v1/predictions/eatbdf2mzrb6foy7gj6aoz3d6y/cancel"
},
"version": "8d996c894fbe4090ea243ba2aebbaabe900000c8bd351cf71c431664f135ec05"
}
Using seed: 32485
0%| | 0/149 [00:00<?, ?it/s]
1%|▏ | 2/149 [00:00<00:11, 12.55it/s]
3%|▎ | 4/149 [00:00<00:10, 13.95it/s]
4%|▍ | 6/149 [00:00<00:09, 14.31it/s]
5%|▌ | 8/149 [00:00<00:09, 14.61it/s]
7%|▋ | 10/149 [00:00<00:09, 14.71it/s]
8%|▊ | 12/149 [00:00<00:09, 14.78it/s]
9%|▉ | 14/149 [00:00<00:09, 14.76it/s]
11%|█ | 16/149 [00:01<00:08, 14.80it/s]
12%|█▏ | 18/149 [00:01<00:09, 14.46it/s]
13%|█▎ | 20/149 [00:01<00:08, 14.59it/s]
15%|█▍ | 22/149 [00:01<00:08, 14.68it/s]
16%|█▌ | 24/149 [00:01<00:08, 14.86it/s]
17%|█▋ | 26/149 [00:01<00:08, 14.91it/s]
19%|█▉ | 28/149 [00:01<00:08, 14.83it/s]
20%|██ | 30/149 [00:02<00:08, 14.81it/s]
21%|██▏ | 32/149 [00:02<00:07, 14.82it/s]
23%|██▎ | 34/149 [00:02<00:07, 14.85it/s]
24%|██▍ | 36/149 [00:02<00:07, 14.81it/s]
26%|██▌ | 38/149 [00:02<00:07, 14.89it/s]
27%|██▋ | 40/149 [00:02<00:07, 14.97it/s]
28%|██▊ | 42/149 [00:02<00:07, 14.94it/s]
30%|██▉ | 44/149 [00:02<00:07, 14.89it/s]
31%|███ | 46/149 [00:03<00:06, 14.87it/s]
32%|███▏ | 48/149 [00:03<00:06, 14.87it/s]
34%|███▎ | 50/149 [00:03<00:06, 14.80it/s]
35%|███▍ | 52/149 [00:03<00:06, 14.85it/s]
36%|███▌ | 54/149 [00:03<00:06, 14.91it/s]
38%|███▊ | 56/149 [00:03<00:06, 14.91it/s]
39%|███▉ | 58/149 [00:03<00:06, 14.84it/s]
40%|████ | 60/149 [00:04<00:05, 14.89it/s]
42%|████▏ | 62/149 [00:04<00:05, 14.95it/s]
43%|████▎ | 64/149 [00:04<00:05, 14.99it/s]
44%|████▍ | 66/149 [00:04<00:05, 15.05it/s]
46%|████▌ | 68/149 [00:04<00:05, 15.10it/s]
47%|████▋ | 70/149 [00:04<00:05, 15.12it/s]
48%|████▊ | 72/149 [00:04<00:05, 15.13it/s]
50%|████▉ | 74/149 [00:04<00:04, 15.06it/s]
51%|█████ | 76/149 [00:05<00:04, 15.07it/s]
52%|█████▏ | 78/149 [00:05<00:04, 15.07it/s]
54%|█████▎ | 80/149 [00:05<00:04, 15.08it/s]
55%|█████▌ | 82/149 [00:05<00:04, 14.96it/s]
56%|█████▋ | 84/149 [00:05<00:04, 14.91it/s]
58%|█████▊ | 86/149 [00:05<00:04, 14.92it/s]
59%|█████▉ | 88/149 [00:05<00:04, 14.94it/s]
60%|██████ | 90/149 [00:06<00:03, 14.91it/s]
62%|██████▏ | 92/149 [00:06<00:03, 14.92it/s]
63%|██████▎ | 94/149 [00:06<00:03, 14.94it/s]
64%|██████▍ | 96/149 [00:06<00:03, 14.92it/s]
66%|██████▌ | 98/149 [00:06<00:03, 14.94it/s]
67%|██████▋ | 100/149 [00:06<00:03, 14.97it/s]
68%|██████▊ | 102/149 [00:06<00:03, 14.97it/s]
70%|██████▉ | 104/149 [00:06<00:03, 14.97it/s]
71%|███████ | 106/149 [00:07<00:02, 14.84it/s]
72%|███████▏ | 108/149 [00:07<00:02, 14.86it/s]
74%|███████▍ | 110/149 [00:07<00:02, 14.87it/s]
75%|███████▌ | 112/149 [00:07<00:02, 14.83it/s]
77%|███████▋ | 114/149 [00:07<00:02, 14.88it/s]
78%|███████▊ | 116/149 [00:07<00:02, 14.91it/s]
79%|███████▉ | 118/149 [00:07<00:02, 14.95it/s]
81%|████████ | 120/149 [00:08<00:01, 14.94it/s]
82%|████████▏ | 122/149 [00:08<00:01, 14.92it/s]
83%|████████▎ | 124/149 [00:08<00:01, 14.95it/s]
85%|████████▍ | 126/149 [00:08<00:01, 14.95it/s]
86%|████████▌ | 128/149 [00:08<00:01, 14.98it/s]
87%|████████▋ | 130/149 [00:08<00:01, 15.01it/s]
89%|████████▊ | 132/149 [00:08<00:01, 15.03it/s]
90%|████████▉ | 134/149 [00:09<00:00, 15.08it/s]
91%|█████████▏| 136/149 [00:09<00:00, 15.08it/s]
93%|█████████▎| 138/149 [00:09<00:00, 15.14it/s]
94%|█████████▍| 140/149 [00:09<00:00, 15.16it/s]
95%|█████████▌| 142/149 [00:09<00:00, 15.18it/s]
97%|█████████▋| 144/149 [00:09<00:00, 15.19it/s]
98%|█████████▊| 146/149 [00:09<00:00, 15.13it/s]
99%|█████████▉| 148/149 [00:09<00:00, 14.66it/s]
100%|██████████| 149/149 [00:10<00:00, 14.89it/s]
This example was created by a different version, tstramer/cyberpunk-anime-diffusion:8d996c89.