You're looking at a specific version of this model. Jump to the model overview.
fofr /sdxl-halo-ring:54731324
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";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run fofr/sdxl-halo-ring using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"fofr/sdxl-halo-ring:547313244f1263d30820606f84b3daa84fa4207a6d7ea3d03a78768a0b24f4d8",
{
input: {
width: 1152,
height: 768,
prompt: "A video game render of a TOK halo ring, low angle",
refine: "expert_ensemble_refiner",
scheduler: "K_EULER",
lora_scale: 0.6,
num_outputs: 1,
guidance_scale: 7.5,
apply_watermark: false,
high_noise_frac: 0.9,
negative_prompt: "",
prompt_strength: 0.8,
num_inference_steps: 30
}
}
);
console.log(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 fofr/sdxl-halo-ring using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"fofr/sdxl-halo-ring:547313244f1263d30820606f84b3daa84fa4207a6d7ea3d03a78768a0b24f4d8",
input={
"width": 1152,
"height": 768,
"prompt": "A video game render of a TOK halo ring, low angle",
"refine": "expert_ensemble_refiner",
"scheduler": "K_EULER",
"lora_scale": 0.6,
"num_outputs": 1,
"guidance_scale": 7.5,
"apply_watermark": False,
"high_noise_frac": 0.9,
"negative_prompt": "",
"prompt_strength": 0.8,
"num_inference_steps": 30
}
)
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 fofr/sdxl-halo-ring 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": "547313244f1263d30820606f84b3daa84fa4207a6d7ea3d03a78768a0b24f4d8",
"input": {
"width": 1152,
"height": 768,
"prompt": "A video game render of a TOK halo ring, low angle",
"refine": "expert_ensemble_refiner",
"scheduler": "K_EULER",
"lora_scale": 0.6,
"num_outputs": 1,
"guidance_scale": 7.5,
"apply_watermark": false,
"high_noise_frac": 0.9,
"negative_prompt": "",
"prompt_strength": 0.8,
"num_inference_steps": 30
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/fofr/sdxl-halo-ring@sha256:547313244f1263d30820606f84b3daa84fa4207a6d7ea3d03a78768a0b24f4d8 \
-i 'width=1152' \
-i 'height=768' \
-i 'prompt="A video game render of a TOK halo ring, low angle"' \
-i 'refine="expert_ensemble_refiner"' \
-i 'scheduler="K_EULER"' \
-i 'lora_scale=0.6' \
-i 'num_outputs=1' \
-i 'guidance_scale=7.5' \
-i 'apply_watermark=false' \
-i 'high_noise_frac=0.9' \
-i 'negative_prompt=""' \
-i 'prompt_strength=0.8' \
-i 'num_inference_steps=30'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/fofr/sdxl-halo-ring@sha256:547313244f1263d30820606f84b3daa84fa4207a6d7ea3d03a78768a0b24f4d8
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "width": 1152, "height": 768, "prompt": "A video game render of a TOK halo ring, low angle", "refine": "expert_ensemble_refiner", "scheduler": "K_EULER", "lora_scale": 0.6, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.9, "negative_prompt": "", "prompt_strength": 0.8, "num_inference_steps": 30 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Add a payment method to run this model.
Each run costs approximately $0.016. Alternatively, try out our featured models for free.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2023-11-03T23:39:09.314248Z",
"created_at": "2023-11-03T23:39:02.427899Z",
"data_removed": false,
"error": null,
"id": "a7q2dk3bqfuvtszskxhbguntme",
"input": {
"width": 1152,
"height": 768,
"prompt": "A video game render of a TOK halo ring, low angle",
"refine": "expert_ensemble_refiner",
"scheduler": "K_EULER",
"lora_scale": 0.6,
"num_outputs": 1,
"guidance_scale": 7.5,
"apply_watermark": false,
"high_noise_frac": 0.9,
"negative_prompt": "",
"prompt_strength": 0.8,
"num_inference_steps": 30
},
"logs": "Using seed: 63376\nskipping loading .. weights already loaded\nPrompt: A video game render of a <s0><s1> halo ring, low angle\ntxt2img mode\n 0%| | 0/21 [00:00<?, ?it/s]\n 5%|▍ | 1/21 [00:00<00:04, 4.36it/s]\n 10%|▉ | 2/21 [00:00<00:04, 4.34it/s]\n 14%|█▍ | 3/21 [00:00<00:04, 4.33it/s]\n 19%|█▉ | 4/21 [00:00<00:03, 4.33it/s]\n 24%|██▍ | 5/21 [00:01<00:03, 4.32it/s]\n 29%|██▊ | 6/21 [00:01<00:03, 4.31it/s]\n 33%|███▎ | 7/21 [00:01<00:03, 4.31it/s]\n 38%|███▊ | 8/21 [00:01<00:03, 4.31it/s]\n 43%|████▎ | 9/21 [00:02<00:02, 4.31it/s]\n 48%|████▊ | 10/21 [00:02<00:02, 4.30it/s]\n 52%|█████▏ | 11/21 [00:02<00:02, 4.30it/s]\n 57%|█████▋ | 12/21 [00:02<00:02, 4.31it/s]\n 62%|██████▏ | 13/21 [00:03<00:01, 4.30it/s]\n 67%|██████▋ | 14/21 [00:03<00:01, 4.30it/s]\n 71%|███████▏ | 15/21 [00:03<00:01, 4.31it/s]\n 76%|███████▌ | 16/21 [00:03<00:01, 4.32it/s]\n 81%|████████ | 17/21 [00:03<00:00, 4.32it/s]\n 86%|████████▌ | 18/21 [00:04<00:00, 4.32it/s]\n 90%|█████████ | 19/21 [00:04<00:00, 4.32it/s]\n 95%|█████████▌| 20/21 [00:04<00:00, 4.33it/s]\n100%|██████████| 21/21 [00:04<00:00, 4.33it/s]\n100%|██████████| 21/21 [00:04<00:00, 4.32it/s]\n 0%| | 0/3 [00:00<?, ?it/s]\n 33%|███▎ | 1/3 [00:00<00:00, 5.52it/s]\n 67%|██████▋ | 2/3 [00:00<00:00, 5.50it/s]\n100%|██████████| 3/3 [00:00<00:00, 5.48it/s]\n100%|██████████| 3/3 [00:00<00:00, 5.49it/s]",
"metrics": {
"predict_time": 6.96607,
"total_time": 6.886349
},
"output": [
"https://replicate.delivery/pbxt/ofeetXiSOemG2QKD1JypP9QFXWko3TfIclR6QyjFBgkhTbmOC/out-0.png"
],
"started_at": "2023-11-03T23:39:02.348178Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/a7q2dk3bqfuvtszskxhbguntme",
"cancel": "https://api.replicate.com/v1/predictions/a7q2dk3bqfuvtszskxhbguntme/cancel"
},
"version": "547313244f1263d30820606f84b3daa84fa4207a6d7ea3d03a78768a0b24f4d8"
}
Using seed: 63376
skipping loading .. weights already loaded
Prompt: A video game render of a <s0><s1> halo ring, low angle
txt2img mode
0%| | 0/21 [00:00<?, ?it/s]
5%|▍ | 1/21 [00:00<00:04, 4.36it/s]
10%|▉ | 2/21 [00:00<00:04, 4.34it/s]
14%|█▍ | 3/21 [00:00<00:04, 4.33it/s]
19%|█▉ | 4/21 [00:00<00:03, 4.33it/s]
24%|██▍ | 5/21 [00:01<00:03, 4.32it/s]
29%|██▊ | 6/21 [00:01<00:03, 4.31it/s]
33%|███▎ | 7/21 [00:01<00:03, 4.31it/s]
38%|███▊ | 8/21 [00:01<00:03, 4.31it/s]
43%|████▎ | 9/21 [00:02<00:02, 4.31it/s]
48%|████▊ | 10/21 [00:02<00:02, 4.30it/s]
52%|█████▏ | 11/21 [00:02<00:02, 4.30it/s]
57%|█████▋ | 12/21 [00:02<00:02, 4.31it/s]
62%|██████▏ | 13/21 [00:03<00:01, 4.30it/s]
67%|██████▋ | 14/21 [00:03<00:01, 4.30it/s]
71%|███████▏ | 15/21 [00:03<00:01, 4.31it/s]
76%|███████▌ | 16/21 [00:03<00:01, 4.32it/s]
81%|████████ | 17/21 [00:03<00:00, 4.32it/s]
86%|████████▌ | 18/21 [00:04<00:00, 4.32it/s]
90%|█████████ | 19/21 [00:04<00:00, 4.32it/s]
95%|█████████▌| 20/21 [00:04<00:00, 4.33it/s]
100%|██████████| 21/21 [00:04<00:00, 4.33it/s]
100%|██████████| 21/21 [00:04<00:00, 4.32it/s]
0%| | 0/3 [00:00<?, ?it/s]
33%|███▎ | 1/3 [00:00<00:00, 5.52it/s]
67%|██████▋ | 2/3 [00:00<00:00, 5.50it/s]
100%|██████████| 3/3 [00:00<00:00, 5.48it/s]
100%|██████████| 3/3 [00:00<00:00, 5.49it/s]