You're looking at a specific version of this model. Jump to the model overview.
aisha-ai-official /anillustrious-v4:6bb086c5
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variableexport 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/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:6bb086c56cc858632c0be34a3fc390b4794a395ff9f3ff95e1cc58479629d30f",
{
input: {
vae: "NeptuniaXL-VAE-ContrastSaturation",
seed: -1,
model: "Anillustrious-v4",
steps: 30,
width: 1080,
height: 1080,
prompt: "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
refiner: false,
upscale: "Original",
cfg_scale: 7,
clip_skip: 2,
pag_scale: 0,
scheduler: "Euler a",
adetailer_face: false,
adetailer_hand: false,
refiner_prompt: "",
negative_prompt: "nsfw, naked",
adetailer_person: false,
guidance_rescale: 1,
refiner_strength: 0.4,
prepend_preprompt: true,
adetailer_face_prompt: "",
adetailer_hand_prompt: "",
adetailer_person_prompt: "",
adetailer_face_negative_prompt: "",
adetailer_hand_negative_prompt: "",
adetailer_person_negative_prompt: ""
}
}
);
console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variableexport 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:6bb086c56cc858632c0be34a3fc390b4794a395ff9f3ff95e1cc58479629d30f",
input={
"vae": "NeptuniaXL-VAE-ContrastSaturation",
"seed": -1,
"model": "Anillustrious-v4",
"steps": 30,
"width": 1080,
"height": 1080,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
"refiner": False,
"upscale": "Original",
"cfg_scale": 7,
"clip_skip": 2,
"pag_scale": 0,
"scheduler": "Euler a",
"adetailer_face": False,
"adetailer_hand": False,
"refiner_prompt": "",
"negative_prompt": "nsfw, naked",
"adetailer_person": False,
"guidance_rescale": 1,
"refiner_strength": 0.4,
"prepend_preprompt": True,
"adetailer_face_prompt": "",
"adetailer_hand_prompt": "",
"adetailer_person_prompt": "",
"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 variableexport 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": "6bb086c56cc858632c0be34a3fc390b4794a395ff9f3ff95e1cc58479629d30f",
"input": {
"vae": "NeptuniaXL-VAE-ContrastSaturation",
"seed": -1,
"model": "Anillustrious-v4",
"steps": 30,
"width": 1080,
"height": 1080,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
"refiner": false,
"upscale": "Original",
"cfg_scale": 7,
"clip_skip": 2,
"pag_scale": 0,
"scheduler": "Euler a",
"adetailer_face": false,
"adetailer_hand": false,
"refiner_prompt": "",
"negative_prompt": "nsfw, naked",
"adetailer_person": false,
"guidance_rescale": 1,
"refiner_strength": 0.4,
"prepend_preprompt": true,
"adetailer_face_prompt": "",
"adetailer_hand_prompt": "",
"adetailer_person_prompt": "",
"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.
Pull and run aisha-ai-official/anillustrious-v4 using Cog (this will download the full model and run it in your local environment):
cog predict r8.im/aisha-ai-official/anillustrious-v4@sha256:6bb086c56cc858632c0be34a3fc390b4794a395ff9f3ff95e1cc58479629d30f \
-i 'vae="NeptuniaXL-VAE-ContrastSaturation"' \
-i 'seed=-1' \
-i 'model="Anillustrious-v4"' \
-i 'steps=30' \
-i 'width=1080' \
-i 'height=1080' \
-i 'prompt="street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V"' \
-i 'refiner=false' \
-i 'upscale="Original"' \
-i 'cfg_scale=7' \
-i 'clip_skip=2' \
-i 'pag_scale=0' \
-i 'scheduler="Euler a"' \
-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.4' \
-i 'prepend_preprompt=true' \
-i 'adetailer_face_prompt=""' \
-i 'adetailer_hand_prompt=""' \
-i 'adetailer_person_prompt=""' \
-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.
Pull and run aisha-ai-official/anillustrious-v4 using Docker (this will download the full model and run it in your local environment):
docker run -d -p 5000:5000 --gpus=all r8.im/aisha-ai-official/anillustrious-v4@sha256:6bb086c56cc858632c0be34a3fc390b4794a395ff9f3ff95e1cc58479629d30f
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "vae": "NeptuniaXL-VAE-ContrastSaturation", "seed": -1, "model": "Anillustrious-v4", "steps": 30, "width": 1080, "height": 1080, "prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V", "refiner": false, "upscale": "Original", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "adetailer_face": false, "adetailer_hand": false, "refiner_prompt": "", "negative_prompt": "nsfw, naked", "adetailer_person": false, "guidance_rescale": 1, "refiner_strength": 0.4, "prepend_preprompt": true, "adetailer_face_prompt": "", "adetailer_hand_prompt": "", "adetailer_person_prompt": "", "adetailer_face_negative_prompt": "", "adetailer_hand_negative_prompt": "", "adetailer_person_negative_prompt": "" } }' \ http://localhost:5000/predictions
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-10T18:13:20.326863Z",
"created_at": "2025-03-10T17:46:25.924000Z",
"data_removed": false,
"error": null,
"id": "kqa79b250hrmc0cng4n9f622m0",
"input": {
"vae": "NeptuniaXL-VAE-ContrastSaturation",
"seed": -1,
"model": "Anillustrious-v4",
"steps": 30,
"width": 1080,
"height": 1080,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
"refiner": false,
"upscale": "Original",
"cfg_scale": 7,
"clip_skip": 2,
"pag_scale": 0,
"scheduler": "Euler a",
"adetailer_face": false,
"adetailer_hand": false,
"refiner_prompt": "",
"negative_prompt": "nsfw, naked",
"adetailer_person": false,
"guidance_rescale": 1,
"refiner_strength": 0.4,
"prepend_preprompt": true,
"adetailer_face_prompt": "",
"adetailer_hand_prompt": "",
"adetailer_person_prompt": "",
"adetailer_face_negative_prompt": "",
"adetailer_hand_negative_prompt": "",
"adetailer_person_negative_prompt": ""
},
"logs": "Using text to image mode.\nUsing seed: 933912470\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:11, 2.58it/s]\n 10%|█ | 3/30 [00:00<00:04, 5.66it/s]\n 13%|█▎ | 4/30 [00:00<00:04, 6.10it/s]\n 17%|█▋ | 5/30 [00:00<00:03, 6.41it/s]\n 20%|██ | 6/30 [00:01<00:03, 6.63it/s]\n 23%|██▎ | 7/30 [00:01<00:03, 6.79it/s]\n 27%|██▋ | 8/30 [00:01<00:03, 6.89it/s]\n 30%|███ | 9/30 [00:01<00:03, 6.96it/s]\n 33%|███▎ | 10/30 [00:01<00:02, 7.02it/s]\n 37%|███▋ | 11/30 [00:01<00:02, 7.05it/s]\n 40%|████ | 12/30 [00:01<00:02, 7.07it/s]\n 43%|████▎ | 13/30 [00:01<00:02, 7.09it/s]\n 47%|████▋ | 14/30 [00:02<00:02, 7.10it/s]\n 50%|█████ | 15/30 [00:02<00:02, 7.11it/s]\n 53%|█████▎ | 16/30 [00:02<00:01, 7.12it/s]\n 57%|█████▋ | 17/30 [00:02<00:01, 7.12it/s]\n 60%|██████ | 18/30 [00:02<00:01, 7.12it/s]\n 63%|██████▎ | 19/30 [00:02<00:01, 7.12it/s]\n 67%|██████▋ | 20/30 [00:02<00:01, 7.12it/s]\n 70%|███████ | 21/30 [00:03<00:01, 7.12it/s]\n 73%|███████▎ | 22/30 [00:03<00:01, 7.11it/s]\n 77%|███████▋ | 23/30 [00:03<00:00, 7.11it/s]\n 80%|████████ | 24/30 [00:03<00:00, 7.11it/s]\n 83%|████████▎ | 25/30 [00:03<00:00, 7.12it/s]\n 87%|████████▋ | 26/30 [00:03<00:00, 7.12it/s]\n 90%|█████████ | 27/30 [00:03<00:00, 7.11it/s]\n 93%|█████████▎| 28/30 [00:04<00:00, 7.10it/s]\n 97%|█████████▋| 29/30 [00:04<00:00, 7.09it/s]\n100%|██████████| 30/30 [00:04<00:00, 7.09it/s]\n100%|██████████| 30/30 [00:04<00:00, 6.84it/s]",
"metrics": {
"predict_time": 6.658809457,
"total_time": 1614.402863
},
"output": [
"https://replicate.delivery/xezq/Jf2AvH9zvpTJDKzpuUjiSU8YuW30a6Ea2XvtW0GAiiDg7mLKA/0.png"
],
"started_at": "2025-03-10T18:13:13.668054Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-x35d3z5sjwxocxdixwd5znkdn7cuxxsnephp46zvs3wqgoccudoq",
"get": "https://api.replicate.com/v1/predictions/kqa79b250hrmc0cng4n9f622m0",
"cancel": "https://api.replicate.com/v1/predictions/kqa79b250hrmc0cng4n9f622m0/cancel"
},
"version": "6bb086c56cc858632c0be34a3fc390b4794a395ff9f3ff95e1cc58479629d30f"
}
Using text to image mode.
Using seed: 933912470
0%| | 0/30 [00:00<?, ?it/s]
3%|▎ | 1/30 [00:00<00:11, 2.58it/s]
10%|█ | 3/30 [00:00<00:04, 5.66it/s]
13%|█▎ | 4/30 [00:00<00:04, 6.10it/s]
17%|█▋ | 5/30 [00:00<00:03, 6.41it/s]
20%|██ | 6/30 [00:01<00:03, 6.63it/s]
23%|██▎ | 7/30 [00:01<00:03, 6.79it/s]
27%|██▋ | 8/30 [00:01<00:03, 6.89it/s]
30%|███ | 9/30 [00:01<00:03, 6.96it/s]
33%|███▎ | 10/30 [00:01<00:02, 7.02it/s]
37%|███▋ | 11/30 [00:01<00:02, 7.05it/s]
40%|████ | 12/30 [00:01<00:02, 7.07it/s]
43%|████▎ | 13/30 [00:01<00:02, 7.09it/s]
47%|████▋ | 14/30 [00:02<00:02, 7.10it/s]
50%|█████ | 15/30 [00:02<00:02, 7.11it/s]
53%|█████▎ | 16/30 [00:02<00:01, 7.12it/s]
57%|█████▋ | 17/30 [00:02<00:01, 7.12it/s]
60%|██████ | 18/30 [00:02<00:01, 7.12it/s]
63%|██████▎ | 19/30 [00:02<00:01, 7.12it/s]
67%|██████▋ | 20/30 [00:02<00:01, 7.12it/s]
70%|███████ | 21/30 [00:03<00:01, 7.12it/s]
73%|███████▎ | 22/30 [00:03<00:01, 7.11it/s]
77%|███████▋ | 23/30 [00:03<00:00, 7.11it/s]
80%|████████ | 24/30 [00:03<00:00, 7.11it/s]
83%|████████▎ | 25/30 [00:03<00:00, 7.12it/s]
87%|████████▋ | 26/30 [00:03<00:00, 7.12it/s]
90%|█████████ | 27/30 [00:03<00:00, 7.11it/s]
93%|█████████▎| 28/30 [00:04<00:00, 7.10it/s]
97%|█████████▋| 29/30 [00:04<00:00, 7.09it/s]
100%|██████████| 30/30 [00:04<00:00, 7.09it/s]
100%|██████████| 30/30 [00:04<00:00, 6.84it/s]