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.
delta-lock /noobai-xl:d09db5fc
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 delta-lock/noobai-xl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"delta-lock/noobai-xl:d09db5fc24b8b6573b095c2bd845b58242dce8f996b034fa865130bf1075858f",
{
input: {
vae: "default",
seed: -1,
model: "miaomiaoHarem_vpred11",
steps: 35,
width: 1184,
height: 864,
prompt: "1girl",
strength: 0.7,
cfg_scale: 5,
clip_skip: 1,
pag_scale: 3,
scheduler: "Euler a",
batch_size: 1,
blur_factor: 5,
negative_prompt: "animal, cat, dog, big breasts",
guidance_rescale: 0.5,
prepend_preprompt: true
}
}
);
// 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 delta-lock/noobai-xl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"delta-lock/noobai-xl:d09db5fc24b8b6573b095c2bd845b58242dce8f996b034fa865130bf1075858f",
input={
"vae": "default",
"seed": -1,
"model": "miaomiaoHarem_vpred11",
"steps": 35,
"width": 1184,
"height": 864,
"prompt": "1girl",
"strength": 0.7,
"cfg_scale": 5,
"clip_skip": 1,
"pag_scale": 3,
"scheduler": "Euler a",
"batch_size": 1,
"blur_factor": 5,
"negative_prompt": "animal, cat, dog, big breasts",
"guidance_rescale": 0.5,
"prepend_preprompt": True
}
)
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 delta-lock/noobai-xl 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": "delta-lock/noobai-xl:d09db5fc24b8b6573b095c2bd845b58242dce8f996b034fa865130bf1075858f",
"input": {
"vae": "default",
"seed": -1,
"model": "miaomiaoHarem_vpred11",
"steps": 35,
"width": 1184,
"height": 864,
"prompt": "1girl",
"strength": 0.7,
"cfg_scale": 5,
"clip_skip": 1,
"pag_scale": 3,
"scheduler": "Euler a",
"batch_size": 1,
"blur_factor": 5,
"negative_prompt": "animal, cat, dog, big breasts",
"guidance_rescale": 0.5,
"prepend_preprompt": true
}
}' \
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": "2025-05-11T11:12:19.175943Z",
"created_at": "2025-05-11T11:11:18.478000Z",
"data_removed": false,
"error": null,
"id": "3r50k8ydssrm80cpqw58fa08cc",
"input": {
"vae": "default",
"seed": -1,
"model": "miaomiaoHarem_vpred11",
"steps": 35,
"width": 1184,
"height": 864,
"prompt": "1girl",
"strength": 0.7,
"cfg_scale": 5,
"clip_skip": 1,
"pag_scale": 3,
"scheduler": "Euler a",
"batch_size": 1,
"blur_factor": 5,
"negative_prompt": "animal, cat, dog, big breasts",
"guidance_rescale": 0.5,
"prepend_preprompt": true
},
"logs": "Using text to image mode.\nUsing seed: 1971544197\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 3.98it/s]\n 9%|▊ | 3/35 [00:00<00:04, 6.90it/s]\n 11%|█▏ | 4/35 [00:00<00:04, 6.88it/s]\n 14%|█▍ | 5/35 [00:00<00:04, 6.88it/s]\n 17%|█▋ | 6/35 [00:00<00:04, 6.87it/s]\n 20%|██ | 7/35 [00:01<00:04, 6.86it/s]\n 23%|██▎ | 8/35 [00:01<00:03, 6.86it/s]\n 26%|██▌ | 9/35 [00:01<00:03, 6.84it/s]\n 29%|██▊ | 10/35 [00:01<00:03, 6.84it/s]\n 31%|███▏ | 11/35 [00:01<00:03, 6.84it/s]\n 34%|███▍ | 12/35 [00:01<00:03, 6.84it/s]\n 37%|███▋ | 13/35 [00:01<00:03, 6.83it/s]\n 40%|████ | 14/35 [00:02<00:03, 6.82it/s]\n 43%|████▎ | 15/35 [00:02<00:02, 6.82it/s]\n 46%|████▌ | 16/35 [00:02<00:02, 6.82it/s]\n 49%|████▊ | 17/35 [00:02<00:02, 6.82it/s]\n 51%|█████▏ | 18/35 [00:02<00:02, 6.82it/s]\n 54%|█████▍ | 19/35 [00:02<00:02, 6.81it/s]\n 57%|█████▋ | 20/35 [00:02<00:02, 6.82it/s]\n 60%|██████ | 21/35 [00:03<00:02, 6.82it/s]\n 63%|██████▎ | 22/35 [00:03<00:01, 6.81it/s]\n 66%|██████▌ | 23/35 [00:03<00:01, 6.80it/s]\n 69%|██████▊ | 24/35 [00:03<00:01, 6.80it/s]\n 71%|███████▏ | 25/35 [00:03<00:01, 6.79it/s]\n 74%|███████▍ | 26/35 [00:03<00:01, 6.80it/s]\n 77%|███████▋ | 27/35 [00:03<00:01, 6.79it/s]\n 80%|████████ | 28/35 [00:04<00:01, 6.79it/s]\n 83%|████████▎ | 29/35 [00:04<00:00, 6.79it/s]\n 86%|████████▌ | 30/35 [00:04<00:00, 6.80it/s]\n 89%|████████▊ | 31/35 [00:04<00:00, 6.80it/s]\n 91%|█████████▏| 32/35 [00:04<00:00, 6.80it/s]\n 94%|█████████▍| 33/35 [00:04<00:00, 6.79it/s]\n 97%|█████████▋| 34/35 [00:05<00:00, 6.79it/s]\n100%|██████████| 35/35 [00:05<00:00, 6.77it/s]\n100%|██████████| 35/35 [00:05<00:00, 6.78it/s]",
"metrics": {
"predict_time": 8.135859789,
"total_time": 60.697943
},
"output": [
"https://replicate.delivery/xezq/CVoDPTJw2Tb7GFewtqcOM0t7iQTeA7y6Vv73oWQFvetmAHXpA/0.png"
],
"started_at": "2025-05-11T11:12:11.040083Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-6wb52n4vnihsxyw5zubqvob5znxmxiz2sbiuy4fzxgkjhjthjsmq",
"get": "https://api.replicate.com/v1/predictions/3r50k8ydssrm80cpqw58fa08cc",
"cancel": "https://api.replicate.com/v1/predictions/3r50k8ydssrm80cpqw58fa08cc/cancel"
},
"version": "d09db5fc24b8b6573b095c2bd845b58242dce8f996b034fa865130bf1075858f"
}
Using text to image mode.
Using seed: 1971544197
0%| | 0/35 [00:00<?, ?it/s]
3%|▎ | 1/35 [00:00<00:08, 3.98it/s]
9%|▊ | 3/35 [00:00<00:04, 6.90it/s]
11%|█▏ | 4/35 [00:00<00:04, 6.88it/s]
14%|█▍ | 5/35 [00:00<00:04, 6.88it/s]
17%|█▋ | 6/35 [00:00<00:04, 6.87it/s]
20%|██ | 7/35 [00:01<00:04, 6.86it/s]
23%|██▎ | 8/35 [00:01<00:03, 6.86it/s]
26%|██▌ | 9/35 [00:01<00:03, 6.84it/s]
29%|██▊ | 10/35 [00:01<00:03, 6.84it/s]
31%|███▏ | 11/35 [00:01<00:03, 6.84it/s]
34%|███▍ | 12/35 [00:01<00:03, 6.84it/s]
37%|███▋ | 13/35 [00:01<00:03, 6.83it/s]
40%|████ | 14/35 [00:02<00:03, 6.82it/s]
43%|████▎ | 15/35 [00:02<00:02, 6.82it/s]
46%|████▌ | 16/35 [00:02<00:02, 6.82it/s]
49%|████▊ | 17/35 [00:02<00:02, 6.82it/s]
51%|█████▏ | 18/35 [00:02<00:02, 6.82it/s]
54%|█████▍ | 19/35 [00:02<00:02, 6.81it/s]
57%|█████▋ | 20/35 [00:02<00:02, 6.82it/s]
60%|██████ | 21/35 [00:03<00:02, 6.82it/s]
63%|██████▎ | 22/35 [00:03<00:01, 6.81it/s]
66%|██████▌ | 23/35 [00:03<00:01, 6.80it/s]
69%|██████▊ | 24/35 [00:03<00:01, 6.80it/s]
71%|███████▏ | 25/35 [00:03<00:01, 6.79it/s]
74%|███████▍ | 26/35 [00:03<00:01, 6.80it/s]
77%|███████▋ | 27/35 [00:03<00:01, 6.79it/s]
80%|████████ | 28/35 [00:04<00:01, 6.79it/s]
83%|████████▎ | 29/35 [00:04<00:00, 6.79it/s]
86%|████████▌ | 30/35 [00:04<00:00, 6.80it/s]
89%|████████▊ | 31/35 [00:04<00:00, 6.80it/s]
91%|█████████▏| 32/35 [00:04<00:00, 6.80it/s]
94%|█████████▍| 33/35 [00:04<00:00, 6.79it/s]
97%|█████████▋| 34/35 [00:05<00:00, 6.79it/s]
100%|██████████| 35/35 [00:05<00:00, 6.77it/s]
100%|██████████| 35/35 [00:05<00:00, 6.78it/s]