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.
geeklab-ltd /app-icon-generator:342273f7
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 geeklab-ltd/app-icon-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"geeklab-ltd/app-icon-generator:342273f7ebbf8a2dfe74e27d0ec50b42bc314887b2ee19560791b52d71093192",
{
input: {
seed: 24048,
width: 1024,
height: 1024,
prompt: "iOS, Close up of a fierce warrior, 3d character,image of app icon, app icon, mobile app icon, stylized, mobile game icon",
refine: "no_refiner",
scheduler: "K_EULER_ANCESTRAL",
lora_scale: 0.6,
num_outputs: 1,
guidance_scale: 8,
apply_watermark: false,
high_noise_frac: 0.8,
negative_prompt: "Text, logo,(worst quality:1.5), (low quality:1.5), (normal quality:1.5), lowres, bad anatomy, bad hands, multiple eyebrow, (cropped), extra limb, missing limbs, deformed hands, long neck, long body, (bad hands), signature, username, artist name, conjoined fingers, deformed fingers, ugly eyes, imperfect eyes, skewed eyes, unnatural face, unnatural body, error, painting by bad-artist,nsfw,porn,nudity,sexy",
prompt_strength: 0.8,
num_inference_steps: 20
}
}
);
// 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 geeklab-ltd/app-icon-generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"geeklab-ltd/app-icon-generator:342273f7ebbf8a2dfe74e27d0ec50b42bc314887b2ee19560791b52d71093192",
input={
"seed": 24048,
"width": 1024,
"height": 1024,
"prompt": "iOS, Close up of a fierce warrior, 3d character,image of app icon, app icon, mobile app icon, stylized, mobile game icon",
"refine": "no_refiner",
"scheduler": "K_EULER_ANCESTRAL",
"lora_scale": 0.6,
"num_outputs": 1,
"guidance_scale": 8,
"apply_watermark": False,
"high_noise_frac": 0.8,
"negative_prompt": "Text, logo,(worst quality:1.5), (low quality:1.5), (normal quality:1.5), lowres, bad anatomy, bad hands, multiple eyebrow, (cropped), extra limb, missing limbs, deformed hands, long neck, long body, (bad hands), signature, username, artist name, conjoined fingers, deformed fingers, ugly eyes, imperfect eyes, skewed eyes, unnatural face, unnatural body, error, painting by bad-artist,nsfw,porn,nudity,sexy",
"prompt_strength": 0.8,
"num_inference_steps": 20
}
)
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 geeklab-ltd/app-icon-generator 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": "geeklab-ltd/app-icon-generator:342273f7ebbf8a2dfe74e27d0ec50b42bc314887b2ee19560791b52d71093192",
"input": {
"seed": 24048,
"width": 1024,
"height": 1024,
"prompt": "iOS, Close up of a fierce warrior, 3d character,image of app icon, app icon, mobile app icon, stylized, mobile game icon",
"refine": "no_refiner",
"scheduler": "K_EULER_ANCESTRAL",
"lora_scale": 0.6,
"num_outputs": 1,
"guidance_scale": 8,
"apply_watermark": false,
"high_noise_frac": 0.8,
"negative_prompt": "Text, logo,(worst quality:1.5), (low quality:1.5), (normal quality:1.5), lowres, bad anatomy, bad hands, multiple eyebrow, (cropped), extra limb, missing limbs, deformed hands, long neck, long body, (bad hands), signature, username, artist name, conjoined fingers, deformed fingers, ugly eyes, imperfect eyes, skewed eyes, unnatural face, unnatural body, error, painting by bad-artist,nsfw,porn,nudity,sexy",
"prompt_strength": 0.8,
"num_inference_steps": 20
}
}' \
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-12-11T21:04:33.331421Z",
"created_at": "2023-12-11T21:04:21.884136Z",
"data_removed": false,
"error": null,
"id": "umsqnilbebpapd3ujjq3ie5bri",
"input": {
"seed": 24048,
"width": 1024,
"height": 1024,
"prompt": "iOS, Close up of a fierce warrior, 3d character,image of app icon, app icon, mobile app icon, stylized, mobile game icon",
"refine": "no_refiner",
"scheduler": "K_EULER_ANCESTRAL",
"lora_scale": 0.6,
"num_outputs": 1,
"guidance_scale": 8,
"apply_watermark": false,
"high_noise_frac": 0.8,
"negative_prompt": "Text, logo,(worst quality:1.5), (low quality:1.5), (normal quality:1.5), lowres, bad anatomy, bad hands, multiple eyebrow, (cropped), extra limb, missing limbs, deformed hands, long neck, long body, (bad hands), signature, username, artist name, conjoined fingers, deformed fingers, ugly eyes, imperfect eyes, skewed eyes, unnatural face, unnatural body, error, painting by bad-artist,nsfw,porn,nudity,sexy",
"prompt_strength": 0.8,
"num_inference_steps": 20
},
"logs": "Using seed: 24048\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nPrompt: iOS, Close up of a fierce warrior, 3d character,image of <s0><s1>, <s0><s1>, mobile <s0><s1>, stylized, mobile game icon\ntxt2img mode\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:05, 3.66it/s]\n 10%|█ | 2/20 [00:00<00:04, 3.66it/s]\n 15%|█▌ | 3/20 [00:00<00:04, 3.66it/s]\n 20%|██ | 4/20 [00:01<00:04, 3.66it/s]\n 25%|██▌ | 5/20 [00:01<00:04, 3.66it/s]\n 30%|███ | 6/20 [00:01<00:03, 3.66it/s]\n 35%|███▌ | 7/20 [00:01<00:03, 3.66it/s]\n 40%|████ | 8/20 [00:02<00:03, 3.66it/s]\n 45%|████▌ | 9/20 [00:02<00:03, 3.66it/s]\n 50%|█████ | 10/20 [00:02<00:02, 3.66it/s]\n 55%|█████▌ | 11/20 [00:03<00:02, 3.66it/s]\n 60%|██████ | 12/20 [00:03<00:02, 3.66it/s]\n 65%|██████▌ | 13/20 [00:03<00:01, 3.65it/s]\n 70%|███████ | 14/20 [00:03<00:01, 3.65it/s]\n 75%|███████▌ | 15/20 [00:04<00:01, 3.65it/s]\n 80%|████████ | 16/20 [00:04<00:01, 3.65it/s]\n 85%|████████▌ | 17/20 [00:04<00:00, 3.65it/s]\n 90%|█████████ | 18/20 [00:04<00:00, 3.65it/s]\n 95%|█████████▌| 19/20 [00:05<00:00, 3.65it/s]\n100%|██████████| 20/20 [00:05<00:00, 3.64it/s]\n100%|██████████| 20/20 [00:05<00:00, 3.65it/s]",
"metrics": {
"predict_time": 7.258783,
"total_time": 11.447285
},
"output": [
"https://replicate.delivery/pbxt/b26AeyBgPFUSJyS1Ce6hE0w1MPrLbeiBvOwMgU8anxDCblCkA/out-0.png"
],
"started_at": "2023-12-11T21:04:26.072638Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/umsqnilbebpapd3ujjq3ie5bri",
"cancel": "https://api.replicate.com/v1/predictions/umsqnilbebpapd3ujjq3ie5bri/cancel"
},
"version": "342273f7ebbf8a2dfe74e27d0ec50b42bc314887b2ee19560791b52d71093192"
}
Using seed: 24048
Loading fine-tuned model
Does not have Unet. assume we are using LoRA
Loading Unet LoRA
Prompt: iOS, Close up of a fierce warrior, 3d character,image of <s0><s1>, <s0><s1>, mobile <s0><s1>, stylized, mobile game icon
txt2img mode
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:05, 3.66it/s]
10%|█ | 2/20 [00:00<00:04, 3.66it/s]
15%|█▌ | 3/20 [00:00<00:04, 3.66it/s]
20%|██ | 4/20 [00:01<00:04, 3.66it/s]
25%|██▌ | 5/20 [00:01<00:04, 3.66it/s]
30%|███ | 6/20 [00:01<00:03, 3.66it/s]
35%|███▌ | 7/20 [00:01<00:03, 3.66it/s]
40%|████ | 8/20 [00:02<00:03, 3.66it/s]
45%|████▌ | 9/20 [00:02<00:03, 3.66it/s]
50%|█████ | 10/20 [00:02<00:02, 3.66it/s]
55%|█████▌ | 11/20 [00:03<00:02, 3.66it/s]
60%|██████ | 12/20 [00:03<00:02, 3.66it/s]
65%|██████▌ | 13/20 [00:03<00:01, 3.65it/s]
70%|███████ | 14/20 [00:03<00:01, 3.65it/s]
75%|███████▌ | 15/20 [00:04<00:01, 3.65it/s]
80%|████████ | 16/20 [00:04<00:01, 3.65it/s]
85%|████████▌ | 17/20 [00:04<00:00, 3.65it/s]
90%|█████████ | 18/20 [00:04<00:00, 3.65it/s]
95%|█████████▌| 19/20 [00:05<00:00, 3.65it/s]
100%|██████████| 20/20 [00:05<00:00, 3.64it/s]
100%|██████████| 20/20 [00:05<00:00, 3.65it/s]