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.
charlesmccarthy /terminus-xl-otaku-v1:7a63fb93
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";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run charlesmccarthy/terminus-xl-otaku-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"charlesmccarthy/terminus-xl-otaku-v1:7a63fb93cb78f93bab3470e8042d256d2ea88c2a21d2df16e253ed4263b2bcca",
{
input: {
width: 1024,
height: 1024,
prompt: "jlo as artwork",
scheduler: "K_EULER_ANCESTRAL",
num_outputs: 1,
guidance_scale: 6.5,
apply_watermark: true,
negative_prompt: "",
num_inference_steps: 33
}
}
);
// 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 charlesmccarthy/terminus-xl-otaku-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"charlesmccarthy/terminus-xl-otaku-v1:7a63fb93cb78f93bab3470e8042d256d2ea88c2a21d2df16e253ed4263b2bcca",
input={
"width": 1024,
"height": 1024,
"prompt": "jlo as artwork",
"scheduler": "K_EULER_ANCESTRAL",
"num_outputs": 1,
"guidance_scale": 6.5,
"apply_watermark": True,
"negative_prompt": "",
"num_inference_steps": 33
}
)
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 charlesmccarthy/terminus-xl-otaku-v1 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": "charlesmccarthy/terminus-xl-otaku-v1:7a63fb93cb78f93bab3470e8042d256d2ea88c2a21d2df16e253ed4263b2bcca",
"input": {
"width": 1024,
"height": 1024,
"prompt": "jlo as artwork",
"scheduler": "K_EULER_ANCESTRAL",
"num_outputs": 1,
"guidance_scale": 6.5,
"apply_watermark": true,
"negative_prompt": "",
"num_inference_steps": 33
}
}' \
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": "2023-12-26T05:24:52.672850Z",
"created_at": "2023-12-26T05:24:44.108746Z",
"data_removed": false,
"error": null,
"id": "z4f5ro3beaphl7etukvf7pzkim",
"input": {
"width": 1024,
"height": 1024,
"prompt": "jlo as artwork",
"scheduler": "K_EULER_ANCESTRAL",
"num_outputs": 1,
"guidance_scale": 6.5,
"apply_watermark": true,
"negative_prompt": "",
"num_inference_steps": 33
},
"logs": "Using seed: 6031873\n 0%| | 0/33 [00:00<?, ?it/s]\n 6%|▌ | 2/33 [00:00<00:04, 6.82it/s]\n 9%|▉ | 3/33 [00:00<00:05, 5.94it/s]\n 12%|█▏ | 4/33 [00:00<00:05, 5.57it/s]\n 15%|█▌ | 5/33 [00:00<00:05, 5.37it/s]\n 18%|█▊ | 6/33 [00:01<00:05, 5.23it/s]\n 21%|██ | 7/33 [00:01<00:05, 5.16it/s]\n 24%|██▍ | 8/33 [00:01<00:04, 5.12it/s]\n 27%|██▋ | 9/33 [00:01<00:04, 5.08it/s]\n 30%|███ | 10/33 [00:01<00:04, 5.06it/s]\n 33%|███▎ | 11/33 [00:02<00:04, 5.04it/s]\n 36%|███▋ | 12/33 [00:02<00:04, 5.03it/s]\n 39%|███▉ | 13/33 [00:02<00:03, 5.02it/s]\n 42%|████▏ | 14/33 [00:02<00:03, 5.02it/s]\n 45%|████▌ | 15/33 [00:02<00:03, 5.01it/s]\n 48%|████▊ | 16/33 [00:03<00:03, 5.01it/s]\n 52%|█████▏ | 17/33 [00:03<00:03, 5.00it/s]\n 55%|█████▍ | 18/33 [00:03<00:03, 5.00it/s]\n 58%|█████▊ | 19/33 [00:03<00:02, 4.99it/s]\n 61%|██████ | 20/33 [00:03<00:02, 4.99it/s]\n 64%|██████▎ | 21/33 [00:04<00:02, 4.99it/s]\n 67%|██████▋ | 22/33 [00:04<00:02, 4.99it/s]\n 70%|██████▉ | 23/33 [00:04<00:02, 4.98it/s]\n 73%|███████▎ | 24/33 [00:04<00:01, 4.98it/s]\n 76%|███████▌ | 25/33 [00:04<00:01, 4.98it/s]\n 79%|███████▉ | 26/33 [00:05<00:01, 4.98it/s]\n 82%|████████▏ | 27/33 [00:05<00:01, 4.98it/s]\n 85%|████████▍ | 28/33 [00:05<00:01, 4.98it/s]\n 88%|████████▊ | 29/33 [00:05<00:00, 4.97it/s]\n 91%|█████████ | 30/33 [00:05<00:00, 4.98it/s]\n 94%|█████████▍| 31/33 [00:06<00:00, 4.98it/s]\n 97%|█████████▋| 32/33 [00:06<00:00, 4.98it/s]\n100%|██████████| 33/33 [00:06<00:00, 4.98it/s]\n100%|██████████| 33/33 [00:06<00:00, 5.08it/s]",
"metrics": {
"predict_time": 8.527941,
"total_time": 8.564104
},
"output": [
"https://replicate.delivery/pbxt/4yHLkENPZlLeISTt96eXjfMbDu2TUAelsai1G5h6r3fY0KwQC/out-0.png"
],
"started_at": "2023-12-26T05:24:44.144909Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/z4f5ro3beaphl7etukvf7pzkim",
"cancel": "https://api.replicate.com/v1/predictions/z4f5ro3beaphl7etukvf7pzkim/cancel"
},
"version": "7a63fb93cb78f93bab3470e8042d256d2ea88c2a21d2df16e253ed4263b2bcca"
}
Using seed: 6031873
0%| | 0/33 [00:00<?, ?it/s]
6%|▌ | 2/33 [00:00<00:04, 6.82it/s]
9%|▉ | 3/33 [00:00<00:05, 5.94it/s]
12%|█▏ | 4/33 [00:00<00:05, 5.57it/s]
15%|█▌ | 5/33 [00:00<00:05, 5.37it/s]
18%|█▊ | 6/33 [00:01<00:05, 5.23it/s]
21%|██ | 7/33 [00:01<00:05, 5.16it/s]
24%|██▍ | 8/33 [00:01<00:04, 5.12it/s]
27%|██▋ | 9/33 [00:01<00:04, 5.08it/s]
30%|███ | 10/33 [00:01<00:04, 5.06it/s]
33%|███▎ | 11/33 [00:02<00:04, 5.04it/s]
36%|███▋ | 12/33 [00:02<00:04, 5.03it/s]
39%|███▉ | 13/33 [00:02<00:03, 5.02it/s]
42%|████▏ | 14/33 [00:02<00:03, 5.02it/s]
45%|████▌ | 15/33 [00:02<00:03, 5.01it/s]
48%|████▊ | 16/33 [00:03<00:03, 5.01it/s]
52%|█████▏ | 17/33 [00:03<00:03, 5.00it/s]
55%|█████▍ | 18/33 [00:03<00:03, 5.00it/s]
58%|█████▊ | 19/33 [00:03<00:02, 4.99it/s]
61%|██████ | 20/33 [00:03<00:02, 4.99it/s]
64%|██████▎ | 21/33 [00:04<00:02, 4.99it/s]
67%|██████▋ | 22/33 [00:04<00:02, 4.99it/s]
70%|██████▉ | 23/33 [00:04<00:02, 4.98it/s]
73%|███████▎ | 24/33 [00:04<00:01, 4.98it/s]
76%|███████▌ | 25/33 [00:04<00:01, 4.98it/s]
79%|███████▉ | 26/33 [00:05<00:01, 4.98it/s]
82%|████████▏ | 27/33 [00:05<00:01, 4.98it/s]
85%|████████▍ | 28/33 [00:05<00:01, 4.98it/s]
88%|████████▊ | 29/33 [00:05<00:00, 4.97it/s]
91%|█████████ | 30/33 [00:05<00:00, 4.98it/s]
94%|█████████▍| 31/33 [00:06<00:00, 4.98it/s]
97%|█████████▋| 32/33 [00:06<00:00, 4.98it/s]
100%|██████████| 33/33 [00:06<00:00, 4.98it/s]
100%|██████████| 33/33 [00:06<00:00, 5.08it/s]