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.
joshelgar /andrwfrclgh:47452545
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 joshelgar/andrwfrclgh using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"joshelgar/andrwfrclgh:474525450f8a878ae019fa758c8f4b91f24453e25cb31939e5dbc55da256c6f7",
{
input: {
seed: 39535,
model: "dev",
prompt: "Surrealist minimalist illustration by ANDRWFRCLGH of pineapple-themed sunglasses. Small pink mouth. The rest of the artwork is empty space. Floating features. Beige background with vintage pineapple accent colours for the sunglasses. Art in the style of ANDRWFRCLGH. No face. No nose, no chin, no forehead, no cheeks, no hair, no ears. Just pineapple sunglassses and a mouth.",
go_fast: false,
lora_scale: 1.5,
megapixels: "1",
num_outputs: 4,
aspect_ratio: "1:1",
output_format: "webp",
guidance_scale: 5,
output_quality: 100,
prompt_strength: 0.8,
extra_lora_scale: 1,
num_inference_steps: 35
}
}
);
// 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 joshelgar/andrwfrclgh using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"joshelgar/andrwfrclgh:474525450f8a878ae019fa758c8f4b91f24453e25cb31939e5dbc55da256c6f7",
input={
"seed": 39535,
"model": "dev",
"prompt": "Surrealist minimalist illustration by ANDRWFRCLGH of pineapple-themed sunglasses. Small pink mouth. The rest of the artwork is empty space. Floating features. Beige background with vintage pineapple accent colours for the sunglasses. Art in the style of ANDRWFRCLGH. No face. No nose, no chin, no forehead, no cheeks, no hair, no ears. Just pineapple sunglassses and a mouth.",
"go_fast": False,
"lora_scale": 1.5,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 5,
"output_quality": 100,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 35
}
)
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 joshelgar/andrwfrclgh 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": "joshelgar/andrwfrclgh:474525450f8a878ae019fa758c8f4b91f24453e25cb31939e5dbc55da256c6f7",
"input": {
"seed": 39535,
"model": "dev",
"prompt": "Surrealist minimalist illustration by ANDRWFRCLGH of pineapple-themed sunglasses. Small pink mouth. The rest of the artwork is empty space. Floating features. Beige background with vintage pineapple accent colours for the sunglasses. Art in the style of ANDRWFRCLGH. No face. No nose, no chin, no forehead, no cheeks, no hair, no ears. Just pineapple sunglassses and a mouth.",
"go_fast": false,
"lora_scale": 1.5,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 5,
"output_quality": 100,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 35
}
}' \
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-08-20T09:20:36.812792Z",
"created_at": "2024-08-20T09:18:53.985000Z",
"data_removed": false,
"error": null,
"id": "hqdz060445rm20chdwasw7mcs8",
"input": {
"seed": 39535,
"model": "dev",
"prompt": "Surrealist minimalist illustration by ANDRWFRCLGH of pineapple-themed sunglasses. Small pink mouth. The rest of the artwork is empty space. Floating features. Beige background with vintage pineapple accent colours for the sunglasses. Art in the style of ANDRWFRCLGH. No face. No nose, no chin, no forehead, no cheeks, no hair, no ears. Just pineapple sunglassses and a mouth.",
"lora_scale": 1.5,
"num_outputs": 4,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 5,
"output_quality": 100,
"num_inference_steps": 35
},
"logs": "Using seed: 39535\nPrompt: Surrealist minimalist illustration by ANDRWFRCLGH of pineapple-themed sunglasses. Small pink mouth. The rest of the artwork is empty space. Floating features. Beige background with vintage pineapple accent colours for the sunglasses. Art in the style of ANDRWFRCLGH. No face. No nose, no chin, no forehead, no cheeks, no hair, no ears. Just pineapple sunglassses and a mouth.\ntxt2img mode\nUsing dev model\nLoading LoRA weights\nLoRA weights loaded successfully\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['just pineapple sunglassses and a mouth.', 'just pineapple sunglassses and a mouth.', 'just pineapple sunglassses and a mouth.', 'just pineapple sunglassses and a mouth.']\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:01<00:34, 1.01s/it]\n 6%|▌ | 2/35 [00:01<00:29, 1.12it/s]\n 9%|▊ | 3/35 [00:02<00:30, 1.06it/s]\n 11%|█▏ | 4/35 [00:03<00:30, 1.03it/s]\n 14%|█▍ | 5/35 [00:04<00:29, 1.01it/s]\n 17%|█▋ | 6/35 [00:05<00:28, 1.01it/s]\n 20%|██ | 7/35 [00:06<00:28, 1.00s/it]\n 23%|██▎ | 8/35 [00:07<00:27, 1.00s/it]\n 26%|██▌ | 9/35 [00:08<00:26, 1.01s/it]\n 29%|██▊ | 10/35 [00:09<00:25, 1.01s/it]\n 31%|███▏ | 11/35 [00:10<00:24, 1.01s/it]\n 34%|███▍ | 12/35 [00:11<00:23, 1.01s/it]\n 37%|███▋ | 13/35 [00:12<00:22, 1.01s/it]\n 40%|████ | 14/35 [00:13<00:21, 1.01s/it]\n 43%|████▎ | 15/35 [00:14<00:20, 1.01s/it]\n 46%|████▌ | 16/35 [00:15<00:19, 1.01s/it]\n 49%|████▊ | 17/35 [00:17<00:18, 1.01s/it]\n 51%|█████▏ | 18/35 [00:18<00:17, 1.01s/it]\n 54%|█████▍ | 19/35 [00:19<00:16, 1.01s/it]\n 57%|█████▋ | 20/35 [00:20<00:15, 1.01s/it]\n 60%|██████ | 21/35 [00:21<00:14, 1.01s/it]\n 63%|██████▎ | 22/35 [00:22<00:13, 1.02s/it]\n 66%|██████▌ | 23/35 [00:23<00:12, 1.01s/it]\n 69%|██████▊ | 24/35 [00:24<00:11, 1.02s/it]\n 71%|███████▏ | 25/35 [00:25<00:10, 1.01s/it]\n 74%|███████▍ | 26/35 [00:26<00:09, 1.02s/it]\n 77%|███████▋ | 27/35 [00:27<00:08, 1.02s/it]\n 80%|████████ | 28/35 [00:28<00:07, 1.02s/it]\n 83%|████████▎ | 29/35 [00:29<00:06, 1.02s/it]\n 86%|████████▌ | 30/35 [00:30<00:05, 1.02s/it]\n 89%|████████▊ | 31/35 [00:31<00:04, 1.02s/it]\n 91%|█████████▏| 32/35 [00:32<00:03, 1.02s/it]\n 94%|█████████▍| 33/35 [00:33<00:02, 1.02s/it]\n 97%|█████████▋| 34/35 [00:34<00:01, 1.02s/it]\n100%|██████████| 35/35 [00:35<00:00, 1.02s/it]\n100%|██████████| 35/35 [00:35<00:00, 1.01s/it]",
"metrics": {
"predict_time": 45.113297623,
"total_time": 102.827792
},
"output": [
"https://replicate.delivery/yhqm/W1Hbd2KlzwbEO5WZAjvFdzIdhfdAPg3spamLbDg4RmQyjQqJA/out-0.webp",
"https://replicate.delivery/yhqm/iynDz1YHdF7rBhFVlWCfyD7RfX28CP75B2t02ViwrJFkHhUTA/out-1.webp",
"https://replicate.delivery/yhqm/CgnsbqLLCZ7ZKlNcVflHuTa4qSoAExfjNur4HReE91lJPCpmA/out-2.webp",
"https://replicate.delivery/yhqm/uVY8N5VcPl5vD1sjjcAG2AfwEiSzUlqB2xivh0gfUceIPCpmA/out-3.webp"
],
"started_at": "2024-08-20T09:19:51.699495Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/hqdz060445rm20chdwasw7mcs8",
"cancel": "https://api.replicate.com/v1/predictions/hqdz060445rm20chdwasw7mcs8/cancel"
},
"version": "474525450f8a878ae019fa758c8f4b91f24453e25cb31939e5dbc55da256c6f7"
}
Using seed: 39535
Prompt: Surrealist minimalist illustration by ANDRWFRCLGH of pineapple-themed sunglasses. Small pink mouth. The rest of the artwork is empty space. Floating features. Beige background with vintage pineapple accent colours for the sunglasses. Art in the style of ANDRWFRCLGH. No face. No nose, no chin, no forehead, no cheeks, no hair, no ears. Just pineapple sunglassses and a mouth.
txt2img mode
Using dev model
Loading LoRA weights
LoRA weights loaded successfully
The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['just pineapple sunglassses and a mouth.', 'just pineapple sunglassses and a mouth.', 'just pineapple sunglassses and a mouth.', 'just pineapple sunglassses and a mouth.']
0%| | 0/35 [00:00<?, ?it/s]
3%|▎ | 1/35 [00:01<00:34, 1.01s/it]
6%|▌ | 2/35 [00:01<00:29, 1.12it/s]
9%|▊ | 3/35 [00:02<00:30, 1.06it/s]
11%|█▏ | 4/35 [00:03<00:30, 1.03it/s]
14%|█▍ | 5/35 [00:04<00:29, 1.01it/s]
17%|█▋ | 6/35 [00:05<00:28, 1.01it/s]
20%|██ | 7/35 [00:06<00:28, 1.00s/it]
23%|██▎ | 8/35 [00:07<00:27, 1.00s/it]
26%|██▌ | 9/35 [00:08<00:26, 1.01s/it]
29%|██▊ | 10/35 [00:09<00:25, 1.01s/it]
31%|███▏ | 11/35 [00:10<00:24, 1.01s/it]
34%|███▍ | 12/35 [00:11<00:23, 1.01s/it]
37%|███▋ | 13/35 [00:12<00:22, 1.01s/it]
40%|████ | 14/35 [00:13<00:21, 1.01s/it]
43%|████▎ | 15/35 [00:14<00:20, 1.01s/it]
46%|████▌ | 16/35 [00:15<00:19, 1.01s/it]
49%|████▊ | 17/35 [00:17<00:18, 1.01s/it]
51%|█████▏ | 18/35 [00:18<00:17, 1.01s/it]
54%|█████▍ | 19/35 [00:19<00:16, 1.01s/it]
57%|█████▋ | 20/35 [00:20<00:15, 1.01s/it]
60%|██████ | 21/35 [00:21<00:14, 1.01s/it]
63%|██████▎ | 22/35 [00:22<00:13, 1.02s/it]
66%|██████▌ | 23/35 [00:23<00:12, 1.01s/it]
69%|██████▊ | 24/35 [00:24<00:11, 1.02s/it]
71%|███████▏ | 25/35 [00:25<00:10, 1.01s/it]
74%|███████▍ | 26/35 [00:26<00:09, 1.02s/it]
77%|███████▋ | 27/35 [00:27<00:08, 1.02s/it]
80%|████████ | 28/35 [00:28<00:07, 1.02s/it]
83%|████████▎ | 29/35 [00:29<00:06, 1.02s/it]
86%|████████▌ | 30/35 [00:30<00:05, 1.02s/it]
89%|████████▊ | 31/35 [00:31<00:04, 1.02s/it]
91%|█████████▏| 32/35 [00:32<00:03, 1.02s/it]
94%|█████████▍| 33/35 [00:33<00:02, 1.02s/it]
97%|█████████▋| 34/35 [00:34<00:01, 1.02s/it]
100%|██████████| 35/35 [00:35<00:00, 1.02s/it]
100%|██████████| 35/35 [00:35<00:00, 1.01s/it]