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:a7bc178c
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:a7bc178c1c82a30c67926004ca5e1fe1405fa493501286e4749eee78d296ce5c",
{
input: {
seed: -1,
steps: 20,
width: 512,
height: 768,
prompt: "(masterpiece, top quality, best quality, official art, beautiful and aesthetic:1.2), (1 elf girl:1.3), extreme detailed,(heal magic,green color magic:1.2),colorful,highest detailed,illustrations, artistic fusion,fantastical scenes,striking visuals,",
cfg_scale: 8,
enable_hr: true,
sampler_name: "DPM++ SDE Karras",
negative_prompt: "(worst quality, low quality:2), NSFW,monochrome, zombie,overexposure, watermark,text,bad anatomy,bad hand,extra hands,extra fingers,too many fingers,fused fingers,bad arm,distorted arm,extra arms,fused arms,extra legs,missing leg,disembodied leg,extra nipples, detached arm, liquid hand,inverted hand,disembodied limb, oversized head,extra body,extra navel,easynegative,(hair between eyes),sketch, duplicate, ugly, huge eyes, text, logo, worst face, (bad and mutated hands:1.3), (blurry:2.0), horror, geometry, bad_prompt, (bad hands), (missing fingers), multiple limbs, bad anatomy, (interlocked fingers:1.2), Ugly Fingers, (extra digit and hands and fingers and legs and arms:1.4), (deformed fingers:1.2), (long fingers:1.2),(bad-artist-anime), bad-artist, bad hand, extra legs ,(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:a7bc178c1c82a30c67926004ca5e1fe1405fa493501286e4749eee78d296ce5c",
input={
"seed": -1,
"steps": 20,
"width": 512,
"height": 768,
"prompt": "(masterpiece, top quality, best quality, official art, beautiful and aesthetic:1.2), (1 elf girl:1.3), extreme detailed,(heal magic,green color magic:1.2),colorful,highest detailed,illustrations, artistic fusion,fantastical scenes,striking visuals,",
"cfg_scale": 8,
"enable_hr": True,
"sampler_name": "DPM++ SDE Karras",
"negative_prompt": "(worst quality, low quality:2), NSFW,monochrome, zombie,overexposure, watermark,text,bad anatomy,bad hand,extra hands,extra fingers,too many fingers,fused fingers,bad arm,distorted arm,extra arms,fused arms,extra legs,missing leg,disembodied leg,extra nipples, detached arm, liquid hand,inverted hand,disembodied limb, oversized head,extra body,extra navel,easynegative,(hair between eyes),sketch, duplicate, ugly, huge eyes, text, logo, worst face, (bad and mutated hands:1.3), (blurry:2.0), horror, geometry, bad_prompt, (bad hands), (missing fingers), multiple limbs, bad anatomy, (interlocked fingers:1.2), Ugly Fingers, (extra digit and hands and fingers and legs and arms:1.4), (deformed fingers:1.2), (long fingers:1.2),(bad-artist-anime), bad-artist, bad hand, extra legs ,(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:a7bc178c1c82a30c67926004ca5e1fe1405fa493501286e4749eee78d296ce5c",
"input": {
"seed": -1,
"steps": 20,
"width": 512,
"height": 768,
"prompt": "(masterpiece, top quality, best quality, official art, beautiful and aesthetic:1.2), (1 elf girl:1.3), extreme detailed,(heal magic,green color magic:1.2),colorful,highest detailed,illustrations, artistic fusion,fantastical scenes,striking visuals,",
"cfg_scale": 8,
"enable_hr": true,
"sampler_name": "DPM++ SDE Karras",
"negative_prompt": "(worst quality, low quality:2), NSFW,monochrome, zombie,overexposure, watermark,text,bad anatomy,bad hand,extra hands,extra fingers,too many fingers,fused fingers,bad arm,distorted arm,extra arms,fused arms,extra legs,missing leg,disembodied leg,extra nipples, detached arm, liquid hand,inverted hand,disembodied limb, oversized head,extra body,extra navel,easynegative,(hair between eyes),sketch, duplicate, ugly, huge eyes, text, logo, worst face, (bad and mutated hands:1.3), (blurry:2.0), horror, geometry, bad_prompt, (bad hands), (missing fingers), multiple limbs, bad anatomy, (interlocked fingers:1.2), Ugly Fingers, (extra digit and hands and fingers and legs and arms:1.4), (deformed fingers:1.2), (long fingers:1.2),(bad-artist-anime), bad-artist, bad hand, extra legs ,(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-23T17:20:34.298573Z",
"created_at": "2023-05-23T17:09:44.285846Z",
"data_removed": false,
"error": null,
"id": "zxnicyynuzguzffkgpkd776zqu",
"input": {
"seed": -1,
"steps": 20,
"width": 512,
"height": 768,
"prompt": "(masterpiece, top quality, best quality, official art, beautiful and aesthetic:1.2), (1 elf girl:1.3), extreme detailed,(heal magic,green color magic:1.2),colorful,highest detailed,illustrations, artistic fusion,fantastical scenes,striking visuals,",
"cfg_scale": 8,
"enable_hr": true,
"sampler_name": "DPM++ SDE Karras",
"negative_prompt": "(worst quality, low quality:2), NSFW,monochrome, zombie,overexposure, watermark,text,bad anatomy,bad hand,extra hands,extra fingers,too many fingers,fused fingers,bad arm,distorted arm,extra arms,fused arms,extra legs,missing leg,disembodied leg,extra nipples, detached arm, liquid hand,inverted hand,disembodied limb, oversized head,extra body,extra navel,easynegative,(hair between eyes),sketch, duplicate, ugly, huge eyes, text, logo, worst face, (bad and mutated hands:1.3), (blurry:2.0), horror, geometry, bad_prompt, (bad hands), (missing fingers), multiple limbs, bad anatomy, (interlocked fingers:1.2), Ugly Fingers, (extra digit and hands and fingers and legs and arms:1.4), (deformed fingers:1.2), (long fingers:1.2),(bad-artist-anime), bad-artist, bad hand, extra legs ,(ng_deepnegative_v1_75t)"
},
"logs": "Total progress: 0it [00:00, ?it/s]\u001b[A\n 0%| | 0/20 [00:00<?, ?it/s]\nTotal progress: 1it [00:04, 4.15s/it]\u001b[A\n 5%|▌ | 1/20 [00:02<00:38, 2.04s/it]\nTotal progress: 2it [00:04, 2.04s/it]\u001b[A\n 10%|█ | 2/20 [00:02<00:21, 1.19s/it]\nTotal progress: 3it [00:05, 1.39s/it]\u001b[A\n 15%|█▌ | 3/20 [00:03<00:15, 1.08it/s]\nTotal progress: 4it [00:05, 1.08s/it]\u001b[A\n 20%|██ | 4/20 [00:03<00:12, 1.28it/s]\nTotal progress: 5it [00:06, 1.12it/s]\u001b[A\n 25%|██▌ | 5/20 [00:04<00:10, 1.43it/s]\nTotal progress: 6it [00:07, 1.30it/s]\u001b[A\n 30%|███ | 6/20 [00:04<00:09, 1.53it/s]\nTotal progress: 7it [00:07, 1.39it/s]\u001b[A\n 35%|███▌ | 7/20 [00:05<00:08, 1.57it/s]\nTotal progress: 8it [00:08, 1.48it/s]\u001b[A\n 40%|████ | 8/20 [00:06<00:07, 1.61it/s]\nTotal progress: 9it [00:08, 1.56it/s]\u001b[A\n 45%|████▌ | 9/20 [00:06<00:06, 1.68it/s]\nTotal progress: 10it [00:09, 1.63it/s]\u001b[A\n 50%|█████ | 10/20 [00:07<00:05, 1.72it/s]\nTotal progress: 11it [00:09, 1.69it/s]\u001b[A\n 55%|█████▌ | 11/20 [00:07<00:05, 1.76it/s]\nTotal progress: 12it [00:10, 1.73it/s]\u001b[A\n 60%|██████ | 12/20 [00:08<00:04, 1.80it/s]\nTotal progress: 13it [00:10, 1.81it/s]\u001b[A\n 65%|██████▌ | 13/20 [00:08<00:03, 1.89it/s]\nTotal progress: 14it [00:11, 1.89it/s]\u001b[A\n 70%|███████ | 14/20 [00:09<00:03, 1.89it/s]\nTotal progress: 15it [00:11, 1.90it/s]\u001b[A\n 75%|███████▌ | 15/20 [00:09<00:02, 1.91it/s]\nTotal progress: 16it [00:12, 1.85it/s]\u001b[A\n 80%|████████ | 16/20 [00:10<00:02, 1.81it/s]\nTotal progress: 17it [00:13, 1.80it/s]\u001b[A\n 85%|████████▌ | 17/20 [00:10<00:01, 1.77it/s]\nTotal progress: 18it [00:13, 1.78it/s]\u001b[A\n 90%|█████████ | 18/20 [00:11<00:01, 1.81it/s]\nTotal progress: 19it [00:14, 1.82it/s]\u001b[A\n 95%|█████████▌| 19/20 [00:12<00:00, 1.79it/s]\n100%|██████████| 20/20 [00:12<00:00, 2.14it/s]\n100%|██████████| 20/20 [00:12<00:00, 1.62it/s]\nTotal progress: 20it [00:14, 1.79it/s]\u001b[ATile 1/15\nTile 2/15\nTile 3/15\nTile 4/15\nTile 5/15\nTile 6/15\nTile 7/15\nTile 8/15\nTile 9/15\nTile 10/15\nTile 11/15\nTile 12/15\nTile 13/15\nTile 14/15\nTile 15/15\n 0%| | 0/20 [00:00<?, ?it/s]\nTotal progress: 21it [00:18, 1.52s/it]\u001b[A\n 5%|▌ | 1/20 [00:01<00:20, 1.07s/it]\nTotal progress: 22it [00:19, 1.37s/it]\u001b[A\n 10%|█ | 2/20 [00:02<00:18, 1.05s/it]\nTotal progress: 23it [00:20, 1.27s/it]\u001b[A\n 15%|█▌ | 3/20 [00:03<00:17, 1.04s/it]\nTotal progress: 24it [00:21, 1.20s/it]\u001b[A\n 20%|██ | 4/20 [00:04<00:16, 1.04s/it]\nTotal progress: 25it [00:22, 1.15s/it]\u001b[A\n 25%|██▌ | 5/20 [00:05<00:15, 1.04s/it]\nTotal progress: 26it [00:23, 1.12s/it]\u001b[A\n 30%|███ | 6/20 [00:06<00:14, 1.04s/it]\nTotal progress: 27it [00:24, 1.09s/it]\u001b[A\n 35%|███▌ | 7/20 [00:07<00:13, 1.04s/it]\nTotal progress: 28it [00:25, 1.08s/it]\u001b[A\n 40%|████ | 8/20 [00:08<00:12, 1.03s/it]\nTotal progress: 29it [00:26, 1.06s/it]\u001b[A\n 45%|████▌ | 9/20 [00:09<00:11, 1.03s/it]\nTotal progress: 30it [00:27, 1.05s/it]\u001b[A\n 50%|█████ | 10/20 [00:10<00:10, 1.03s/it]\nTotal progress: 31it [00:28, 1.05s/it]\u001b[A\n 55%|█████▌ | 11/20 [00:11<00:09, 1.04s/it]\nTotal progress: 32it [00:29, 1.04s/it]\u001b[A\n 60%|██████ | 12/20 [00:12<00:08, 1.04s/it]\nTotal progress: 33it [00:30, 1.04s/it]\u001b[A\n 65%|██████▌ | 13/20 [00:13<00:07, 1.03s/it]\nTotal progress: 34it [00:31, 1.04s/it]\u001b[A\n 70%|███████ | 14/20 [00:14<00:06, 1.03s/it]\nTotal progress: 35it [00:32, 1.04s/it]\u001b[A\n 75%|███████▌ | 15/20 [00:15<00:05, 1.03s/it]\nTotal progress: 36it [00:34, 1.03s/it]\u001b[A\n 80%|████████ | 16/20 [00:16<00:04, 1.03s/it]\nTotal progress: 37it [00:35, 1.03s/it]\u001b[A\n 85%|████████▌ | 17/20 [00:17<00:03, 1.03s/it]\nTotal progress: 38it [00:36, 1.03s/it]\u001b[A\n 90%|█████████ | 18/20 [00:18<00:02, 1.03s/it]\nTotal progress: 39it [00:37, 1.03s/it]\u001b[A\n 95%|█████████▌| 19/20 [00:19<00:01, 1.03s/it]\n100%|██████████| 20/20 [00:20<00:00, 1.15it/s]\n100%|██████████| 20/20 [00:20<00:00, 1.01s/it]\nTotal progress: 40it [00:38, 1.03s/it]\u001b[A",
"metrics": {
"predict_time": 40.00956,
"total_time": 650.012727
},
"output": "https://replicate.delivery/pbxt/eTm1IY6iD7wbF6H9G1KLfA9kqvDK0pYWjfegeGkewWnR4nqPE/1684862432.png",
"started_at": "2023-05-23T17:19:54.289013Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/zxnicyynuzguzffkgpkd776zqu",
"cancel": "https://api.replicate.com/v1/predictions/zxnicyynuzguzffkgpkd776zqu/cancel"
},
"version": "a7bc178c1c82a30c67926004ca5e1fe1405fa493501286e4749eee78d296ce5c"
}
Total progress: 0it [00:00, ?it/s]
0%| | 0/20 [00:00<?, ?it/s]
Total progress: 1it [00:04, 4.15s/it]
5%|▌ | 1/20 [00:02<00:38, 2.04s/it]
Total progress: 2it [00:04, 2.04s/it]
10%|█ | 2/20 [00:02<00:21, 1.19s/it]
Total progress: 3it [00:05, 1.39s/it]
15%|█▌ | 3/20 [00:03<00:15, 1.08it/s]
Total progress: 4it [00:05, 1.08s/it]
20%|██ | 4/20 [00:03<00:12, 1.28it/s]
Total progress: 5it [00:06, 1.12it/s]
25%|██▌ | 5/20 [00:04<00:10, 1.43it/s]
Total progress: 6it [00:07, 1.30it/s]
30%|███ | 6/20 [00:04<00:09, 1.53it/s]
Total progress: 7it [00:07, 1.39it/s]
35%|███▌ | 7/20 [00:05<00:08, 1.57it/s]
Total progress: 8it [00:08, 1.48it/s]
40%|████ | 8/20 [00:06<00:07, 1.61it/s]
Total progress: 9it [00:08, 1.56it/s]
45%|████▌ | 9/20 [00:06<00:06, 1.68it/s]
Total progress: 10it [00:09, 1.63it/s]
50%|█████ | 10/20 [00:07<00:05, 1.72it/s]
Total progress: 11it [00:09, 1.69it/s]
55%|█████▌ | 11/20 [00:07<00:05, 1.76it/s]
Total progress: 12it [00:10, 1.73it/s]
60%|██████ | 12/20 [00:08<00:04, 1.80it/s]
Total progress: 13it [00:10, 1.81it/s]
65%|██████▌ | 13/20 [00:08<00:03, 1.89it/s]
Total progress: 14it [00:11, 1.89it/s]
70%|███████ | 14/20 [00:09<00:03, 1.89it/s]
Total progress: 15it [00:11, 1.90it/s]
75%|███████▌ | 15/20 [00:09<00:02, 1.91it/s]
Total progress: 16it [00:12, 1.85it/s]
80%|████████ | 16/20 [00:10<00:02, 1.81it/s]
Total progress: 17it [00:13, 1.80it/s]
85%|████████▌ | 17/20 [00:10<00:01, 1.77it/s]
Total progress: 18it [00:13, 1.78it/s]
90%|█████████ | 18/20 [00:11<00:01, 1.81it/s]
Total progress: 19it [00:14, 1.82it/s]
95%|█████████▌| 19/20 [00:12<00:00, 1.79it/s]
100%|██████████| 20/20 [00:12<00:00, 2.14it/s]
100%|██████████| 20/20 [00:12<00:00, 1.62it/s]
Total progress: 20it [00:14, 1.79it/s]Tile 1/15
Tile 2/15
Tile 3/15
Tile 4/15
Tile 5/15
Tile 6/15
Tile 7/15
Tile 8/15
Tile 9/15
Tile 10/15
Tile 11/15
Tile 12/15
Tile 13/15
Tile 14/15
Tile 15/15
0%| | 0/20 [00:00<?, ?it/s]
Total progress: 21it [00:18, 1.52s/it]
5%|▌ | 1/20 [00:01<00:20, 1.07s/it]
Total progress: 22it [00:19, 1.37s/it]
10%|█ | 2/20 [00:02<00:18, 1.05s/it]
Total progress: 23it [00:20, 1.27s/it]
15%|█▌ | 3/20 [00:03<00:17, 1.04s/it]
Total progress: 24it [00:21, 1.20s/it]
20%|██ | 4/20 [00:04<00:16, 1.04s/it]
Total progress: 25it [00:22, 1.15s/it]
25%|██▌ | 5/20 [00:05<00:15, 1.04s/it]
Total progress: 26it [00:23, 1.12s/it]
30%|███ | 6/20 [00:06<00:14, 1.04s/it]
Total progress: 27it [00:24, 1.09s/it]
35%|███▌ | 7/20 [00:07<00:13, 1.04s/it]
Total progress: 28it [00:25, 1.08s/it]
40%|████ | 8/20 [00:08<00:12, 1.03s/it]
Total progress: 29it [00:26, 1.06s/it]
45%|████▌ | 9/20 [00:09<00:11, 1.03s/it]
Total progress: 30it [00:27, 1.05s/it]
50%|█████ | 10/20 [00:10<00:10, 1.03s/it]
Total progress: 31it [00:28, 1.05s/it]
55%|█████▌ | 11/20 [00:11<00:09, 1.04s/it]
Total progress: 32it [00:29, 1.04s/it]
60%|██████ | 12/20 [00:12<00:08, 1.04s/it]
Total progress: 33it [00:30, 1.04s/it]
65%|██████▌ | 13/20 [00:13<00:07, 1.03s/it]
Total progress: 34it [00:31, 1.04s/it]
70%|███████ | 14/20 [00:14<00:06, 1.03s/it]
Total progress: 35it [00:32, 1.04s/it]
75%|███████▌ | 15/20 [00:15<00:05, 1.03s/it]
Total progress: 36it [00:34, 1.03s/it]
80%|████████ | 16/20 [00:16<00:04, 1.03s/it]
Total progress: 37it [00:35, 1.03s/it]
85%|████████▌ | 17/20 [00:17<00:03, 1.03s/it]
Total progress: 38it [00:36, 1.03s/it]
90%|█████████ | 18/20 [00:18<00:02, 1.03s/it]
Total progress: 39it [00:37, 1.03s/it]
95%|█████████▌| 19/20 [00:19<00:01, 1.03s/it]
100%|██████████| 20/20 [00:20<00:00, 1.15it/s]
100%|██████████| 20/20 [00:20<00:00, 1.01s/it]
Total progress: 40it [00:38, 1.03s/it]