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.
sky-admin /ghost_mix_v2:4bf2c948
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 sky-admin/ghost_mix_v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"sky-admin/ghost_mix_v2:4bf2c948d1b445836d38c06e4b404559293f6f58b62f24ef2430612fff09163f",
{
input: {
seed: -1,
steps: 20,
width: 512,
height: 768,
prompt: "1mechanical girl,((ultra realistic details)), portrait, global illumination, shadows, octane render, 8k, ultra sharp,metal,intricate, ornaments detailed, cold colors, egypician detail, highly intricate details, realistic light, trending on cgsociety, glowing eyes, facing camera, neon details, machanical limbs,blood vessels connected to tubes,mechanical vertebra attaching to back,mechanical cervial attaching to neck,sitting,wires and cables connecting to head",
cfg_scale: 8,
sampler_name: "DPM++ SDE Karras",
negative_prompt: "NSFW,3d, cartoon, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, young, loli, elf, 3d, illustration ng_deepnegative_v1_75t"
}
}
);
// To access the file URL:
console.log(output.url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", 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 sky-admin/ghost_mix_v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"sky-admin/ghost_mix_v2:4bf2c948d1b445836d38c06e4b404559293f6f58b62f24ef2430612fff09163f",
input={
"seed": -1,
"steps": 20,
"width": 512,
"height": 768,
"prompt": "1mechanical girl,((ultra realistic details)), portrait, global illumination, shadows, octane render, 8k, ultra sharp,metal,intricate, ornaments detailed, cold colors, egypician detail, highly intricate details, realistic light, trending on cgsociety, glowing eyes, facing camera, neon details, machanical limbs,blood vessels connected to tubes,mechanical vertebra attaching to back,mechanical cervial attaching to neck,sitting,wires and cables connecting to head",
"cfg_scale": 8,
"sampler_name": "DPM++ SDE Karras",
"negative_prompt": "NSFW,3d, cartoon, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, young, loli, elf, 3d, illustration ng_deepnegative_v1_75t"
}
)
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 sky-admin/ghost_mix_v2 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": "sky-admin/ghost_mix_v2:4bf2c948d1b445836d38c06e4b404559293f6f58b62f24ef2430612fff09163f",
"input": {
"seed": -1,
"steps": 20,
"width": 512,
"height": 768,
"prompt": "1mechanical girl,((ultra realistic details)), portrait, global illumination, shadows, octane render, 8k, ultra sharp,metal,intricate, ornaments detailed, cold colors, egypician detail, highly intricate details, realistic light, trending on cgsociety, glowing eyes, facing camera, neon details, machanical limbs,blood vessels connected to tubes,mechanical vertebra attaching to back,mechanical cervial attaching to neck,sitting,wires and cables connecting to head",
"cfg_scale": 8,
"sampler_name": "DPM++ SDE Karras",
"negative_prompt": "NSFW,3d, cartoon, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, young, loli, elf, 3d, illustration ng_deepnegative_v1_75t"
}
}' \
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": "2023-05-23T14:23:32.380757Z",
"created_at": "2023-05-23T14:13:47.033865Z",
"data_removed": false,
"error": null,
"id": "nzko2wv4gzfo5ap4b2ymqcuoy4",
"input": {
"seed": -1,
"steps": 20,
"width": 512,
"height": 768,
"prompt": "1mechanical girl,((ultra realistic details)), portrait, global illumination, shadows, octane render, 8k, ultra sharp,metal,intricate, ornaments detailed, cold colors, egypician detail, highly intricate details, realistic light, trending on cgsociety, glowing eyes, facing camera, neon details, machanical limbs,blood vessels connected to tubes,mechanical vertebra attaching to back,mechanical cervial attaching to neck,sitting,wires and cables connecting to head",
"cfg_scale": 8,
"sampler_name": "DPM++ SDE Karras",
"negative_prompt": "NSFW,3d, cartoon, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, young, loli, elf, 3d, illustration ng_deepnegative_v1_75t"
},
"logs": "0%| | 0/20 [00:00<?, ?it/s]\nTotal progress: 0it [00:00, ?it/s]\u001b[A\n 5%|▌ | 1/20 [00:06<01:57, 6.20s/it]\nTotal progress: 2it [00:00, 2.99it/s]\u001b[A\n 10%|█ | 2/20 [00:06<00:53, 2.95s/it]\nTotal progress: 3it [00:01, 2.09it/s]\u001b[A\n 15%|█▌ | 3/20 [00:07<00:32, 1.91s/it]\nTotal progress: 4it [00:02, 1.80it/s]\u001b[A\n 20%|██ | 4/20 [00:08<00:22, 1.43s/it]\nTotal progress: 5it [00:02, 1.66it/s]\u001b[A\n 25%|██▌ | 5/20 [00:08<00:17, 1.16s/it]\nTotal progress: 6it [00:03, 1.58it/s]\u001b[A\n 30%|███ | 6/20 [00:09<00:14, 1.00s/it]\nTotal progress: 7it [00:04, 1.54it/s]\u001b[A\n 35%|███▌ | 7/20 [00:10<00:11, 1.11it/s]\nTotal progress: 8it [00:04, 1.51it/s]\u001b[A\n 40%|████ | 8/20 [00:11<00:09, 1.20it/s]\nTotal progress: 9it [00:05, 1.49it/s]\u001b[A\n 45%|████▌ | 9/20 [00:11<00:08, 1.27it/s]\nTotal progress: 10it [00:06, 1.48it/s]\u001b[A\n 50%|█████ | 10/20 [00:12<00:07, 1.32it/s]\nTotal progress: 11it [00:06, 1.48it/s]\u001b[A\n 55%|█████▌ | 11/20 [00:13<00:06, 1.36it/s]\nTotal progress: 12it [00:07, 1.47it/s]\u001b[A\n 60%|██████ | 12/20 [00:13<00:05, 1.39it/s]\nTotal progress: 13it [00:08, 1.47it/s]\u001b[A\n 65%|██████▌ | 13/20 [00:14<00:04, 1.41it/s]\nTotal progress: 14it [00:08, 1.47it/s]\u001b[A\n 70%|███████ | 14/20 [00:15<00:04, 1.42it/s]\nTotal progress: 15it [00:09, 1.46it/s]\u001b[A\n 75%|███████▌ | 15/20 [00:15<00:03, 1.44it/s]\nTotal progress: 16it [00:10, 1.46it/s]\u001b[A\n 80%|████████ | 16/20 [00:16<00:02, 1.45it/s]\nTotal progress: 17it [00:10, 1.47it/s]\u001b[A\n 85%|████████▌ | 17/20 [00:17<00:02, 1.46it/s]\nTotal progress: 18it [00:11, 1.47it/s]\u001b[A\n 90%|█████████ | 18/20 [00:17<00:01, 1.47it/s]\nTotal progress: 19it [00:12, 1.47it/s]\u001b[A\n 95%|█████████▌| 19/20 [00:18<00:00, 1.47it/s]\n100%|██████████| 20/20 [00:18<00:00, 1.73it/s]\n100%|██████████| 20/20 [00:18<00:00, 1.06it/s]\nTotal progress: 20it [00:12, 1.48it/s]\u001b[A",
"metrics": {
"predict_time": 28.101756,
"total_time": 585.346892
},
"output": "https://replicate.delivery/pbxt/ptdepLzwC5zlAy8HHWJErlNJiW0Hder9oqKx5XYikYKj5nehA/1684851811.png",
"started_at": "2023-05-23T14:23:04.279001Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/nzko2wv4gzfo5ap4b2ymqcuoy4",
"cancel": "https://api.replicate.com/v1/predictions/nzko2wv4gzfo5ap4b2ymqcuoy4/cancel"
},
"version": "4bf2c948d1b445836d38c06e4b404559293f6f58b62f24ef2430612fff09163f"
}
0%| | 0/20 [00:00<?, ?it/s]
Total progress: 0it [00:00, ?it/s]
5%|▌ | 1/20 [00:06<01:57, 6.20s/it]
Total progress: 2it [00:00, 2.99it/s]
10%|█ | 2/20 [00:06<00:53, 2.95s/it]
Total progress: 3it [00:01, 2.09it/s]
15%|█▌ | 3/20 [00:07<00:32, 1.91s/it]
Total progress: 4it [00:02, 1.80it/s]
20%|██ | 4/20 [00:08<00:22, 1.43s/it]
Total progress: 5it [00:02, 1.66it/s]
25%|██▌ | 5/20 [00:08<00:17, 1.16s/it]
Total progress: 6it [00:03, 1.58it/s]
30%|███ | 6/20 [00:09<00:14, 1.00s/it]
Total progress: 7it [00:04, 1.54it/s]
35%|███▌ | 7/20 [00:10<00:11, 1.11it/s]
Total progress: 8it [00:04, 1.51it/s]
40%|████ | 8/20 [00:11<00:09, 1.20it/s]
Total progress: 9it [00:05, 1.49it/s]
45%|████▌ | 9/20 [00:11<00:08, 1.27it/s]
Total progress: 10it [00:06, 1.48it/s]
50%|█████ | 10/20 [00:12<00:07, 1.32it/s]
Total progress: 11it [00:06, 1.48it/s]
55%|█████▌ | 11/20 [00:13<00:06, 1.36it/s]
Total progress: 12it [00:07, 1.47it/s]
60%|██████ | 12/20 [00:13<00:05, 1.39it/s]
Total progress: 13it [00:08, 1.47it/s]
65%|██████▌ | 13/20 [00:14<00:04, 1.41it/s]
Total progress: 14it [00:08, 1.47it/s]
70%|███████ | 14/20 [00:15<00:04, 1.42it/s]
Total progress: 15it [00:09, 1.46it/s]
75%|███████▌ | 15/20 [00:15<00:03, 1.44it/s]
Total progress: 16it [00:10, 1.46it/s]
80%|████████ | 16/20 [00:16<00:02, 1.45it/s]
Total progress: 17it [00:10, 1.47it/s]
85%|████████▌ | 17/20 [00:17<00:02, 1.46it/s]
Total progress: 18it [00:11, 1.47it/s]
90%|█████████ | 18/20 [00:17<00:01, 1.47it/s]
Total progress: 19it [00:12, 1.47it/s]
95%|█████████▌| 19/20 [00:18<00:00, 1.47it/s]
100%|██████████| 20/20 [00:18<00:00, 1.73it/s]
100%|██████████| 20/20 [00:18<00:00, 1.06it/s]
Total progress: 20it [00:12, 1.48it/s]