aisha-ai-official/wai-nsfw-illustrious-v12


Great text-to-image model by Cagliostro Lab

Realistic text-to-image by TiwazM

A good anime merge from 12 other models


















Prediction
aisha-ai-official/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140eIDfkpqhkkkgnrma0cncbm8yyd1n0StatusSucceededSourceWebHardwareL40STotal durationCreatedInput
- vae
- default
- seed
- -1
- model
- WAI-NSFW-Illustrious-SDXL-v12
- steps
- 30
- width
- 1024
- height
- 1024
- prompt
- street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V
- cfg_scale
- 7
- clip_skip
- 2
- pag_scale
- 0
- scheduler
- Euler a
- batch_size
- 1
- negative_prompt
- nsfw, naked
- guidance_rescale
- 1
- prepend_preprompt
{ "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "guidance_rescale": 1, "prepend_preprompt": true }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run aisha-ai-official/wai-nsfw-illustrious-v12 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/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e", { input: { vae: "default", seed: -1, model: "WAI-NSFW-Illustrious-SDXL-v12", steps: 30, width: 1024, height: 1024, prompt: "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V", cfg_scale: 7, clip_skip: 2, pag_scale: 0, scheduler: "Euler a", batch_size: 1, negative_prompt: "nsfw, naked", 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run aisha-ai-official/wai-nsfw-illustrious-v12 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "aisha-ai-official/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e", input={ "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "guidance_rescale": 1, "prepend_preprompt": True } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run aisha-ai-official/wai-nsfw-illustrious-v12 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/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e", "input": { "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "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.
Output
{ "completed_at": "2025-03-04T20:52:55.968938Z", "created_at": "2025-03-04T20:45:55.973000Z", "data_removed": false, "error": null, "id": "fkpqhkkkgnrma0cncbm8yyd1n0", "input": { "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "guidance_rescale": 1, "prepend_preprompt": true }, "logs": "Using text to image mode.\nUsing seed: 1829063986\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:06, 4.50it/s]\n 10%|█ | 3/30 [00:00<00:03, 8.31it/s]\n 13%|█▎ | 4/30 [00:00<00:03, 8.50it/s]\n 17%|█▋ | 5/30 [00:00<00:02, 8.61it/s]\n 20%|██ | 6/30 [00:00<00:02, 8.69it/s]\n 23%|██▎ | 7/30 [00:00<00:02, 8.74it/s]\n 27%|██▋ | 8/30 [00:00<00:02, 8.77it/s]\n 30%|███ | 9/30 [00:01<00:02, 8.80it/s]\n 33%|███▎ | 10/30 [00:01<00:02, 8.81it/s]\n 37%|███▋ | 11/30 [00:01<00:02, 8.82it/s]\n 40%|████ | 12/30 [00:01<00:02, 8.83it/s]\n 43%|████▎ | 13/30 [00:01<00:01, 8.83it/s]\n 47%|████▋ | 14/30 [00:01<00:01, 8.82it/s]\n 50%|█████ | 15/30 [00:01<00:01, 8.82it/s]\n 53%|█████▎ | 16/30 [00:01<00:01, 8.83it/s]\n 57%|█████▋ | 17/30 [00:01<00:01, 8.83it/s]\n 60%|██████ | 18/30 [00:02<00:01, 8.83it/s]\n 63%|██████▎ | 19/30 [00:02<00:01, 8.83it/s]\n 67%|██████▋ | 20/30 [00:02<00:01, 8.82it/s]\n 70%|███████ | 21/30 [00:02<00:01, 8.82it/s]\n 73%|███████▎ | 22/30 [00:02<00:00, 8.82it/s]\n 77%|███████▋ | 23/30 [00:02<00:00, 8.82it/s]\n 80%|████████ | 24/30 [00:02<00:00, 8.82it/s]\n 83%|████████▎ | 25/30 [00:02<00:00, 8.82it/s]\n 87%|████████▋ | 26/30 [00:02<00:00, 8.82it/s]\n 90%|█████████ | 27/30 [00:03<00:00, 8.82it/s]\n 93%|█████████▎| 28/30 [00:03<00:00, 8.82it/s]\n 97%|█████████▋| 29/30 [00:03<00:00, 8.82it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.82it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.70it/s]", "metrics": { "predict_time": 6.066799903, "total_time": 419.995938 }, "output": [ "https://replicate.delivery/xezq/hez8EBfyPVh0MksTGDeYjHXqdkDgDGIxOBI4NkYQDCtORjqoA/0.png" ], "started_at": "2025-03-04T20:52:49.902138Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-hhsy7t4uubpi7wqyswpmqj2sdmc2mqdwv4fvz557ho5xgs75wonq", "get": "https://api.replicate.com/v1/predictions/fkpqhkkkgnrma0cncbm8yyd1n0", "cancel": "https://api.replicate.com/v1/predictions/fkpqhkkkgnrma0cncbm8yyd1n0/cancel" }, "version": "0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e" }
Generated inUsing text to image mode. Using seed: 1829063986 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:06, 4.50it/s] 10%|█ | 3/30 [00:00<00:03, 8.31it/s] 13%|█▎ | 4/30 [00:00<00:03, 8.50it/s] 17%|█▋ | 5/30 [00:00<00:02, 8.61it/s] 20%|██ | 6/30 [00:00<00:02, 8.69it/s] 23%|██▎ | 7/30 [00:00<00:02, 8.74it/s] 27%|██▋ | 8/30 [00:00<00:02, 8.77it/s] 30%|███ | 9/30 [00:01<00:02, 8.80it/s] 33%|███▎ | 10/30 [00:01<00:02, 8.81it/s] 37%|███▋ | 11/30 [00:01<00:02, 8.82it/s] 40%|████ | 12/30 [00:01<00:02, 8.83it/s] 43%|████▎ | 13/30 [00:01<00:01, 8.83it/s] 47%|████▋ | 14/30 [00:01<00:01, 8.82it/s] 50%|█████ | 15/30 [00:01<00:01, 8.82it/s] 53%|█████▎ | 16/30 [00:01<00:01, 8.83it/s] 57%|█████▋ | 17/30 [00:01<00:01, 8.83it/s] 60%|██████ | 18/30 [00:02<00:01, 8.83it/s] 63%|██████▎ | 19/30 [00:02<00:01, 8.83it/s] 67%|██████▋ | 20/30 [00:02<00:01, 8.82it/s] 70%|███████ | 21/30 [00:02<00:01, 8.82it/s] 73%|███████▎ | 22/30 [00:02<00:00, 8.82it/s] 77%|███████▋ | 23/30 [00:02<00:00, 8.82it/s] 80%|████████ | 24/30 [00:02<00:00, 8.82it/s] 83%|████████▎ | 25/30 [00:02<00:00, 8.82it/s] 87%|████████▋ | 26/30 [00:02<00:00, 8.82it/s] 90%|█████████ | 27/30 [00:03<00:00, 8.82it/s] 93%|█████████▎| 28/30 [00:03<00:00, 8.82it/s] 97%|█████████▋| 29/30 [00:03<00:00, 8.82it/s] 100%|██████████| 30/30 [00:03<00:00, 8.82it/s] 100%|██████████| 30/30 [00:03<00:00, 8.70it/s]
Prediction
aisha-ai-official/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140eIDewhfhygtgsrm80cncbraxk39ymStatusSucceededSourceWebHardwareL40STotal durationCreatedInput
- vae
- default
- seed
- -1
- model
- WAI-NSFW-Illustrious-SDXL-v12
- steps
- 30
- width
- 1024
- height
- 1024
- prompt
- cafe, waifu, 1girl, blonde, blue eyes, beauty, bunny cosplay, waitress, seductive
- cfg_scale
- 7
- clip_skip
- 2
- pag_scale
- 0
- scheduler
- Euler a
- batch_size
- 1
- negative_prompt
- nsfw, naked
- guidance_rescale
- 1
- prepend_preprompt
{ "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "cafe, waifu, 1girl, blonde, blue eyes, beauty, bunny cosplay, waitress, seductive", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "guidance_rescale": 1, "prepend_preprompt": true }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run aisha-ai-official/wai-nsfw-illustrious-v12 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/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e", { input: { vae: "default", seed: -1, model: "WAI-NSFW-Illustrious-SDXL-v12", steps: 30, width: 1024, height: 1024, prompt: "cafe, waifu, 1girl, blonde, blue eyes, beauty, bunny cosplay, waitress, seductive", cfg_scale: 7, clip_skip: 2, pag_scale: 0, scheduler: "Euler a", batch_size: 1, negative_prompt: "nsfw, naked", 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run aisha-ai-official/wai-nsfw-illustrious-v12 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "aisha-ai-official/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e", input={ "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "cafe, waifu, 1girl, blonde, blue eyes, beauty, bunny cosplay, waitress, seductive", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "guidance_rescale": 1, "prepend_preprompt": True } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run aisha-ai-official/wai-nsfw-illustrious-v12 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/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e", "input": { "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "cafe, waifu, 1girl, blonde, blue eyes, beauty, bunny cosplay, waitress, seductive", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "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.
Output
{ "completed_at": "2025-03-04T20:55:41.949853Z", "created_at": "2025-03-04T20:54:17.478000Z", "data_removed": false, "error": null, "id": "ewhfhygtgsrm80cncbraxk39ym", "input": { "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "cafe, waifu, 1girl, blonde, blue eyes, beauty, bunny cosplay, waitress, seductive", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "guidance_rescale": 1, "prepend_preprompt": true }, "logs": "Using text to image mode.\nUsing seed: 5931911\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:08, 3.46it/s]\n 10%|█ | 3/30 [00:00<00:03, 7.29it/s]\n 13%|█▎ | 4/30 [00:00<00:03, 7.75it/s]\n 17%|█▋ | 5/30 [00:00<00:03, 8.07it/s]\n 20%|██ | 6/30 [00:00<00:02, 8.28it/s]\n 23%|██▎ | 7/30 [00:00<00:02, 8.43it/s]\n 27%|██▋ | 8/30 [00:01<00:02, 8.55it/s]\n 30%|███ | 9/30 [00:01<00:02, 8.62it/s]\n 33%|███▎ | 10/30 [00:01<00:02, 8.66it/s]\n 37%|███▋ | 11/30 [00:01<00:02, 8.68it/s]\n 40%|████ | 12/30 [00:01<00:02, 8.70it/s]\n 43%|████▎ | 13/30 [00:01<00:01, 8.71it/s]\n 47%|████▋ | 14/30 [00:01<00:01, 8.73it/s]\n 50%|█████ | 15/30 [00:01<00:01, 8.74it/s]\n 53%|█████▎ | 16/30 [00:01<00:01, 8.76it/s]\n 57%|█████▋ | 17/30 [00:02<00:01, 8.75it/s]\n 60%|██████ | 18/30 [00:02<00:01, 8.75it/s]\n 63%|██████▎ | 19/30 [00:02<00:01, 8.74it/s]\n 67%|██████▋ | 20/30 [00:02<00:01, 8.73it/s]\n 70%|███████ | 21/30 [00:02<00:01, 8.74it/s]\n 73%|███████▎ | 22/30 [00:02<00:00, 8.74it/s]\n 77%|███████▋ | 23/30 [00:02<00:00, 8.74it/s]\n 80%|████████ | 24/30 [00:02<00:00, 8.72it/s]\n 83%|████████▎ | 25/30 [00:02<00:00, 8.73it/s]\n 87%|████████▋ | 26/30 [00:03<00:00, 8.73it/s]\n 90%|█████████ | 27/30 [00:03<00:00, 8.73it/s]\n 93%|█████████▎| 28/30 [00:03<00:00, 8.73it/s]\n 97%|█████████▋| 29/30 [00:03<00:00, 8.72it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.73it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.47it/s]", "metrics": { "predict_time": 5.86987629, "total_time": 84.471853 }, "output": [ "https://replicate.delivery/xezq/8UWROqjzA948KBtZ5BmwkvfvbLGzjWI8PzV2EprMBeebWjqoA/0.png" ], "started_at": "2025-03-04T20:55:36.079977Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-7povc7wnnbhso53uuzs5aarvwr47spq4lp5fdsai2iw3p5jzgokq", "get": "https://api.replicate.com/v1/predictions/ewhfhygtgsrm80cncbraxk39ym", "cancel": "https://api.replicate.com/v1/predictions/ewhfhygtgsrm80cncbraxk39ym/cancel" }, "version": "0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e" }
Generated inUsing text to image mode. Using seed: 5931911 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:08, 3.46it/s] 10%|█ | 3/30 [00:00<00:03, 7.29it/s] 13%|█▎ | 4/30 [00:00<00:03, 7.75it/s] 17%|█▋ | 5/30 [00:00<00:03, 8.07it/s] 20%|██ | 6/30 [00:00<00:02, 8.28it/s] 23%|██▎ | 7/30 [00:00<00:02, 8.43it/s] 27%|██▋ | 8/30 [00:01<00:02, 8.55it/s] 30%|███ | 9/30 [00:01<00:02, 8.62it/s] 33%|███▎ | 10/30 [00:01<00:02, 8.66it/s] 37%|███▋ | 11/30 [00:01<00:02, 8.68it/s] 40%|████ | 12/30 [00:01<00:02, 8.70it/s] 43%|████▎ | 13/30 [00:01<00:01, 8.71it/s] 47%|████▋ | 14/30 [00:01<00:01, 8.73it/s] 50%|█████ | 15/30 [00:01<00:01, 8.74it/s] 53%|█████▎ | 16/30 [00:01<00:01, 8.76it/s] 57%|█████▋ | 17/30 [00:02<00:01, 8.75it/s] 60%|██████ | 18/30 [00:02<00:01, 8.75it/s] 63%|██████▎ | 19/30 [00:02<00:01, 8.74it/s] 67%|██████▋ | 20/30 [00:02<00:01, 8.73it/s] 70%|███████ | 21/30 [00:02<00:01, 8.74it/s] 73%|███████▎ | 22/30 [00:02<00:00, 8.74it/s] 77%|███████▋ | 23/30 [00:02<00:00, 8.74it/s] 80%|████████ | 24/30 [00:02<00:00, 8.72it/s] 83%|████████▎ | 25/30 [00:02<00:00, 8.73it/s] 87%|████████▋ | 26/30 [00:03<00:00, 8.73it/s] 90%|█████████ | 27/30 [00:03<00:00, 8.73it/s] 93%|█████████▎| 28/30 [00:03<00:00, 8.73it/s] 97%|█████████▋| 29/30 [00:03<00:00, 8.72it/s] 100%|██████████| 30/30 [00:03<00:00, 8.73it/s] 100%|██████████| 30/30 [00:03<00:00, 8.47it/s]
Prediction
aisha-ai-official/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140eIDr0f66hh5jsrma0cncbsamm2tygStatusSucceededSourceWebHardwareL40STotal durationCreatedInput
- vae
- default
- seed
- -1
- model
- WAI-NSFW-Illustrious-SDXL-v12
- steps
- 30
- width
- 1024
- height
- 1024
- prompt
- Ada Wong from Resident Evil 4, smile, low light
- cfg_scale
- 7
- clip_skip
- 2
- pag_scale
- 0
- scheduler
- Euler a
- batch_size
- 1
- negative_prompt
- nsfw, naked
- guidance_rescale
- 1
- prepend_preprompt
{ "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "Ada Wong from Resident Evil 4, smile, low light", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "guidance_rescale": 1, "prepend_preprompt": true }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run aisha-ai-official/wai-nsfw-illustrious-v12 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/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e", { input: { vae: "default", seed: -1, model: "WAI-NSFW-Illustrious-SDXL-v12", steps: 30, width: 1024, height: 1024, prompt: "Ada Wong from Resident Evil 4, smile, low light", cfg_scale: 7, clip_skip: 2, pag_scale: 0, scheduler: "Euler a", batch_size: 1, negative_prompt: "nsfw, naked", 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run aisha-ai-official/wai-nsfw-illustrious-v12 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "aisha-ai-official/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e", input={ "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "Ada Wong from Resident Evil 4, smile, low light", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "guidance_rescale": 1, "prepend_preprompt": True } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run aisha-ai-official/wai-nsfw-illustrious-v12 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/wai-nsfw-illustrious-v12:0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e", "input": { "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "Ada Wong from Resident Evil 4, smile, low light", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "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.
Output
{ "completed_at": "2025-03-04T20:56:37.371167Z", "created_at": "2025-03-04T20:56:31.382000Z", "data_removed": false, "error": null, "id": "r0f66hh5jsrma0cncbsamm2tyg", "input": { "vae": "default", "seed": -1, "model": "WAI-NSFW-Illustrious-SDXL-v12", "steps": 30, "width": 1024, "height": 1024, "prompt": "Ada Wong from Resident Evil 4, smile, low light", "cfg_scale": 7, "clip_skip": 2, "pag_scale": 0, "scheduler": "Euler a", "batch_size": 1, "negative_prompt": "nsfw, naked", "guidance_rescale": 1, "prepend_preprompt": true }, "logs": "Using text to image mode.\nUsing seed: 453507284\n 0%| | 0/30 [00:00<?, ?it/s]\n 7%|▋ | 2/30 [00:00<00:02, 12.06it/s]\n 13%|█▎ | 4/30 [00:00<00:02, 9.89it/s]\n 20%|██ | 6/30 [00:00<00:02, 9.36it/s]\n 23%|██▎ | 7/30 [00:00<00:02, 9.22it/s]\n 27%|██▋ | 8/30 [00:00<00:02, 9.09it/s]\n 30%|███ | 9/30 [00:00<00:02, 9.00it/s]\n 33%|███▎ | 10/30 [00:01<00:02, 8.93it/s]\n 37%|███▋ | 11/30 [00:01<00:02, 8.87it/s]\n 40%|████ | 12/30 [00:01<00:02, 8.83it/s]\n 43%|████▎ | 13/30 [00:01<00:01, 8.81it/s]\n 47%|████▋ | 14/30 [00:01<00:01, 8.80it/s]\n 50%|█████ | 15/30 [00:01<00:01, 8.78it/s]\n 53%|█████▎ | 16/30 [00:01<00:01, 8.77it/s]\n 57%|█████▋ | 17/30 [00:01<00:01, 8.76it/s]\n 60%|██████ | 18/30 [00:01<00:01, 8.75it/s]\n 63%|██████▎ | 19/30 [00:02<00:01, 8.74it/s]\n 67%|██████▋ | 20/30 [00:02<00:01, 8.74it/s]\n 70%|███████ | 21/30 [00:02<00:01, 8.74it/s]\n 73%|███████▎ | 22/30 [00:02<00:00, 8.74it/s]\n 77%|███████▋ | 23/30 [00:02<00:00, 8.74it/s]\n 80%|████████ | 24/30 [00:02<00:00, 8.74it/s]\n 83%|████████▎ | 25/30 [00:02<00:00, 8.74it/s]\n 87%|████████▋ | 26/30 [00:02<00:00, 8.73it/s]\n 90%|█████████ | 27/30 [00:03<00:00, 8.72it/s]\n 93%|█████████▎| 28/30 [00:03<00:00, 8.72it/s]\n 97%|█████████▋| 29/30 [00:03<00:00, 8.72it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.72it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.91it/s]", "metrics": { "predict_time": 5.982451673, "total_time": 5.989167 }, "output": [ "https://replicate.delivery/xezq/EdznD63Kif12aS36X7ipB9XT1ovynGBwQS7f3QgmTfILYjqoA/0.png" ], "started_at": "2025-03-04T20:56:31.388715Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-kbiacorwhffw3pz5dflwzxmzmcxafobutzw2iidz23on5enbs6hq", "get": "https://api.replicate.com/v1/predictions/r0f66hh5jsrma0cncbsamm2tyg", "cancel": "https://api.replicate.com/v1/predictions/r0f66hh5jsrma0cncbsamm2tyg/cancel" }, "version": "0fc0fa9885b284901a6f9c0b4d67701fd7647d157b88371427d63f8089ce140e" }
Generated inUsing text to image mode. Using seed: 453507284 0%| | 0/30 [00:00<?, ?it/s] 7%|▋ | 2/30 [00:00<00:02, 12.06it/s] 13%|█▎ | 4/30 [00:00<00:02, 9.89it/s] 20%|██ | 6/30 [00:00<00:02, 9.36it/s] 23%|██▎ | 7/30 [00:00<00:02, 9.22it/s] 27%|██▋ | 8/30 [00:00<00:02, 9.09it/s] 30%|███ | 9/30 [00:00<00:02, 9.00it/s] 33%|███▎ | 10/30 [00:01<00:02, 8.93it/s] 37%|███▋ | 11/30 [00:01<00:02, 8.87it/s] 40%|████ | 12/30 [00:01<00:02, 8.83it/s] 43%|████▎ | 13/30 [00:01<00:01, 8.81it/s] 47%|████▋ | 14/30 [00:01<00:01, 8.80it/s] 50%|█████ | 15/30 [00:01<00:01, 8.78it/s] 53%|█████▎ | 16/30 [00:01<00:01, 8.77it/s] 57%|█████▋ | 17/30 [00:01<00:01, 8.76it/s] 60%|██████ | 18/30 [00:01<00:01, 8.75it/s] 63%|██████▎ | 19/30 [00:02<00:01, 8.74it/s] 67%|██████▋ | 20/30 [00:02<00:01, 8.74it/s] 70%|███████ | 21/30 [00:02<00:01, 8.74it/s] 73%|███████▎ | 22/30 [00:02<00:00, 8.74it/s] 77%|███████▋ | 23/30 [00:02<00:00, 8.74it/s] 80%|████████ | 24/30 [00:02<00:00, 8.74it/s] 83%|████████▎ | 25/30 [00:02<00:00, 8.74it/s] 87%|████████▋ | 26/30 [00:02<00:00, 8.73it/s] 90%|█████████ | 27/30 [00:03<00:00, 8.72it/s] 93%|█████████▎| 28/30 [00:03<00:00, 8.72it/s] 97%|█████████▋| 29/30 [00:03<00:00, 8.72it/s] 100%|██████████| 30/30 [00:03<00:00, 8.72it/s] 100%|██████████| 30/30 [00:03<00:00, 8.91it/s]
Want to make some of these yourself?
Run this model