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.
grassyguru /archslra:c1312373
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 grassyguru/archslra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"grassyguru/archslra:c13123731b41d7d2265ba4b6ea251b0f018aa254fc6a79dac3079578fe848ea3",
{
input: {
model: "dev",
prompt: "ARCHSLRA of a boat with a group of people on it, sailing in the ocean. The boat is white and has a sail. The people on the boat are wearing white clothes and hats. The scene is set at night with the stars shining brightly in the sky. The painting has a whimsical and playful style.",
go_fast: false,
lora_scale: 2,
megapixels: "1",
num_outputs: 1,
aspect_ratio: "9:16",
output_format: "webp",
guidance_scale: 3.5,
output_quality: 80,
prompt_strength: 0.8,
extra_lora_scale: 1,
num_inference_steps: 34
}
}
);
// 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 grassyguru/archslra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"grassyguru/archslra:c13123731b41d7d2265ba4b6ea251b0f018aa254fc6a79dac3079578fe848ea3",
input={
"model": "dev",
"prompt": "ARCHSLRA of a boat with a group of people on it, sailing in the ocean. The boat is white and has a sail. The people on the boat are wearing white clothes and hats. The scene is set at night with the stars shining brightly in the sky. The painting has a whimsical and playful style.",
"go_fast": False,
"lora_scale": 2,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "9:16",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 34
}
)
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 grassyguru/archslra 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": "grassyguru/archslra:c13123731b41d7d2265ba4b6ea251b0f018aa254fc6a79dac3079578fe848ea3",
"input": {
"model": "dev",
"prompt": "ARCHSLRA of a boat with a group of people on it, sailing in the ocean. The boat is white and has a sail. The people on the boat are wearing white clothes and hats. The scene is set at night with the stars shining brightly in the sky. The painting has a whimsical and playful style.",
"go_fast": false,
"lora_scale": 2,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "9:16",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 34
}
}' \
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-28T02:17:45.472783Z",
"created_at": "2024-08-28T02:17:22.457000Z",
"data_removed": false,
"error": null,
"id": "9bvd8xqs35rm20chjv2rjxpmjw",
"input": {
"model": "dev",
"prompt": "ARCHSLRA of a boat with a group of people on it, sailing in the ocean. The boat is white and has a sail. The people on the boat are wearing white clothes and hats. The scene is set at night with the stars shining brightly in the sky. The painting has a whimsical and playful style.",
"lora_scale": 2,
"num_outputs": 1,
"aspect_ratio": "9:16",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 80,
"extra_lora_scale": 1,
"num_inference_steps": 34
},
"logs": "Using seed: 52649\nPrompt: ARCHSLRA of a boat with a group of people on it, sailing in the ocean. The boat is white and has a sail. The people on the boat are wearing white clothes and hats. The scene is set at night with the stars shining brightly in the sky. The painting has a whimsical and playful style.\ntxt2img mode\nUsing dev model\nfree=9711338754048\nDownloading weights\n2024-08-28T02:17:22Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpv0lqi1c_/weights url=https://replicate.delivery/yhqm/zr6nLoCQgfwVQ6abnfHcezspFpKrofN47o9EIielOI76uK4aC/trained_model.tar\n2024-08-28T02:17:26Z | INFO | [ Complete ] dest=/tmp/tmpv0lqi1c_/weights size=\"172 MB\" total_elapsed=4.042s url=https://replicate.delivery/yhqm/zr6nLoCQgfwVQ6abnfHcezspFpKrofN47o9EIielOI76uK4aC/trained_model.tar\nDownloaded weights in 4.07s\nLoaded LoRAs in 12.95s\n 0%| | 0/34 [00:00<?, ?it/s]\n 3%|▎ | 1/34 [00:00<00:09, 3.56it/s]\n 6%|▌ | 2/34 [00:00<00:08, 3.98it/s]\n 9%|▉ | 3/34 [00:00<00:08, 3.78it/s]\n 12%|█▏ | 4/34 [00:01<00:08, 3.68it/s]\n 15%|█▍ | 5/34 [00:01<00:07, 3.63it/s]\n 18%|█▊ | 6/34 [00:01<00:07, 3.60it/s]\n 21%|██ | 7/34 [00:01<00:07, 3.58it/s]\n 24%|██▎ | 8/34 [00:02<00:07, 3.57it/s]\n 26%|██▋ | 9/34 [00:02<00:07, 3.56it/s]\n 29%|██▉ | 10/34 [00:02<00:06, 3.56it/s]\n 32%|███▏ | 11/34 [00:03<00:06, 3.55it/s]\n 35%|███▌ | 12/34 [00:03<00:06, 3.55it/s]\n 38%|███▊ | 13/34 [00:03<00:05, 3.55it/s]\n 41%|████ | 14/34 [00:03<00:05, 3.56it/s]\n 44%|████▍ | 15/34 [00:04<00:05, 3.56it/s]\n 47%|████▋ | 16/34 [00:04<00:05, 3.56it/s]\n 50%|█████ | 17/34 [00:04<00:04, 3.56it/s]\n 53%|█████▎ | 18/34 [00:05<00:04, 3.56it/s]\n 56%|█████▌ | 19/34 [00:05<00:04, 3.55it/s]\n 59%|█████▉ | 20/34 [00:05<00:03, 3.56it/s]\n 62%|██████▏ | 21/34 [00:05<00:03, 3.54it/s]\n 65%|██████▍ | 22/34 [00:06<00:03, 3.54it/s]\n 68%|██████▊ | 23/34 [00:06<00:03, 3.54it/s]\n 71%|███████ | 24/34 [00:06<00:02, 3.55it/s]\n 74%|███████▎ | 25/34 [00:06<00:02, 3.55it/s]\n 76%|███████▋ | 26/34 [00:07<00:02, 3.55it/s]\n 79%|███████▉ | 27/34 [00:07<00:01, 3.56it/s]\n 82%|████████▏ | 28/34 [00:07<00:01, 3.55it/s]\n 85%|████████▌ | 29/34 [00:08<00:01, 3.56it/s]\n 88%|████████▊ | 30/34 [00:08<00:01, 3.54it/s]\n 91%|█████████ | 31/34 [00:08<00:00, 3.55it/s]\n 94%|█████████▍| 32/34 [00:08<00:00, 3.55it/s]\n 97%|█████████▋| 33/34 [00:09<00:00, 3.55it/s]\n100%|██████████| 34/34 [00:09<00:00, 3.55it/s]\n100%|██████████| 34/34 [00:09<00:00, 3.57it/s]",
"metrics": {
"predict_time": 23.00996637,
"total_time": 23.015783
},
"output": [
"https://replicate.delivery/yhqm/17mdCfZ8NFwvWa1G7JO7nyuyix3f9cDwybiNFN4lplhJrDXTA/out-0.webp"
],
"started_at": "2024-08-28T02:17:22.462816Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/9bvd8xqs35rm20chjv2rjxpmjw",
"cancel": "https://api.replicate.com/v1/predictions/9bvd8xqs35rm20chjv2rjxpmjw/cancel"
},
"version": "c13123731b41d7d2265ba4b6ea251b0f018aa254fc6a79dac3079578fe848ea3"
}
Using seed: 52649
Prompt: ARCHSLRA of a boat with a group of people on it, sailing in the ocean. The boat is white and has a sail. The people on the boat are wearing white clothes and hats. The scene is set at night with the stars shining brightly in the sky. The painting has a whimsical and playful style.
txt2img mode
Using dev model
free=9711338754048
Downloading weights
2024-08-28T02:17:22Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpv0lqi1c_/weights url=https://replicate.delivery/yhqm/zr6nLoCQgfwVQ6abnfHcezspFpKrofN47o9EIielOI76uK4aC/trained_model.tar
2024-08-28T02:17:26Z | INFO | [ Complete ] dest=/tmp/tmpv0lqi1c_/weights size="172 MB" total_elapsed=4.042s url=https://replicate.delivery/yhqm/zr6nLoCQgfwVQ6abnfHcezspFpKrofN47o9EIielOI76uK4aC/trained_model.tar
Downloaded weights in 4.07s
Loaded LoRAs in 12.95s
0%| | 0/34 [00:00<?, ?it/s]
3%|▎ | 1/34 [00:00<00:09, 3.56it/s]
6%|▌ | 2/34 [00:00<00:08, 3.98it/s]
9%|▉ | 3/34 [00:00<00:08, 3.78it/s]
12%|█▏ | 4/34 [00:01<00:08, 3.68it/s]
15%|█▍ | 5/34 [00:01<00:07, 3.63it/s]
18%|█▊ | 6/34 [00:01<00:07, 3.60it/s]
21%|██ | 7/34 [00:01<00:07, 3.58it/s]
24%|██▎ | 8/34 [00:02<00:07, 3.57it/s]
26%|██▋ | 9/34 [00:02<00:07, 3.56it/s]
29%|██▉ | 10/34 [00:02<00:06, 3.56it/s]
32%|███▏ | 11/34 [00:03<00:06, 3.55it/s]
35%|███▌ | 12/34 [00:03<00:06, 3.55it/s]
38%|███▊ | 13/34 [00:03<00:05, 3.55it/s]
41%|████ | 14/34 [00:03<00:05, 3.56it/s]
44%|████▍ | 15/34 [00:04<00:05, 3.56it/s]
47%|████▋ | 16/34 [00:04<00:05, 3.56it/s]
50%|█████ | 17/34 [00:04<00:04, 3.56it/s]
53%|█████▎ | 18/34 [00:05<00:04, 3.56it/s]
56%|█████▌ | 19/34 [00:05<00:04, 3.55it/s]
59%|█████▉ | 20/34 [00:05<00:03, 3.56it/s]
62%|██████▏ | 21/34 [00:05<00:03, 3.54it/s]
65%|██████▍ | 22/34 [00:06<00:03, 3.54it/s]
68%|██████▊ | 23/34 [00:06<00:03, 3.54it/s]
71%|███████ | 24/34 [00:06<00:02, 3.55it/s]
74%|███████▎ | 25/34 [00:06<00:02, 3.55it/s]
76%|███████▋ | 26/34 [00:07<00:02, 3.55it/s]
79%|███████▉ | 27/34 [00:07<00:01, 3.56it/s]
82%|████████▏ | 28/34 [00:07<00:01, 3.55it/s]
85%|████████▌ | 29/34 [00:08<00:01, 3.56it/s]
88%|████████▊ | 30/34 [00:08<00:01, 3.54it/s]
91%|█████████ | 31/34 [00:08<00:00, 3.55it/s]
94%|█████████▍| 32/34 [00:08<00:00, 3.55it/s]
97%|█████████▋| 33/34 [00:09<00:00, 3.55it/s]
100%|██████████| 34/34 [00:09<00:00, 3.55it/s]
100%|██████████| 34/34 [00:09<00:00, 3.57it/s]