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 /cyber-realistic-xl-v5:e59f794a
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/cyber-realistic-xl-v5 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/cyber-realistic-xl-v5:e59f794af91478fd535883feeec0cc554851be615e0ff12db25c076bef06b0ab",
{
input: {
vae: "default",
seed: -1,
model: "Cyber-Realistic-XL-v5",
steps: 30,
width: 1024,
height: 1024,
prompt: "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
cfg_scale: 5,
clip_skip: 1,
pag_scale: 0,
scheduler: "DPM++ 2M SDE Karras",
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.
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/cyber-realistic-xl-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"aisha-ai-official/cyber-realistic-xl-v5:e59f794af91478fd535883feeec0cc554851be615e0ff12db25c076bef06b0ab",
input={
"vae": "default",
"seed": -1,
"model": "Cyber-Realistic-XL-v5",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
"cfg_scale": 5,
"clip_skip": 1,
"pag_scale": 0,
"scheduler": "DPM++ 2M SDE Karras",
"batch_size": 1,
"negative_prompt": "nsfw, naked",
"guidance_rescale": 1,
"prepend_preprompt": True
}
)
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/cyber-realistic-xl-v5 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/cyber-realistic-xl-v5:e59f794af91478fd535883feeec0cc554851be615e0ff12db25c076bef06b0ab",
"input": {
"vae": "default",
"seed": -1,
"model": "Cyber-Realistic-XL-v5",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
"cfg_scale": 5,
"clip_skip": 1,
"pag_scale": 0,
"scheduler": "DPM++ 2M SDE Karras",
"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.
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-02-24T23:03:18.025654Z",
"created_at": "2025-02-24T23:01:54.319000Z",
"data_removed": false,
"error": null,
"id": "n495e28g1xrmc0cn78s8kbtxvg",
"input": {
"vae": "default",
"seed": -1,
"model": "Cyber-Realistic-XL-v5",
"steps": 30,
"width": 1024,
"height": 1024,
"prompt": "street, 1girl, dark-purple short hair, purple eyes, medium breasts, cleavage, casual clothes, smile, V",
"cfg_scale": 5,
"clip_skip": 1,
"pag_scale": 0,
"scheduler": "DPM++ 2M SDE Karras",
"batch_size": 1,
"negative_prompt": "nsfw, naked",
"guidance_rescale": 1,
"prepend_preprompt": true
},
"logs": "Using text to image mode.\nUsing seed: 65301364\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:06, 4.37it/s]\n 10%|█ | 3/30 [00:00<00:03, 8.29it/s]\n 13%|█▎ | 4/30 [00:00<00:03, 8.49it/s]\n 17%|█▋ | 5/30 [00:00<00:02, 8.61it/s]\n 20%|██ | 6/30 [00:00<00:02, 8.68it/s]\n 23%|██▎ | 7/30 [00:00<00:02, 8.73it/s]\n 27%|██▋ | 8/30 [00:00<00:02, 8.76it/s]\n 30%|███ | 9/30 [00:01<00:02, 8.79it/s]\n 33%|███▎ | 10/30 [00:01<00:02, 8.81it/s]\n 37%|███▋ | 11/30 [00:01<00:02, 8.81it/s]\n 40%|████ | 12/30 [00:01<00:02, 8.82it/s]\n 43%|████▎ | 13/30 [00:01<00:01, 8.82it/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.82it/s]\n 57%|█████▋ | 17/30 [00:01<00:01, 8.82it/s]\n 60%|██████ | 18/30 [00:02<00:01, 8.82it/s]\n 63%|██████▎ | 19/30 [00:02<00:01, 8.81it/s]\n 67%|██████▋ | 20/30 [00:02<00:01, 8.81it/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.81it/s]\n 80%|████████ | 24/30 [00:02<00:00, 8.82it/s]\n 83%|████████▎ | 25/30 [00:02<00:00, 8.81it/s]\n 87%|████████▋ | 26/30 [00:02<00:00, 8.80it/s]\n 90%|█████████ | 27/30 [00:03<00:00, 8.81it/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.81it/s]\n100%|██████████| 30/30 [00:03<00:00, 8.69it/s]",
"metrics": {
"predict_time": 5.28853104,
"total_time": 83.706654
},
"output": [
"https://replicate.delivery/xezq/6rpfPiOdsIRzHqici5eHFX44zBX0gkOuovrReovgHv6tlVloA/0.png"
],
"started_at": "2025-02-24T23:03:12.737123Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-kgupmhozv42z7hvcppmb5edfnadkjh5a2nkty64lqtfvv7qhltga",
"get": "https://api.replicate.com/v1/predictions/n495e28g1xrmc0cn78s8kbtxvg",
"cancel": "https://api.replicate.com/v1/predictions/n495e28g1xrmc0cn78s8kbtxvg/cancel"
},
"version": "e59f794af91478fd535883feeec0cc554851be615e0ff12db25c076bef06b0ab"
}
Using text to image mode.
Using seed: 65301364
0%| | 0/30 [00:00<?, ?it/s]
3%|▎ | 1/30 [00:00<00:06, 4.37it/s]
10%|█ | 3/30 [00:00<00:03, 8.29it/s]
13%|█▎ | 4/30 [00:00<00:03, 8.49it/s]
17%|█▋ | 5/30 [00:00<00:02, 8.61it/s]
20%|██ | 6/30 [00:00<00:02, 8.68it/s]
23%|██▎ | 7/30 [00:00<00:02, 8.73it/s]
27%|██▋ | 8/30 [00:00<00:02, 8.76it/s]
30%|███ | 9/30 [00:01<00:02, 8.79it/s]
33%|███▎ | 10/30 [00:01<00:02, 8.81it/s]
37%|███▋ | 11/30 [00:01<00:02, 8.81it/s]
40%|████ | 12/30 [00:01<00:02, 8.82it/s]
43%|████▎ | 13/30 [00:01<00:01, 8.82it/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.82it/s]
57%|█████▋ | 17/30 [00:01<00:01, 8.82it/s]
60%|██████ | 18/30 [00:02<00:01, 8.82it/s]
63%|██████▎ | 19/30 [00:02<00:01, 8.81it/s]
67%|██████▋ | 20/30 [00:02<00:01, 8.81it/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.81it/s]
80%|████████ | 24/30 [00:02<00:00, 8.82it/s]
83%|████████▎ | 25/30 [00:02<00:00, 8.81it/s]
87%|████████▋ | 26/30 [00:02<00:00, 8.80it/s]
90%|█████████ | 27/30 [00:03<00:00, 8.81it/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.81it/s]
100%|██████████| 30/30 [00:03<00:00, 8.69it/s]