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.
fofr /sticker-maker:3d72dfb2
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/sticker-maker using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"fofr/sticker-maker:3d72dfb2c09f9502b62f29026415ab0024fb8a2033a145d971a7eb4dc172177d",
{
input: {
steps: 20,
width: 1024,
height: 1024,
prompt: "a toxic yellow smiley face, X eyes",
upscale: true,
upscale_steps: 10,
negative_prompt: ""
}
}
);
// 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 fofr/sticker-maker using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"fofr/sticker-maker:3d72dfb2c09f9502b62f29026415ab0024fb8a2033a145d971a7eb4dc172177d",
input={
"steps": 20,
"width": 1024,
"height": 1024,
"prompt": "a toxic yellow smiley face, X eyes",
"upscale": True,
"upscale_steps": 10,
"negative_prompt": ""
}
)
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/sticker-maker 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": "fofr/sticker-maker:3d72dfb2c09f9502b62f29026415ab0024fb8a2033a145d971a7eb4dc172177d",
"input": {
"steps": 20,
"width": 1024,
"height": 1024,
"prompt": "a toxic yellow smiley face, X eyes",
"upscale": true,
"upscale_steps": 10,
"negative_prompt": ""
}
}' \
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": "2024-02-23T13:00:46.550368Z",
"created_at": "2024-02-23T13:00:21.642918Z",
"data_removed": false,
"error": null,
"id": "zvykyotb466mqmdudyavoizsv4",
"input": {
"steps": 20,
"width": 1024,
"height": 1024,
"prompt": "a toxic yellow smiley face, X eyes",
"upscale": true,
"upscale_steps": 10,
"negative_prompt": ""
},
"logs": "Random seed set to: 2276563659\nChecking inputs\n====================================\nChecking weights\n✅ artificialguybr/StickersRedmond.safetensors\n✅ 4x-AnimeSharp.pth\n✅ RMBG-1.4/model.pth\n✅ dreamshaper_8.safetensors\n✅ albedobaseXL_v13.safetensors\n====================================\nRunning workflow\ngot prompt\nExecuting node 2, title: Efficient Loader, class type: Efficient Loader\nRequested to load SDXLClipModel\nLoading 1 new model\n----------------------------------------\n\u001b[36mEfficient Loader Models Cache:\u001b[0m\nCkpt:\n[1] albedobaseXL_v13\nLora:\n[1] base_ckpt: albedobaseXL_v13\nlora(mod,clip): StickersRedmond(1,1)\nExecuting node 4, title: KSampler (Efficient), class type: KSampler (Efficient)\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:03, 4.87it/s]\n 10%|█ | 2/20 [00:00<00:03, 4.66it/s]\n 15%|█▌ | 3/20 [00:00<00:03, 4.59it/s]\n 20%|██ | 4/20 [00:00<00:03, 4.03it/s]\n 25%|██▌ | 5/20 [00:01<00:03, 4.22it/s]\n 30%|███ | 6/20 [00:01<00:03, 4.30it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 4.38it/s]\n 40%|████ | 8/20 [00:01<00:02, 4.41it/s]\n 45%|████▌ | 9/20 [00:02<00:02, 4.44it/s]\n 50%|█████ | 10/20 [00:02<00:02, 4.48it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 4.51it/s]\n 60%|██████ | 12/20 [00:02<00:01, 4.54it/s]\n 65%|██████▌ | 13/20 [00:02<00:01, 4.58it/s]\n 70%|███████ | 14/20 [00:03<00:01, 4.60it/s]\n 75%|███████▌ | 15/20 [00:03<00:01, 4.60it/s]\n 80%|████████ | 16/20 [00:03<00:00, 4.61it/s]\n 85%|████████▌ | 17/20 [00:03<00:00, 4.62it/s]\n 90%|█████████ | 18/20 [00:03<00:00, 4.64it/s]\n 95%|█████████▌| 19/20 [00:04<00:00, 4.79it/s]\n100%|██████████| 20/20 [00:04<00:00, 4.93it/s]\n100%|██████████| 20/20 [00:04<00:00, 4.57it/s]\nExecuting node 11, title: Ultimate SD Upscale, class type: UltimateSDUpscale\nCanva size: 2048x2048\nImage size: 1024x1024\nScale factor: 2\nUpscaling iteration 1 with scale factor 2\nTile size: 512x512\nTiles amount: 16\nGrid: 4x4\nRedraw enabled: True\nSeams fix mode: NONE\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.44it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.22it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.64it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.87it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.21it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.30it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.61it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.87it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.29it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.20it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.57it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.82it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.35it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.23it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.58it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.78it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.26it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.13it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.54it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.77it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.35it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.14it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.50it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.73it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.20it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.25it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.51it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.78it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.22it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.11it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.50it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.75it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.28it/s]\n 60%|██████ | 6/10 [00:00<00:00, 22.91it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.54it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.71it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.34it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.21it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.54it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.80it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.40it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.15it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.53it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.78it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.38it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.06it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.42it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.72it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.29it/s]\n 60%|██████ | 6/10 [00:00<00:00, 21.03it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 21.37it/s]\n100%|██████████| 10/10 [00:00<00:00, 21.67it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.02it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.05it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.45it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.67it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.27it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.18it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.53it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.76it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 30%|███ | 3/10 [00:00<00:00, 25.22it/s]\n 60%|██████ | 6/10 [00:00<00:00, 23.15it/s]\n 90%|█████████ | 9/10 [00:00<00:00, 22.34it/s]\n100%|██████████| 10/10 [00:00<00:00, 22.74it/s]\nExecuting node 16, title: Save Image, class type: SaveImage\nExecuting node 17, title: 🧹BRIA RMBG, class type: BRIA_RMBG_Zho\nExecuting node 18, title: Save Image, class type: SaveImage\nPrompt executed in 22.51 seconds\noutputs: {'4': {'images': [{'filename': 'ComfyUI_temp_ufsjp_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '16': {'images': [{'filename': 'ComfyUI_00001_.png', 'subfolder': '', 'type': 'output'}]}, '18': {'images': [{'filename': 'ComfyUI_00002_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nContents of /tmp/outputs:\nComfyUI_00001_.png\nComfyUI_00002_.png",
"metrics": {
"predict_time": 24.865925,
"total_time": 24.90745
},
"output": [
"https://replicate.delivery/pbxt/lfMTYdFqXDQaYCMpjqTPMjvRjy50d53lknRzAUGluAaejkZSA/ComfyUI_00001_.png",
"https://replicate.delivery/pbxt/Jbn4ks6NwxZZMtx11GiQmfELek5RfezWwcVxxVmAt5t5PSmJB/ComfyUI_00002_.png"
],
"started_at": "2024-02-23T13:00:21.684443Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/zvykyotb466mqmdudyavoizsv4",
"cancel": "https://api.replicate.com/v1/predictions/zvykyotb466mqmdudyavoizsv4/cancel"
},
"version": "3d72dfb2c09f9502b62f29026415ab0024fb8a2033a145d971a7eb4dc172177d"
}
Random seed set to: 2276563659
Checking inputs
====================================
Checking weights
✅ artificialguybr/StickersRedmond.safetensors
✅ 4x-AnimeSharp.pth
✅ RMBG-1.4/model.pth
✅ dreamshaper_8.safetensors
✅ albedobaseXL_v13.safetensors
====================================
Running workflow
got prompt
Executing node 2, title: Efficient Loader, class type: Efficient Loader
Requested to load SDXLClipModel
Loading 1 new model
----------------------------------------
Efficient Loader Models Cache:
Ckpt:
[1] albedobaseXL_v13
Lora:
[1] base_ckpt: albedobaseXL_v13
lora(mod,clip): StickersRedmond(1,1)
Executing node 4, title: KSampler (Efficient), class type: KSampler (Efficient)
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:03, 4.87it/s]
10%|█ | 2/20 [00:00<00:03, 4.66it/s]
15%|█▌ | 3/20 [00:00<00:03, 4.59it/s]
20%|██ | 4/20 [00:00<00:03, 4.03it/s]
25%|██▌ | 5/20 [00:01<00:03, 4.22it/s]
30%|███ | 6/20 [00:01<00:03, 4.30it/s]
35%|███▌ | 7/20 [00:01<00:02, 4.38it/s]
40%|████ | 8/20 [00:01<00:02, 4.41it/s]
45%|████▌ | 9/20 [00:02<00:02, 4.44it/s]
50%|█████ | 10/20 [00:02<00:02, 4.48it/s]
55%|█████▌ | 11/20 [00:02<00:01, 4.51it/s]
60%|██████ | 12/20 [00:02<00:01, 4.54it/s]
65%|██████▌ | 13/20 [00:02<00:01, 4.58it/s]
70%|███████ | 14/20 [00:03<00:01, 4.60it/s]
75%|███████▌ | 15/20 [00:03<00:01, 4.60it/s]
80%|████████ | 16/20 [00:03<00:00, 4.61it/s]
85%|████████▌ | 17/20 [00:03<00:00, 4.62it/s]
90%|█████████ | 18/20 [00:03<00:00, 4.64it/s]
95%|█████████▌| 19/20 [00:04<00:00, 4.79it/s]
100%|██████████| 20/20 [00:04<00:00, 4.93it/s]
100%|██████████| 20/20 [00:04<00:00, 4.57it/s]
Executing node 11, title: Ultimate SD Upscale, class type: UltimateSDUpscale
Canva size: 2048x2048
Image size: 1024x1024
Scale factor: 2
Upscaling iteration 1 with scale factor 2
Tile size: 512x512
Tiles amount: 16
Grid: 4x4
Redraw enabled: True
Seams fix mode: NONE
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.44it/s]
60%|██████ | 6/10 [00:00<00:00, 23.22it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.64it/s]
100%|██████████| 10/10 [00:00<00:00, 22.87it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.21it/s]
60%|██████ | 6/10 [00:00<00:00, 23.30it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.61it/s]
100%|██████████| 10/10 [00:00<00:00, 22.87it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.29it/s]
60%|██████ | 6/10 [00:00<00:00, 23.20it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.57it/s]
100%|██████████| 10/10 [00:00<00:00, 22.82it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.35it/s]
60%|██████ | 6/10 [00:00<00:00, 23.23it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.58it/s]
100%|██████████| 10/10 [00:00<00:00, 22.78it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.26it/s]
60%|██████ | 6/10 [00:00<00:00, 23.13it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.54it/s]
100%|██████████| 10/10 [00:00<00:00, 22.77it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.35it/s]
60%|██████ | 6/10 [00:00<00:00, 23.14it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.50it/s]
100%|██████████| 10/10 [00:00<00:00, 22.73it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.20it/s]
60%|██████ | 6/10 [00:00<00:00, 23.25it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.51it/s]
100%|██████████| 10/10 [00:00<00:00, 22.78it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.22it/s]
60%|██████ | 6/10 [00:00<00:00, 23.11it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.50it/s]
100%|██████████| 10/10 [00:00<00:00, 22.75it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.28it/s]
60%|██████ | 6/10 [00:00<00:00, 22.91it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.54it/s]
100%|██████████| 10/10 [00:00<00:00, 22.71it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.34it/s]
60%|██████ | 6/10 [00:00<00:00, 23.21it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.54it/s]
100%|██████████| 10/10 [00:00<00:00, 22.80it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.40it/s]
60%|██████ | 6/10 [00:00<00:00, 23.15it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.53it/s]
100%|██████████| 10/10 [00:00<00:00, 22.78it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.38it/s]
60%|██████ | 6/10 [00:00<00:00, 23.06it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.42it/s]
100%|██████████| 10/10 [00:00<00:00, 22.72it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.29it/s]
60%|██████ | 6/10 [00:00<00:00, 21.03it/s]
90%|█████████ | 9/10 [00:00<00:00, 21.37it/s]
100%|██████████| 10/10 [00:00<00:00, 21.67it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.02it/s]
60%|██████ | 6/10 [00:00<00:00, 23.05it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.45it/s]
100%|██████████| 10/10 [00:00<00:00, 22.67it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.27it/s]
60%|██████ | 6/10 [00:00<00:00, 23.18it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.53it/s]
100%|██████████| 10/10 [00:00<00:00, 22.76it/s]
0%| | 0/10 [00:00<?, ?it/s]
30%|███ | 3/10 [00:00<00:00, 25.22it/s]
60%|██████ | 6/10 [00:00<00:00, 23.15it/s]
90%|█████████ | 9/10 [00:00<00:00, 22.34it/s]
100%|██████████| 10/10 [00:00<00:00, 22.74it/s]
Executing node 16, title: Save Image, class type: SaveImage
Executing node 17, title: 🧹BRIA RMBG, class type: BRIA_RMBG_Zho
Executing node 18, title: Save Image, class type: SaveImage
Prompt executed in 22.51 seconds
outputs: {'4': {'images': [{'filename': 'ComfyUI_temp_ufsjp_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '16': {'images': [{'filename': 'ComfyUI_00001_.png', 'subfolder': '', 'type': 'output'}]}, '18': {'images': [{'filename': 'ComfyUI_00002_.png', 'subfolder': '', 'type': 'output'}]}}
====================================
Contents of /tmp/outputs:
ComfyUI_00001_.png
ComfyUI_00002_.png