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.
aisha-ai-official /illustrious-ultra-real-beta:3fd854b3
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 aisha-ai-official/illustrious-ultra-real-beta using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"aisha-ai-official/illustrious-ultra-real-beta:3fd854b3f334c3521c136beb66c7b791362c7a74386c42d5f4e762b7a0ee0035",
{
input: {
vae: "default",
seed: -1,
model: "Illustrious-Ultra-Real-Beta",
steps: 20,
width: 1024,
height: 1024,
prompt: "Ada Wong from Resident Evil 4, smile, low light",
cfg_scale: 7,
clip_skip: 1,
pag_scale: 0,
scheduler: "Euler a",
batch_size: 1,
negative_prompt: "nsfw, naked",
guidance_rescale: 1,
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 aisha-ai-official/illustrious-ultra-real-beta using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"aisha-ai-official/illustrious-ultra-real-beta:3fd854b3f334c3521c136beb66c7b791362c7a74386c42d5f4e762b7a0ee0035",
input={
"vae": "default",
"seed": -1,
"model": "Illustrious-Ultra-Real-Beta",
"steps": 20,
"width": 1024,
"height": 1024,
"prompt": "Ada Wong from Resident Evil 4, smile, low light",
"cfg_scale": 7,
"clip_skip": 1,
"pag_scale": 0,
"scheduler": "Euler a",
"batch_size": 1,
"negative_prompt": "nsfw, naked",
"guidance_rescale": 1,
"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 aisha-ai-official/illustrious-ultra-real-beta 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": "aisha-ai-official/illustrious-ultra-real-beta:3fd854b3f334c3521c136beb66c7b791362c7a74386c42d5f4e762b7a0ee0035",
"input": {
"vae": "default",
"seed": -1,
"model": "Illustrious-Ultra-Real-Beta",
"steps": 20,
"width": 1024,
"height": 1024,
"prompt": "Ada Wong from Resident Evil 4, smile, low light",
"cfg_scale": 7,
"clip_skip": 1,
"pag_scale": 0,
"scheduler": "Euler a",
"batch_size": 1,
"negative_prompt": "nsfw, naked",
"guidance_rescale": 1,
"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-03-05T04:48:10.899151Z",
"created_at": "2025-03-05T04:48:07.116000Z",
"data_removed": false,
"error": null,
"id": "jcvk8477shrmc0cncjgr0tye0m",
"input": {
"vae": "default",
"seed": -1,
"model": "Illustrious-Ultra-Real-Beta",
"steps": 20,
"width": 1024,
"height": 1024,
"prompt": "Ada Wong from Resident Evil 4, smile, low light",
"cfg_scale": 7,
"clip_skip": 1,
"pag_scale": 0,
"scheduler": "Euler a",
"batch_size": 1,
"negative_prompt": "nsfw, naked",
"guidance_rescale": 1,
"prepend_preprompt": true
},
"logs": "Using text to image mode.\nUsing seed: 45746209\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.40it/s]\n 20%|██ | 4/20 [00:00<00:01, 10.16it/s]\n 30%|███ | 6/20 [00:00<00:01, 9.60it/s]\n 35%|███▌ | 7/20 [00:00<00:01, 9.44it/s]\n 40%|████ | 8/20 [00:00<00:01, 9.32it/s]\n 45%|████▌ | 9/20 [00:00<00:01, 9.23it/s]\n 50%|█████ | 10/20 [00:01<00:01, 9.15it/s]\n 55%|█████▌ | 11/20 [00:01<00:00, 9.10it/s]\n 60%|██████ | 12/20 [00:01<00:00, 9.08it/s]\n 65%|██████▌ | 13/20 [00:01<00:00, 9.03it/s]\n 70%|███████ | 14/20 [00:01<00:00, 9.02it/s]\n 75%|███████▌ | 15/20 [00:01<00:00, 9.01it/s]\n 80%|████████ | 16/20 [00:01<00:00, 8.99it/s]\n 85%|████████▌ | 17/20 [00:01<00:00, 8.98it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 8.98it/s]\n 95%|█████████▌| 19/20 [00:02<00:00, 8.97it/s]\n100%|██████████| 20/20 [00:02<00:00, 8.94it/s]\n100%|██████████| 20/20 [00:02<00:00, 9.23it/s]",
"metrics": {
"predict_time": 3.7749043970000002,
"total_time": 3.783151
},
"output": [
"https://replicate.delivery/xezq/QWMroFdIQD6OHZboMjKEsgZe5Si3ff5uEOxLFjl8TXdUMxqoA/0.png"
],
"started_at": "2025-03-05T04:48:07.124247Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-gg3n3gcs4cjnl5kqwtmazcclvi5pkdh44uxk6g4pgnrewfrmpglq",
"get": "https://api.replicate.com/v1/predictions/jcvk8477shrmc0cncjgr0tye0m",
"cancel": "https://api.replicate.com/v1/predictions/jcvk8477shrmc0cncjgr0tye0m/cancel"
},
"version": "3fd854b3f334c3521c136beb66c7b791362c7a74386c42d5f4e762b7a0ee0035"
}
Using text to image mode.
Using seed: 45746209
0%| | 0/20 [00:00<?, ?it/s]
10%|█ | 2/20 [00:00<00:01, 12.40it/s]
20%|██ | 4/20 [00:00<00:01, 10.16it/s]
30%|███ | 6/20 [00:00<00:01, 9.60it/s]
35%|███▌ | 7/20 [00:00<00:01, 9.44it/s]
40%|████ | 8/20 [00:00<00:01, 9.32it/s]
45%|████▌ | 9/20 [00:00<00:01, 9.23it/s]
50%|█████ | 10/20 [00:01<00:01, 9.15it/s]
55%|█████▌ | 11/20 [00:01<00:00, 9.10it/s]
60%|██████ | 12/20 [00:01<00:00, 9.08it/s]
65%|██████▌ | 13/20 [00:01<00:00, 9.03it/s]
70%|███████ | 14/20 [00:01<00:00, 9.02it/s]
75%|███████▌ | 15/20 [00:01<00:00, 9.01it/s]
80%|████████ | 16/20 [00:01<00:00, 8.99it/s]
85%|████████▌ | 17/20 [00:01<00:00, 8.98it/s]
90%|█████████ | 18/20 [00:01<00:00, 8.98it/s]
95%|█████████▌| 19/20 [00:02<00:00, 8.97it/s]
100%|██████████| 20/20 [00:02<00:00, 8.94it/s]
100%|██████████| 20/20 [00:02<00:00, 9.23it/s]