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 /miaomiao-harem-v1.5b:e28ab49a
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/miaomiao-harem-v1.5b 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-v1.5b:e28ab49ae4c4fb92f9646c221d2aec239cbd461f1bcbee45c8e792aa8c95e133",
{
input: {
vae: "NeptuniaXL-VAE-ContrastSaturation",
seed: -1,
model: "MiaoMiao-Harem-v1.5b",
steps: 30,
width: 1024,
height: 1024,
prompt: "park, spring, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V, upper body",
refiner: false,
upscale: "x4",
cfg_scale: 6,
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: ""
}
}
);
// 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/miaomiao-harem-v1.5b 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-v1.5b:e28ab49ae4c4fb92f9646c221d2aec239cbd461f1bcbee45c8e792aa8c95e133",
input={
"vae": "NeptuniaXL-VAE-ContrastSaturation",
"seed": -1,
"model": "MiaoMiao-Harem-v1.5b",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "park, spring, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V, upper body",
"refiner": False,
"upscale": "x4",
"cfg_scale": 6,
"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 variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run aisha-ai-official/miaomiao-harem-v1.5b 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/miaomiao-harem-v1.5b:e28ab49ae4c4fb92f9646c221d2aec239cbd461f1bcbee45c8e792aa8c95e133",
"input": {
"vae": "NeptuniaXL-VAE-ContrastSaturation",
"seed": -1,
"model": "MiaoMiao-Harem-v1.5b",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "park, spring, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V, upper body",
"refiner": false,
"upscale": "x4",
"cfg_scale": 6,
"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.
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-10T09:12:49.213898Z",
"created_at": "2025-03-10T09:12:38.134000Z",
"data_removed": false,
"error": null,
"id": "gdmjvwezysrma0cnfx9v3tdcw8",
"input": {
"vae": "NeptuniaXL-VAE-ContrastSaturation",
"seed": -1,
"model": "MiaoMiao-Harem-v1.5b",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "park, spring, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V, upper body",
"refiner": false,
"upscale": "x4",
"cfg_scale": 6,
"clip_skip": 2,
"pag_scale": 0,
"scheduler": "Euler a",
"adetailer_face": false,
"adetailer_hand": false,
"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: 906008697\n 0%| | 0/30 [00:00<?, ?it/s]\n 7%|▋ | 2/30 [00:00<00:02, 11.59it/s]\n 13%|█▎ | 4/30 [00:00<00:02, 9.88it/s]\n 20%|██ | 6/30 [00:00<00:02, 9.31it/s]\n 23%|██▎ | 7/30 [00:00<00:02, 9.17it/s]\n 27%|██▋ | 8/30 [00:00<00:02, 9.04it/s]\n 30%|███ | 9/30 [00:00<00:02, 8.95it/s]\n 33%|███▎ | 10/30 [00:01<00:02, 8.88it/s]\n 37%|███▋ | 11/30 [00:01<00:02, 8.84it/s]\n 40%|████ | 12/30 [00:01<00:02, 8.80it/s]\n 43%|████▎ | 13/30 [00:01<00:01, 8.78it/s]\n 47%|████▋ | 14/30 [00:01<00:01, 8.76it/s]\n 50%|█████ | 15/30 [00:01<00:01, 8.74it/s]\n 53%|█████▎ | 16/30 [00:01<00:01, 8.73it/s]\n 57%|█████▋ | 17/30 [00:01<00:01, 8.72it/s]\n 60%|██████ | 18/30 [00:02<00:01, 8.72it/s]\n 63%|██████▎ | 19/30 [00:02<00:01, 8.70it/s]\n 67%|██████▋ | 20/30 [00:02<00:01, 8.70it/s]\n 70%|███████ | 21/30 [00:02<00:01, 8.70it/s]\n 73%|███████▎ | 22/30 [00:02<00:00, 8.70it/s]\n 77%|███████▋ | 23/30 [00:02<00:00, 8.69it/s]\n 80%|████████ | 24/30 [00:02<00:00, 8.69it/s]\n 83%|████████▎ | 25/30 [00:02<00:00, 8.68it/s]\n 87%|████████▋ | 26/30 [00:02<00:00, 8.68it/s]\n 90%|█████████ | 27/30 [00:03<00:00, 8.69it/s]\n 93%|█████████▎| 28/30 [00:03<00:00, 8.69it/s]\n 97%|█████████▋| 29/30 [00:03<00:00, 8.68it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.68it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.86it/s]",
"metrics": {
"predict_time": 11.076309323,
"total_time": 11.079898
},
"output": [
"https://replicate.delivery/xezq/Kr0YzCRbAhYJB5Cz4n1bfY6Lswe4qJr1HBpTEtrYQ9MR8FXUA/upscaled.png"
],
"started_at": "2025-03-10T09:12:38.137589Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-nw52w3nfayyxmwbjv672lleexh7allguguovq77togeu2rq6xv6a",
"get": "https://api.replicate.com/v1/predictions/gdmjvwezysrma0cnfx9v3tdcw8",
"cancel": "https://api.replicate.com/v1/predictions/gdmjvwezysrma0cnfx9v3tdcw8/cancel"
},
"version": "e28ab49ae4c4fb92f9646c221d2aec239cbd461f1bcbee45c8e792aa8c95e133"
}
Using text to image mode.
Using seed: 906008697
0%| | 0/30 [00:00<?, ?it/s]
7%|▋ | 2/30 [00:00<00:02, 11.59it/s]
13%|█▎ | 4/30 [00:00<00:02, 9.88it/s]
20%|██ | 6/30 [00:00<00:02, 9.31it/s]
23%|██▎ | 7/30 [00:00<00:02, 9.17it/s]
27%|██▋ | 8/30 [00:00<00:02, 9.04it/s]
30%|███ | 9/30 [00:00<00:02, 8.95it/s]
33%|███▎ | 10/30 [00:01<00:02, 8.88it/s]
37%|███▋ | 11/30 [00:01<00:02, 8.84it/s]
40%|████ | 12/30 [00:01<00:02, 8.80it/s]
43%|████▎ | 13/30 [00:01<00:01, 8.78it/s]
47%|████▋ | 14/30 [00:01<00:01, 8.76it/s]
50%|█████ | 15/30 [00:01<00:01, 8.74it/s]
53%|█████▎ | 16/30 [00:01<00:01, 8.73it/s]
57%|█████▋ | 17/30 [00:01<00:01, 8.72it/s]
60%|██████ | 18/30 [00:02<00:01, 8.72it/s]
63%|██████▎ | 19/30 [00:02<00:01, 8.70it/s]
67%|██████▋ | 20/30 [00:02<00:01, 8.70it/s]
70%|███████ | 21/30 [00:02<00:01, 8.70it/s]
73%|███████▎ | 22/30 [00:02<00:00, 8.70it/s]
77%|███████▋ | 23/30 [00:02<00:00, 8.69it/s]
80%|████████ | 24/30 [00:02<00:00, 8.69it/s]
83%|████████▎ | 25/30 [00:02<00:00, 8.68it/s]
87%|████████▋ | 26/30 [00:02<00:00, 8.68it/s]
90%|█████████ | 27/30 [00:03<00:00, 8.69it/s]
93%|█████████▎| 28/30 [00:03<00:00, 8.69it/s]
97%|█████████▋| 29/30 [00:03<00:00, 8.68it/s]
100%|██████████| 30/30 [00:03<00:00, 8.68it/s]
100%|██████████| 30/30 [00:03<00:00, 8.86it/s]