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/miaomiao-harem-illustrious-v1 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/miaomiao-harem-illustrious-v1:d74eab7842eca403256b37c4276e0c19b83aa124cc5d102d15d9327a6d14ad02",
{
input: {
vae: "default",
seed: -1,
model: "MiaoMiao-Harem-Illustrious-v1",
steps: 30,
width: 1024,
height: 1024,
prompt: "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile",
refiner: false,
upscale: "Original",
cfg_scale: 6,
clip_skip: 2,
pag_scale: 0,
scheduler: "DPM2 a Karras",
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,
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: ""
}
}
);
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 variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run aisha-ai-official/miaomiao-harem-illustrious-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"aisha-ai-official/miaomiao-harem-illustrious-v1:d74eab7842eca403256b37c4276e0c19b83aa124cc5d102d15d9327a6d14ad02",
input={
"vae": "default",
"seed": -1,
"model": "MiaoMiao-Harem-Illustrious-v1",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile",
"refiner": False,
"upscale": "Original",
"cfg_scale": 6,
"clip_skip": 2,
"pag_scale": 0,
"scheduler": "DPM2 a Karras",
"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,
"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/miaomiao-harem-illustrious-v1 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": "d74eab7842eca403256b37c4276e0c19b83aa124cc5d102d15d9327a6d14ad02",
"input": {
"vae": "default",
"seed": -1,
"model": "MiaoMiao-Harem-Illustrious-v1",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile",
"refiner": false,
"upscale": "Original",
"cfg_scale": 6,
"clip_skip": 2,
"pag_scale": 0,
"scheduler": "DPM2 a Karras",
"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,
"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/miaomiao-harem-illustrious-v1@sha256:d74eab7842eca403256b37c4276e0c19b83aa124cc5d102d15d9327a6d14ad02 \
-i 'vae="default"' \
-i 'seed=-1' \
-i 'model="MiaoMiao-Harem-Illustrious-v1"' \
-i 'steps=30' \
-i 'width=1024' \
-i 'height=1024' \
-i 'prompt="street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile"' \
-i 'refiner=false' \
-i 'upscale="Original"' \
-i 'cfg_scale=6' \
-i 'clip_skip=2' \
-i 'pag_scale=0' \
-i 'scheduler="DPM2 a Karras"' \
-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 '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/miaomiao-harem-illustrious-v1@sha256:d74eab7842eca403256b37c4276e0c19b83aa124cc5d102d15d9327a6d14ad02
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "vae": "default", "seed": -1, "model": "MiaoMiao-Harem-Illustrious-v1", "steps": 30, "width": 1024, "height": 1024, "prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile", "refiner": false, "upscale": "Original", "cfg_scale": 6, "clip_skip": 2, "pag_scale": 0, "scheduler": "DPM2 a Karras", "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, "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.0092. 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-22T01:38:51.434303Z",
"created_at": "2025-03-22T01:38:11.046000Z",
"data_removed": false,
"error": null,
"id": "8cnpzp0zwsrme0cnqe0a9eftgm",
"input": {
"vae": "default",
"seed": -1,
"model": "MiaoMiao-Harem-Illustrious-v1",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile",
"refiner": false,
"upscale": "Original",
"cfg_scale": 6,
"clip_skip": 2,
"pag_scale": 0,
"scheduler": "DPM2 a Karras",
"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,
"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": "Using text to image mode\nUsing seed: 874461134\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:10, 2.72it/s]\n 7%|▋ | 2/30 [00:00<00:08, 3.45it/s]\n 10%|█ | 3/30 [00:00<00:07, 3.77it/s]\n 13%|█▎ | 4/30 [00:01<00:06, 3.94it/s]\n 17%|█▋ | 5/30 [00:01<00:06, 4.03it/s]\n 20%|██ | 6/30 [00:01<00:05, 4.10it/s]\n 23%|██▎ | 7/30 [00:01<00:05, 4.14it/s]\n 27%|██▋ | 8/30 [00:02<00:05, 4.16it/s]\n 30%|███ | 9/30 [00:02<00:05, 4.18it/s]\n 33%|███▎ | 10/30 [00:02<00:04, 4.19it/s]\n 37%|███▋ | 11/30 [00:02<00:04, 4.20it/s]\n 40%|████ | 12/30 [00:02<00:04, 4.20it/s]\n 43%|████▎ | 13/30 [00:03<00:04, 4.20it/s]\n 47%|████▋ | 14/30 [00:03<00:03, 4.19it/s]\n 50%|█████ | 15/30 [00:03<00:03, 4.20it/s]\n 53%|█████▎ | 16/30 [00:03<00:03, 4.20it/s]\n 57%|█████▋ | 17/30 [00:04<00:03, 4.20it/s]\n 60%|██████ | 18/30 [00:04<00:02, 4.19it/s]\n 63%|██████▎ | 19/30 [00:04<00:02, 4.18it/s]\n 67%|██████▋ | 20/30 [00:04<00:02, 4.19it/s]\n 70%|███████ | 21/30 [00:05<00:02, 4.19it/s]\n 73%|███████▎ | 22/30 [00:05<00:01, 4.19it/s]\n 77%|███████▋ | 23/30 [00:05<00:01, 4.19it/s]\n 80%|████████ | 24/30 [00:05<00:01, 4.19it/s]\n 83%|████████▎ | 25/30 [00:06<00:01, 4.19it/s]\n 87%|████████▋ | 26/30 [00:06<00:00, 4.19it/s]\n 90%|█████████ | 27/30 [00:06<00:00, 4.19it/s]\n 93%|█████████▎| 28/30 [00:06<00:00, 4.18it/s]\n 97%|█████████▋| 29/30 [00:07<00:00, 4.18it/s]\n100%|██████████| 30/30 [00:07<00:00, 4.91it/s]\n100%|██████████| 30/30 [00:07<00:00, 4.19it/s]",
"metrics": {
"predict_time": 9.700237594,
"total_time": 40.388303
},
"output": [
"https://replicate.delivery/xezq/xthuJDCJlBogL5fJCBlP9dwL0sDleA4Ruh3rTJn5tCmra8aUA/0.png"
],
"started_at": "2025-03-22T01:38:41.734066Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-ro6te2dtcbinc2utyvqypm3ntx3gswvwj4qihmrfazc7mnquyrpq",
"get": "https://api.replicate.com/v1/predictions/8cnpzp0zwsrme0cnqe0a9eftgm",
"cancel": "https://api.replicate.com/v1/predictions/8cnpzp0zwsrme0cnqe0a9eftgm/cancel"
},
"version": "d74eab7842eca403256b37c4276e0c19b83aa124cc5d102d15d9327a6d14ad02"
}
Using text to image mode
Using seed: 874461134
0%| | 0/30 [00:00<?, ?it/s]
3%|▎ | 1/30 [00:00<00:10, 2.72it/s]
7%|▋ | 2/30 [00:00<00:08, 3.45it/s]
10%|█ | 3/30 [00:00<00:07, 3.77it/s]
13%|█▎ | 4/30 [00:01<00:06, 3.94it/s]
17%|█▋ | 5/30 [00:01<00:06, 4.03it/s]
20%|██ | 6/30 [00:01<00:05, 4.10it/s]
23%|██▎ | 7/30 [00:01<00:05, 4.14it/s]
27%|██▋ | 8/30 [00:02<00:05, 4.16it/s]
30%|███ | 9/30 [00:02<00:05, 4.18it/s]
33%|███▎ | 10/30 [00:02<00:04, 4.19it/s]
37%|███▋ | 11/30 [00:02<00:04, 4.20it/s]
40%|████ | 12/30 [00:02<00:04, 4.20it/s]
43%|████▎ | 13/30 [00:03<00:04, 4.20it/s]
47%|████▋ | 14/30 [00:03<00:03, 4.19it/s]
50%|█████ | 15/30 [00:03<00:03, 4.20it/s]
53%|█████▎ | 16/30 [00:03<00:03, 4.20it/s]
57%|█████▋ | 17/30 [00:04<00:03, 4.20it/s]
60%|██████ | 18/30 [00:04<00:02, 4.19it/s]
63%|██████▎ | 19/30 [00:04<00:02, 4.18it/s]
67%|██████▋ | 20/30 [00:04<00:02, 4.19it/s]
70%|███████ | 21/30 [00:05<00:02, 4.19it/s]
73%|███████▎ | 22/30 [00:05<00:01, 4.19it/s]
77%|███████▋ | 23/30 [00:05<00:01, 4.19it/s]
80%|████████ | 24/30 [00:05<00:01, 4.19it/s]
83%|████████▎ | 25/30 [00:06<00:01, 4.19it/s]
87%|████████▋ | 26/30 [00:06<00:00, 4.19it/s]
90%|█████████ | 27/30 [00:06<00:00, 4.19it/s]
93%|█████████▎| 28/30 [00:06<00:00, 4.18it/s]
97%|█████████▋| 29/30 [00:07<00:00, 4.18it/s]
100%|██████████| 30/30 [00:07<00:00, 4.91it/s]
100%|██████████| 30/30 [00:07<00:00, 4.19it/s]
This model costs approximately $0.0092 to run on Replicate, or 108 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 10 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.
Using text to image mode
Using seed: 874461134
0%| | 0/30 [00:00<?, ?it/s]
3%|▎ | 1/30 [00:00<00:10, 2.72it/s]
7%|▋ | 2/30 [00:00<00:08, 3.45it/s]
10%|█ | 3/30 [00:00<00:07, 3.77it/s]
13%|█▎ | 4/30 [00:01<00:06, 3.94it/s]
17%|█▋ | 5/30 [00:01<00:06, 4.03it/s]
20%|██ | 6/30 [00:01<00:05, 4.10it/s]
23%|██▎ | 7/30 [00:01<00:05, 4.14it/s]
27%|██▋ | 8/30 [00:02<00:05, 4.16it/s]
30%|███ | 9/30 [00:02<00:05, 4.18it/s]
33%|███▎ | 10/30 [00:02<00:04, 4.19it/s]
37%|███▋ | 11/30 [00:02<00:04, 4.20it/s]
40%|████ | 12/30 [00:02<00:04, 4.20it/s]
43%|████▎ | 13/30 [00:03<00:04, 4.20it/s]
47%|████▋ | 14/30 [00:03<00:03, 4.19it/s]
50%|█████ | 15/30 [00:03<00:03, 4.20it/s]
53%|█████▎ | 16/30 [00:03<00:03, 4.20it/s]
57%|█████▋ | 17/30 [00:04<00:03, 4.20it/s]
60%|██████ | 18/30 [00:04<00:02, 4.19it/s]
63%|██████▎ | 19/30 [00:04<00:02, 4.18it/s]
67%|██████▋ | 20/30 [00:04<00:02, 4.19it/s]
70%|███████ | 21/30 [00:05<00:02, 4.19it/s]
73%|███████▎ | 22/30 [00:05<00:01, 4.19it/s]
77%|███████▋ | 23/30 [00:05<00:01, 4.19it/s]
80%|████████ | 24/30 [00:05<00:01, 4.19it/s]
83%|████████▎ | 25/30 [00:06<00:01, 4.19it/s]
87%|████████▋ | 26/30 [00:06<00:00, 4.19it/s]
90%|█████████ | 27/30 [00:06<00:00, 4.19it/s]
93%|█████████▎| 28/30 [00:06<00:00, 4.18it/s]
97%|█████████▋| 29/30 [00:07<00:00, 4.18it/s]
100%|██████████| 30/30 [00:07<00:00, 4.91it/s]
100%|██████████| 30/30 [00:07<00:00, 4.19it/s]