Readme
This model doesn't have a readme.
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 aisha-ai-official/alchemist-mix-illustrious-realism-v4 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/alchemist-mix-illustrious-realism-v4:7ad86f1e6919326d7237f0e67015a8438f140cc0882e9300437c0093f6633cea",
{
input: {
vae: "default",
seed: 1328132913,
model: "Alchemist-Mix-Illustrious-Realism-v4",
steps: 30,
width: 1024,
height: 1024,
prompt: "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
cfg_scale: 5,
clip_skip: 1,
pag_scale: 0,
scheduler: "Euler a",
batch_size: 1,
adetailer_face: true,
adetailer_hand: false,
negative_prompt: "nsfw, naked",
adetailer_person: false,
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/alchemist-mix-illustrious-realism-v4 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"aisha-ai-official/alchemist-mix-illustrious-realism-v4:7ad86f1e6919326d7237f0e67015a8438f140cc0882e9300437c0093f6633cea",
input={
"vae": "default",
"seed": 1328132913,
"model": "Alchemist-Mix-Illustrious-Realism-v4",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
"cfg_scale": 5,
"clip_skip": 1,
"pag_scale": 0,
"scheduler": "Euler a",
"batch_size": 1,
"adetailer_face": True,
"adetailer_hand": False,
"negative_prompt": "nsfw, naked",
"adetailer_person": False,
"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/alchemist-mix-illustrious-realism-v4 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/alchemist-mix-illustrious-realism-v4:7ad86f1e6919326d7237f0e67015a8438f140cc0882e9300437c0093f6633cea",
"input": {
"vae": "default",
"seed": 1328132913,
"model": "Alchemist-Mix-Illustrious-Realism-v4",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
"cfg_scale": 5,
"clip_skip": 1,
"pag_scale": 0,
"scheduler": "Euler a",
"batch_size": 1,
"adetailer_face": true,
"adetailer_hand": false,
"negative_prompt": "nsfw, naked",
"adetailer_person": false,
"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
{
"completed_at": "2025-03-07T08:42:40.305088Z",
"created_at": "2025-03-07T08:41:57.515000Z",
"data_removed": false,
"error": null,
"id": "jsq63p5p1drme0cndz2btp5z04",
"input": {
"vae": "default",
"seed": 1328132913,
"model": "Alchemist-Mix-Illustrious-Realism-v4",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
"cfg_scale": 5,
"clip_skip": 1,
"pag_scale": 0,
"scheduler": "Euler a",
"batch_size": 1,
"adetailer_face": true,
"adetailer_hand": false,
"negative_prompt": "nsfw, naked",
"adetailer_person": false,
"guidance_rescale": 1,
"prepend_preprompt": true
},
"logs": "Using text to image mode.\nUsing seed: 1328132913\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:09, 3.04it/s]\n 10%|█ | 3/30 [00:00<00:04, 6.58it/s]\n 13%|█▎ | 4/30 [00:00<00:03, 7.06it/s]\n 17%|█▋ | 5/30 [00:00<00:03, 7.38it/s]\n 20%|██ | 6/30 [00:00<00:03, 7.60it/s]\n 23%|██▎ | 7/30 [00:01<00:02, 7.76it/s]\n 27%|██▋ | 8/30 [00:01<00:02, 7.86it/s]\n 30%|███ | 9/30 [00:01<00:02, 7.93it/s]\n 33%|███▎ | 10/30 [00:01<00:02, 7.98it/s]\n 37%|███▋ | 11/30 [00:01<00:02, 8.02it/s]\n 40%|████ | 12/30 [00:01<00:02, 8.05it/s]\n 43%|████▎ | 13/30 [00:01<00:02, 8.06it/s]\n 47%|████▋ | 14/30 [00:01<00:01, 8.07it/s]\n 50%|█████ | 15/30 [00:01<00:01, 8.08it/s]\n 53%|█████▎ | 16/30 [00:02<00:01, 8.09it/s]\n 57%|█████▋ | 17/30 [00:02<00:01, 8.08it/s]\n 60%|██████ | 18/30 [00:02<00:01, 8.07it/s]\n 63%|██████▎ | 19/30 [00:02<00:01, 8.07it/s]\n 67%|██████▋ | 20/30 [00:02<00:01, 8.07it/s]\n 70%|███████ | 21/30 [00:02<00:01, 8.07it/s]\n 73%|███████▎ | 22/30 [00:02<00:00, 8.06it/s]\n 77%|███████▋ | 23/30 [00:02<00:00, 8.07it/s]\n 80%|████████ | 24/30 [00:03<00:00, 8.05it/s]\n 83%|████████▎ | 25/30 [00:03<00:00, 8.06it/s]\n 87%|████████▋ | 26/30 [00:03<00:00, 8.06it/s]\n 90%|█████████ | 27/30 [00:03<00:00, 8.06it/s]\n 93%|█████████▎| 28/30 [00:03<00:00, 8.05it/s]\n 97%|█████████▋| 29/30 [00:03<00:00, 8.04it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.04it/s]\n100%|██████████| 30/30 [00:03<00:00, 7.79it/s]\n/root/.pyenv/versions/3.12.8/lib/python3.12/site-packages/huggingface_hub/file_download.py:834: UserWarning: `local_dir_use_symlinks` parameter is deprecated and will be ignored. The process to download files to a local folder has been updated and do not rely on symlinks anymore. You only need to pass a destination folder as`local_dir`.\nFor more details, check out https://huggingface.co/docs/huggingface_hub/main/en/guides/download#download-files-to-local-folder.\nwarnings.warn(\nInpainting...\n0: 640x640 1 face, 6.1ms\nSpeed: 9.8ms preprocess, 6.1ms inference, 38.6ms postprocess per image at shape (1, 3, 640, 640)\npadded dim: (np.int64(235), np.int64(145), np.int64(681), np.int64(638))\nLoading StableDiffusionXLInpaintPipeline\n 0%| | 0/3 [00:00<?, ?it/s]\n 33%|███▎ | 1/3 [00:00<00:00, 8.62it/s]\n 67%|██████▋ | 2/3 [00:00<00:00, 8.27it/s]\n100%|██████████| 3/3 [00:00<00:00, 9.18it/s]\ngenerated inpaint dim: (1024, 1024)",
"metrics": {
"predict_time": 7.932779249,
"total_time": 42.790088
},
"output": [
"https://replicate.delivery/xezq/yS9oDssf1w1lW6amt2j4a2DupBaUq09UZhRYPlf7HcDAOGWUA/0.png"
],
"started_at": "2025-03-07T08:42:32.372309Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-lzhgigqyfuuaxzxjfgrsl4isy333qykvbiaxb3uqcdn56a62k5jq",
"get": "https://api.replicate.com/v1/predictions/jsq63p5p1drme0cndz2btp5z04",
"cancel": "https://api.replicate.com/v1/predictions/jsq63p5p1drme0cndz2btp5z04/cancel"
},
"version": "7ad86f1e6919326d7237f0e67015a8438f140cc0882e9300437c0093f6633cea"
}
Using text to image mode.
Using seed: 1328132913
0%| | 0/30 [00:00<?, ?it/s]
3%|▎ | 1/30 [00:00<00:09, 3.04it/s]
10%|█ | 3/30 [00:00<00:04, 6.58it/s]
13%|█▎ | 4/30 [00:00<00:03, 7.06it/s]
17%|█▋ | 5/30 [00:00<00:03, 7.38it/s]
20%|██ | 6/30 [00:00<00:03, 7.60it/s]
23%|██▎ | 7/30 [00:01<00:02, 7.76it/s]
27%|██▋ | 8/30 [00:01<00:02, 7.86it/s]
30%|███ | 9/30 [00:01<00:02, 7.93it/s]
33%|███▎ | 10/30 [00:01<00:02, 7.98it/s]
37%|███▋ | 11/30 [00:01<00:02, 8.02it/s]
40%|████ | 12/30 [00:01<00:02, 8.05it/s]
43%|████▎ | 13/30 [00:01<00:02, 8.06it/s]
47%|████▋ | 14/30 [00:01<00:01, 8.07it/s]
50%|█████ | 15/30 [00:01<00:01, 8.08it/s]
53%|█████▎ | 16/30 [00:02<00:01, 8.09it/s]
57%|█████▋ | 17/30 [00:02<00:01, 8.08it/s]
60%|██████ | 18/30 [00:02<00:01, 8.07it/s]
63%|██████▎ | 19/30 [00:02<00:01, 8.07it/s]
67%|██████▋ | 20/30 [00:02<00:01, 8.07it/s]
70%|███████ | 21/30 [00:02<00:01, 8.07it/s]
73%|███████▎ | 22/30 [00:02<00:00, 8.06it/s]
77%|███████▋ | 23/30 [00:02<00:00, 8.07it/s]
80%|████████ | 24/30 [00:03<00:00, 8.05it/s]
83%|████████▎ | 25/30 [00:03<00:00, 8.06it/s]
87%|████████▋ | 26/30 [00:03<00:00, 8.06it/s]
90%|█████████ | 27/30 [00:03<00:00, 8.06it/s]
93%|█████████▎| 28/30 [00:03<00:00, 8.05it/s]
97%|█████████▋| 29/30 [00:03<00:00, 8.04it/s]
100%|██████████| 30/30 [00:03<00:00, 8.04it/s]
100%|██████████| 30/30 [00:03<00:00, 7.79it/s]
/root/.pyenv/versions/3.12.8/lib/python3.12/site-packages/huggingface_hub/file_download.py:834: UserWarning: `local_dir_use_symlinks` parameter is deprecated and will be ignored. The process to download files to a local folder has been updated and do not rely on symlinks anymore. You only need to pass a destination folder as`local_dir`.
For more details, check out https://huggingface.co/docs/huggingface_hub/main/en/guides/download#download-files-to-local-folder.
warnings.warn(
Inpainting...
0: 640x640 1 face, 6.1ms
Speed: 9.8ms preprocess, 6.1ms inference, 38.6ms postprocess per image at shape (1, 3, 640, 640)
padded dim: (np.int64(235), np.int64(145), np.int64(681), np.int64(638))
Loading StableDiffusionXLInpaintPipeline
0%| | 0/3 [00:00<?, ?it/s]
33%|███▎ | 1/3 [00:00<00:00, 8.62it/s]
67%|██████▋ | 2/3 [00:00<00:00, 8.27it/s]
100%|██████████| 3/3 [00:00<00:00, 9.18it/s]
generated inpaint dim: (1024, 1024)
This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.
This model is cold. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
Using text to image mode.
Using seed: 1328132913
0%| | 0/30 [00:00<?, ?it/s]
3%|▎ | 1/30 [00:00<00:09, 3.04it/s]
10%|█ | 3/30 [00:00<00:04, 6.58it/s]
13%|█▎ | 4/30 [00:00<00:03, 7.06it/s]
17%|█▋ | 5/30 [00:00<00:03, 7.38it/s]
20%|██ | 6/30 [00:00<00:03, 7.60it/s]
23%|██▎ | 7/30 [00:01<00:02, 7.76it/s]
27%|██▋ | 8/30 [00:01<00:02, 7.86it/s]
30%|███ | 9/30 [00:01<00:02, 7.93it/s]
33%|███▎ | 10/30 [00:01<00:02, 7.98it/s]
37%|███▋ | 11/30 [00:01<00:02, 8.02it/s]
40%|████ | 12/30 [00:01<00:02, 8.05it/s]
43%|████▎ | 13/30 [00:01<00:02, 8.06it/s]
47%|████▋ | 14/30 [00:01<00:01, 8.07it/s]
50%|█████ | 15/30 [00:01<00:01, 8.08it/s]
53%|█████▎ | 16/30 [00:02<00:01, 8.09it/s]
57%|█████▋ | 17/30 [00:02<00:01, 8.08it/s]
60%|██████ | 18/30 [00:02<00:01, 8.07it/s]
63%|██████▎ | 19/30 [00:02<00:01, 8.07it/s]
67%|██████▋ | 20/30 [00:02<00:01, 8.07it/s]
70%|███████ | 21/30 [00:02<00:01, 8.07it/s]
73%|███████▎ | 22/30 [00:02<00:00, 8.06it/s]
77%|███████▋ | 23/30 [00:02<00:00, 8.07it/s]
80%|████████ | 24/30 [00:03<00:00, 8.05it/s]
83%|████████▎ | 25/30 [00:03<00:00, 8.06it/s]
87%|████████▋ | 26/30 [00:03<00:00, 8.06it/s]
90%|█████████ | 27/30 [00:03<00:00, 8.06it/s]
93%|█████████▎| 28/30 [00:03<00:00, 8.05it/s]
97%|█████████▋| 29/30 [00:03<00:00, 8.04it/s]
100%|██████████| 30/30 [00:03<00:00, 8.04it/s]
100%|██████████| 30/30 [00:03<00:00, 7.79it/s]
/root/.pyenv/versions/3.12.8/lib/python3.12/site-packages/huggingface_hub/file_download.py:834: UserWarning: `local_dir_use_symlinks` parameter is deprecated and will be ignored. The process to download files to a local folder has been updated and do not rely on symlinks anymore. You only need to pass a destination folder as`local_dir`.
For more details, check out https://huggingface.co/docs/huggingface_hub/main/en/guides/download#download-files-to-local-folder.
warnings.warn(
Inpainting...
0: 640x640 1 face, 6.1ms
Speed: 9.8ms preprocess, 6.1ms inference, 38.6ms postprocess per image at shape (1, 3, 640, 640)
padded dim: (np.int64(235), np.int64(145), np.int64(681), np.int64(638))
Loading StableDiffusionXLInpaintPipeline
0%| | 0/3 [00:00<?, ?it/s]
33%|███▎ | 1/3 [00:00<00:00, 8.62it/s]
67%|██████▋ | 2/3 [00:00<00:00, 8.27it/s]
100%|██████████| 3/3 [00:00<00:00, 9.18it/s]
generated inpaint dim: (1024, 1024)