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";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run aisha-ai-official/anillustrious-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/anillustrious-v4:80441e2c32a55f2fcf9b77fa0a74c6c86ad7deac51eed722b9faedb253265cb4",
{
input: {
vae: "default",
seed: -1,
model: "Anillustrious-v4",
steps: 30,
width: 1024,
height: 1024,
prompt: "\nfrom above,street\n1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile",
refiner: false,
upscale: "Original",
cfg_scale: 7,
clip_skip: 2,
pag_scale: 0,
scheduler: "Euler a beta",
adetailer_face: false,
adetailer_hand: false,
refiner_prompt: "",
negative_prompt: "nsfw, naked",
adetailer_person: false,
guidance_rescale: 1,
refiner_strength: 0.8,
prepend_preprompt: true,
prompt_conjunction: true,
adetailer_face_prompt: "",
adetailer_hand_prompt: "",
adetailer_person_prompt: "",
negative_prompt_conjunction: false,
adetailer_face_negative_prompt: "",
adetailer_hand_negative_prompt: "",
adetailer_person_negative_prompt: ""
}
}
);
// 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/anillustrious-v4 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"aisha-ai-official/anillustrious-v4:80441e2c32a55f2fcf9b77fa0a74c6c86ad7deac51eed722b9faedb253265cb4",
input={
"vae": "default",
"seed": -1,
"model": "Anillustrious-v4",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "\nfrom above,street\n1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile",
"refiner": False,
"upscale": "Original",
"cfg_scale": 7,
"clip_skip": 2,
"pag_scale": 0,
"scheduler": "Euler a beta",
"adetailer_face": False,
"adetailer_hand": False,
"refiner_prompt": "",
"negative_prompt": "nsfw, naked",
"adetailer_person": False,
"guidance_rescale": 1,
"refiner_strength": 0.8,
"prepend_preprompt": True,
"prompt_conjunction": True,
"adetailer_face_prompt": "",
"adetailer_hand_prompt": "",
"adetailer_person_prompt": "",
"negative_prompt_conjunction": False,
"adetailer_face_negative_prompt": "",
"adetailer_hand_negative_prompt": "",
"adetailer_person_negative_prompt": ""
}
)
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/anillustrious-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/anillustrious-v4:80441e2c32a55f2fcf9b77fa0a74c6c86ad7deac51eed722b9faedb253265cb4",
"input": {
"vae": "default",
"seed": -1,
"model": "Anillustrious-v4",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "\\nfrom above,street\\n1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile",
"refiner": false,
"upscale": "Original",
"cfg_scale": 7,
"clip_skip": 2,
"pag_scale": 0,
"scheduler": "Euler a beta",
"adetailer_face": false,
"adetailer_hand": false,
"refiner_prompt": "",
"negative_prompt": "nsfw, naked",
"adetailer_person": false,
"guidance_rescale": 1,
"refiner_strength": 0.8,
"prepend_preprompt": true,
"prompt_conjunction": true,
"adetailer_face_prompt": "",
"adetailer_hand_prompt": "",
"adetailer_person_prompt": "",
"negative_prompt_conjunction": false,
"adetailer_face_negative_prompt": "",
"adetailer_hand_negative_prompt": "",
"adetailer_person_negative_prompt": ""
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/aisha-ai-official/anillustrious-v4@sha256:80441e2c32a55f2fcf9b77fa0a74c6c86ad7deac51eed722b9faedb253265cb4 \
-i 'vae="default"' \
-i 'seed=-1' \
-i 'model="Anillustrious-v4"' \
-i 'steps=30' \
-i 'width=1024' \
-i 'height=1024' \
-i $'prompt="\\nfrom above,street\\n1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile"' \
-i 'refiner=false' \
-i 'upscale="Original"' \
-i 'cfg_scale=7' \
-i 'clip_skip=2' \
-i 'pag_scale=0' \
-i 'scheduler="Euler a beta"' \
-i 'adetailer_face=false' \
-i 'adetailer_hand=false' \
-i 'refiner_prompt=""' \
-i 'negative_prompt="nsfw, naked"' \
-i 'adetailer_person=false' \
-i 'guidance_rescale=1' \
-i 'refiner_strength=0.8' \
-i 'prepend_preprompt=true' \
-i 'prompt_conjunction=true' \
-i 'adetailer_face_prompt=""' \
-i 'adetailer_hand_prompt=""' \
-i 'adetailer_person_prompt=""' \
-i 'negative_prompt_conjunction=false' \
-i 'adetailer_face_negative_prompt=""' \
-i 'adetailer_hand_negative_prompt=""' \
-i 'adetailer_person_negative_prompt=""'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/aisha-ai-official/anillustrious-v4@sha256:80441e2c32a55f2fcf9b77fa0a74c6c86ad7deac51eed722b9faedb253265cb4
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "vae": "default", "seed": -1, "model": "Anillustrious-v4", "steps": 30, "width": 1024, "height": 1024, "prompt": "\\nfrom above,street\\n1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile", "refiner": false, "upscale": "Original", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a beta", "adetailer_face": false, "adetailer_hand": false, "refiner_prompt": "", "negative_prompt": "nsfw, naked", "adetailer_person": false, "guidance_rescale": 1, "refiner_strength": 0.8, "prepend_preprompt": true, "prompt_conjunction": true, "adetailer_face_prompt": "", "adetailer_hand_prompt": "", "adetailer_person_prompt": "", "negative_prompt_conjunction": false, "adetailer_face_negative_prompt": "", "adetailer_hand_negative_prompt": "", "adetailer_person_negative_prompt": "" } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Add a payment method to run this model.
Each run costs approximately $0.0048. Alternatively, try out our featured models for free.
By signing in, you agree to our
terms of service and privacy policy
{
"completed_at": "2025-03-20T16:10:52.121409Z",
"created_at": "2025-03-20T16:10:45.905000Z",
"data_removed": false,
"error": null,
"id": "fw5b2a2725rm80cnph9b96dp44",
"input": {
"vae": "default",
"seed": -1,
"model": "Anillustrious-v4",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "\nfrom above,street\n1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile",
"refiner": false,
"upscale": "Original",
"cfg_scale": 7,
"clip_skip": 2,
"pag_scale": 0,
"scheduler": "Euler a beta",
"adetailer_face": false,
"adetailer_hand": false,
"refiner_prompt": "",
"negative_prompt": "nsfw, naked",
"adetailer_person": false,
"guidance_rescale": 1,
"refiner_strength": 0.8,
"prepend_preprompt": true,
"prompt_conjunction": true,
"adetailer_face_prompt": "",
"adetailer_hand_prompt": "",
"adetailer_person_prompt": "",
"negative_prompt_conjunction": false,
"adetailer_face_negative_prompt": "",
"adetailer_hand_negative_prompt": "",
"adetailer_person_negative_prompt": ""
},
"logs": "Balancing prompt's shape\nUsing text to image mode\nUsing seed: 872070416\n 0%| | 0/30 [00:00<?, ?it/s]\n 7%|▋ | 2/30 [00:00<00:02, 11.35it/s]\n 13%|█▎ | 4/30 [00:00<00:02, 9.37it/s]\n 17%|█▋ | 5/30 [00:00<00:02, 9.04it/s]\n 20%|██ | 6/30 [00:00<00:02, 8.82it/s]\n 23%|██▎ | 7/30 [00:00<00:02, 8.67it/s]\n 27%|██▋ | 8/30 [00:00<00:02, 8.57it/s]\n 30%|███ | 9/30 [00:01<00:02, 8.50it/s]\n 33%|███▎ | 10/30 [00:01<00:02, 8.45it/s]\n 37%|███▋ | 11/30 [00:01<00:02, 8.41it/s]\n 40%|████ | 12/30 [00:01<00:02, 8.38it/s]\n 43%|████▎ | 13/30 [00:01<00:02, 8.37it/s]\n 47%|████▋ | 14/30 [00:01<00:01, 8.36it/s]\n 50%|█████ | 15/30 [00:01<00:01, 8.35it/s]\n 53%|█████▎ | 16/30 [00:01<00:01, 8.35it/s]\n 57%|█████▋ | 17/30 [00:01<00:01, 8.33it/s]\n 60%|██████ | 18/30 [00:02<00:01, 8.32it/s]\n 63%|██████▎ | 19/30 [00:02<00:01, 8.32it/s]\n 67%|██████▋ | 20/30 [00:02<00:01, 8.30it/s]\n 70%|███████ | 21/30 [00:02<00:01, 8.29it/s]\n 73%|███████▎ | 22/30 [00:02<00:00, 8.28it/s]\n 77%|███████▋ | 23/30 [00:02<00:00, 8.28it/s]\n 80%|████████ | 24/30 [00:02<00:00, 8.27it/s]\n 83%|████████▎ | 25/30 [00:02<00:00, 8.25it/s]\n 87%|████████▋ | 26/30 [00:03<00:00, 8.26it/s]\n 90%|█████████ | 27/30 [00:03<00:00, 8.26it/s]\n 93%|█████████▎| 28/30 [00:03<00:00, 8.25it/s]\n 97%|█████████▋| 29/30 [00:03<00:00, 8.24it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.24it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.45it/s]",
"metrics": {
"predict_time": 6.209139565,
"total_time": 6.216409
},
"output": [
"https://replicate.delivery/xezq/iVFQnKpg217hA9xO2Kz0jUi9rXW1ITalN9GEUqE7fZCGgPNKA/0.png"
],
"started_at": "2025-03-20T16:10:45.912269Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-inosqx67gnkyvlcz3l7qf5dcjhmronkekxepbafrh45ojs2wtwsa",
"get": "https://api.replicate.com/v1/predictions/fw5b2a2725rm80cnph9b96dp44",
"cancel": "https://api.replicate.com/v1/predictions/fw5b2a2725rm80cnph9b96dp44/cancel"
},
"version": "635cd726c744b1f5cd2e4fc3a801ac1c9943beb6d1ca04fef7300058e78919af"
}
Balancing prompt's shape
Using text to image mode
Using seed: 872070416
0%| | 0/30 [00:00<?, ?it/s]
7%|▋ | 2/30 [00:00<00:02, 11.35it/s]
13%|█▎ | 4/30 [00:00<00:02, 9.37it/s]
17%|█▋ | 5/30 [00:00<00:02, 9.04it/s]
20%|██ | 6/30 [00:00<00:02, 8.82it/s]
23%|██▎ | 7/30 [00:00<00:02, 8.67it/s]
27%|██▋ | 8/30 [00:00<00:02, 8.57it/s]
30%|███ | 9/30 [00:01<00:02, 8.50it/s]
33%|███▎ | 10/30 [00:01<00:02, 8.45it/s]
37%|███▋ | 11/30 [00:01<00:02, 8.41it/s]
40%|████ | 12/30 [00:01<00:02, 8.38it/s]
43%|████▎ | 13/30 [00:01<00:02, 8.37it/s]
47%|████▋ | 14/30 [00:01<00:01, 8.36it/s]
50%|█████ | 15/30 [00:01<00:01, 8.35it/s]
53%|█████▎ | 16/30 [00:01<00:01, 8.35it/s]
57%|█████▋ | 17/30 [00:01<00:01, 8.33it/s]
60%|██████ | 18/30 [00:02<00:01, 8.32it/s]
63%|██████▎ | 19/30 [00:02<00:01, 8.32it/s]
67%|██████▋ | 20/30 [00:02<00:01, 8.30it/s]
70%|███████ | 21/30 [00:02<00:01, 8.29it/s]
73%|███████▎ | 22/30 [00:02<00:00, 8.28it/s]
77%|███████▋ | 23/30 [00:02<00:00, 8.28it/s]
80%|████████ | 24/30 [00:02<00:00, 8.27it/s]
83%|████████▎ | 25/30 [00:02<00:00, 8.25it/s]
87%|████████▋ | 26/30 [00:03<00:00, 8.26it/s]
90%|█████████ | 27/30 [00:03<00:00, 8.26it/s]
93%|█████████▎| 28/30 [00:03<00:00, 8.25it/s]
97%|█████████▋| 29/30 [00:03<00:00, 8.24it/s]
100%|██████████| 30/30 [00:03<00:00, 8.24it/s]
100%|██████████| 30/30 [00:03<00:00, 8.45it/s]
This output was created using a different version of the model, aisha-ai-official/anillustrious-v4:635cd726.
This model costs approximately $0.0048 to run on Replicate, or 208 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.
This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 5 seconds.
This model doesn't have a readme.
This model is warm. 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.
This model costs approximately $0.0048 to run on Replicate, but this varies depending on your inputs. View more.
Balancing prompt's shape
Using text to image mode
Using seed: 872070416
0%| | 0/30 [00:00<?, ?it/s]
7%|▋ | 2/30 [00:00<00:02, 11.35it/s]
13%|█▎ | 4/30 [00:00<00:02, 9.37it/s]
17%|█▋ | 5/30 [00:00<00:02, 9.04it/s]
20%|██ | 6/30 [00:00<00:02, 8.82it/s]
23%|██▎ | 7/30 [00:00<00:02, 8.67it/s]
27%|██▋ | 8/30 [00:00<00:02, 8.57it/s]
30%|███ | 9/30 [00:01<00:02, 8.50it/s]
33%|███▎ | 10/30 [00:01<00:02, 8.45it/s]
37%|███▋ | 11/30 [00:01<00:02, 8.41it/s]
40%|████ | 12/30 [00:01<00:02, 8.38it/s]
43%|████▎ | 13/30 [00:01<00:02, 8.37it/s]
47%|████▋ | 14/30 [00:01<00:01, 8.36it/s]
50%|█████ | 15/30 [00:01<00:01, 8.35it/s]
53%|█████▎ | 16/30 [00:01<00:01, 8.35it/s]
57%|█████▋ | 17/30 [00:01<00:01, 8.33it/s]
60%|██████ | 18/30 [00:02<00:01, 8.32it/s]
63%|██████▎ | 19/30 [00:02<00:01, 8.32it/s]
67%|██████▋ | 20/30 [00:02<00:01, 8.30it/s]
70%|███████ | 21/30 [00:02<00:01, 8.29it/s]
73%|███████▎ | 22/30 [00:02<00:00, 8.28it/s]
77%|███████▋ | 23/30 [00:02<00:00, 8.28it/s]
80%|████████ | 24/30 [00:02<00:00, 8.27it/s]
83%|████████▎ | 25/30 [00:02<00:00, 8.25it/s]
87%|████████▋ | 26/30 [00:03<00:00, 8.26it/s]
90%|█████████ | 27/30 [00:03<00:00, 8.26it/s]
93%|█████████▎| 28/30 [00:03<00:00, 8.25it/s]
97%|█████████▋| 29/30 [00:03<00:00, 8.24it/s]
100%|██████████| 30/30 [00:03<00:00, 8.24it/s]
100%|██████████| 30/30 [00:03<00:00, 8.45it/s]