typetext
{
"aspect_ratio": "4:5",
"extra_lora_scale": 1,
"go_fast": false,
"guidance_scale": 0,
"lora_scale": 1,
"megapixels": "1",
"model": "dev",
"num_inference_steps": 47,
"num_outputs": 4,
"output_format": "webp",
"output_quality": 100,
"prompt": "in the international style of TOK, \n\nIn the international style of TOK, a deep blue background. A large oval takes up most of the scene. Cropped within. Inside, a rococo dinner scene closeup. Front and center is a highly detailed artistic, oval shaped representation of Earth as a celestial artifact. The main body is a luminous cobalt blue sphere with intricate textural ripples resembling oceanic currents carved across its entire surface., radiating outward like a pumpkin. Scattered across this azure expanse are irregular patches of gleaming gold leaf representing abstract continental forms - larger masses suggesting Eurasia and Africa in the northern hemisphere, the Americas along one side, and smaller golden fragments depicting Australia and Pacific archipelagos. The delicate swirling patterns etched into the surface suggest global wind patterns and major ocean currents circumnavigating the planet. The sphere rests upon a clear crystal base. \n\nThe monochromatic dark blue-tinted lighting on technological elements contrasting with warm chiaroscuro on organic gemstones, translucent enamel containing starry cosmic particles, metallic gold filigree and adornments resembling microchips against deep black background. Atmospheric cinematic lighting with warm deep amber undertones, film grain overlay, shallow depth of field, inspired by biomechanical religious horror and transhumanist ceremonial procedures, reminiscent of Cronenberg and H.R. Giger aesthetics, photorealistic, 8K resolution, shot on Arri Alexa with vintage anamorphic lenses photorealistic rendering with sci-fi mechanical details, melancholic yet reverent mood, ancient wooden altar surface displaying both natural grain and embedded circuitry --ar 4:5 --v 6 --s 1000 --q 2 --style raw Ed",
"prompt_strength": 0.72
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_1sR**********************************
This is your API token. Keep it to yourself.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run wizardofwoz/laysv2.5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"wizardofwoz/laysv2.5:bf4c05dc3f2028d23fc0b472c194d975744385f8385c61164e8958a6a98b59fc",
{
input: {
aspect_ratio: "4:5",
extra_lora_scale: 1,
go_fast: false,
guidance_scale: 0,
lora_scale: 1,
megapixels: "1",
model: "dev",
num_inference_steps: 47,
num_outputs: 4,
output_format: "webp",
output_quality: 100,
prompt: "in the international style of TOK, \n\nIn the international style of TOK, a deep blue background. A large oval takes up most of the scene. Cropped within. Inside, a rococo dinner scene closeup. Front and center is a highly detailed artistic, oval shaped representation of Earth as a celestial artifact. The main body is a luminous cobalt blue sphere with intricate textural ripples resembling oceanic currents carved across its entire surface., radiating outward like a pumpkin. Scattered across this azure expanse are irregular patches of gleaming gold leaf representing abstract continental forms - larger masses suggesting Eurasia and Africa in the northern hemisphere, the Americas along one side, and smaller golden fragments depicting Australia and Pacific archipelagos. The delicate swirling patterns etched into the surface suggest global wind patterns and major ocean currents circumnavigating the planet. The sphere rests upon a clear crystal base. \n\nThe monochromatic dark blue-tinted lighting on technological elements contrasting with warm chiaroscuro on organic gemstones, translucent enamel containing starry cosmic particles, metallic gold filigree and adornments resembling microchips against deep black background. Atmospheric cinematic lighting with warm deep amber undertones, film grain overlay, shallow depth of field, inspired by biomechanical religious horror and transhumanist ceremonial procedures, reminiscent of Cronenberg and H.R. Giger aesthetics, photorealistic, 8K resolution, shot on Arri Alexa with vintage anamorphic lenses photorealistic rendering with sci-fi mechanical details, melancholic yet reverent mood, ancient wooden altar surface displaying both natural grain and embedded circuitry --ar 4:5 --v 6 --s 1000 --q 2 --style raw Ed",
prompt_strength: 0.72
}
}
);
// 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=r8_1sR**********************************
This is your API token. Keep it to yourself.
import replicate
Run wizardofwoz/laysv2.5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"wizardofwoz/laysv2.5:bf4c05dc3f2028d23fc0b472c194d975744385f8385c61164e8958a6a98b59fc",
input={
"aspect_ratio": "4:5",
"extra_lora_scale": 1,
"go_fast": False,
"guidance_scale": 0,
"lora_scale": 1,
"megapixels": "1",
"model": "dev",
"num_inference_steps": 47,
"num_outputs": 4,
"output_format": "webp",
"output_quality": 100,
"prompt": "in the international style of TOK, \n\nIn the international style of TOK, a deep blue background. A large oval takes up most of the scene. Cropped within. Inside, a rococo dinner scene closeup. Front and center is a highly detailed artistic, oval shaped representation of Earth as a celestial artifact. The main body is a luminous cobalt blue sphere with intricate textural ripples resembling oceanic currents carved across its entire surface., radiating outward like a pumpkin. Scattered across this azure expanse are irregular patches of gleaming gold leaf representing abstract continental forms - larger masses suggesting Eurasia and Africa in the northern hemisphere, the Americas along one side, and smaller golden fragments depicting Australia and Pacific archipelagos. The delicate swirling patterns etched into the surface suggest global wind patterns and major ocean currents circumnavigating the planet. The sphere rests upon a clear crystal base. \n\nThe monochromatic dark blue-tinted lighting on technological elements contrasting with warm chiaroscuro on organic gemstones, translucent enamel containing starry cosmic particles, metallic gold filigree and adornments resembling microchips against deep black background. Atmospheric cinematic lighting with warm deep amber undertones, film grain overlay, shallow depth of field, inspired by biomechanical religious horror and transhumanist ceremonial procedures, reminiscent of Cronenberg and H.R. Giger aesthetics, photorealistic, 8K resolution, shot on Arri Alexa with vintage anamorphic lenses photorealistic rendering with sci-fi mechanical details, melancholic yet reverent mood, ancient wooden altar surface displaying both natural grain and embedded circuitry --ar 4:5 --v 6 --s 1000 --q 2 --style raw Ed",
"prompt_strength": 0.72
}
)
# To access the file URL:
print(output[0].url())
#=> "http://example.com"
# To write the file to disk:
with open("my-image.png", "wb") as file:
file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_1sR**********************************
This is your API token. Keep it to yourself.
Run wizardofwoz/laysv2.5 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": "wizardofwoz/laysv2.5:bf4c05dc3f2028d23fc0b472c194d975744385f8385c61164e8958a6a98b59fc",
"input": {
"aspect_ratio": "4:5",
"extra_lora_scale": 1,
"go_fast": false,
"guidance_scale": 0,
"lora_scale": 1,
"megapixels": "1",
"model": "dev",
"num_inference_steps": 47,
"num_outputs": 4,
"output_format": "webp",
"output_quality": 100,
"prompt": "in the international style of TOK, \\n\\nIn the international style of TOK, a deep blue background. A large oval takes up most of the scene. Cropped within. Inside, a rococo dinner scene closeup. Front and center is a highly detailed artistic, oval shaped representation of Earth as a celestial artifact. The main body is a luminous cobalt blue sphere with intricate textural ripples resembling oceanic currents carved across its entire surface., radiating outward like a pumpkin. Scattered across this azure expanse are irregular patches of gleaming gold leaf representing abstract continental forms - larger masses suggesting Eurasia and Africa in the northern hemisphere, the Americas along one side, and smaller golden fragments depicting Australia and Pacific archipelagos. The delicate swirling patterns etched into the surface suggest global wind patterns and major ocean currents circumnavigating the planet. The sphere rests upon a clear crystal base. \\n\\nThe monochromatic dark blue-tinted lighting on technological elements contrasting with warm chiaroscuro on organic gemstones, translucent enamel containing starry cosmic particles, metallic gold filigree and adornments resembling microchips against deep black background. Atmospheric cinematic lighting with warm deep amber undertones, film grain overlay, shallow depth of field, inspired by biomechanical religious horror and transhumanist ceremonial procedures, reminiscent of Cronenberg and H.R. Giger aesthetics, photorealistic, 8K resolution, shot on Arri Alexa with vintage anamorphic lenses photorealistic rendering with sci-fi mechanical details, melancholic yet reverent mood, ancient wooden altar surface displaying both natural grain and embedded circuitry --ar 4:5 --v 6 --s 1000 --q 2 --style raw Ed",
"prompt_strength": 0.72
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "1ket2cgq3drm80cpmdrsbf9pnr",
"model": "wizardofwoz/laysv2.5",
"version": "bf4c05dc3f2028d23fc0b472c194d975744385f8385c61164e8958a6a98b59fc",
"input": {
"aspect_ratio": "4:5",
"extra_lora_scale": 1,
"go_fast": false,
"guidance_scale": 0,
"lora_scale": 1,
"megapixels": "1",
"model": "dev",
"num_inference_steps": 47,
"num_outputs": 4,
"output_format": "webp",
"output_quality": 100,
"prompt": "in the international style of TOK, \n\nIn the international style of TOK, a deep blue background. A large oval takes up most of the scene. Cropped within. Inside, a rococo dinner scene closeup. Front and center is a highly detailed artistic, oval shaped representation of Earth as a celestial artifact. The main body is a luminous cobalt blue sphere with intricate textural ripples resembling oceanic currents carved across its entire surface., radiating outward like a pumpkin. Scattered across this azure expanse are irregular patches of gleaming gold leaf representing abstract continental forms - larger masses suggesting Eurasia and Africa in the northern hemisphere, the Americas along one side, and smaller golden fragments depicting Australia and Pacific archipelagos. The delicate swirling patterns etched into the surface suggest global wind patterns and major ocean currents circumnavigating the planet. The sphere rests upon a clear crystal base. \n\nThe monochromatic dark blue-tinted lighting on technological elements contrasting with warm chiaroscuro on organic gemstones, translucent enamel containing starry cosmic particles, metallic gold filigree and adornments resembling microchips against deep black background. Atmospheric cinematic lighting with warm deep amber undertones, film grain overlay, shallow depth of field, inspired by biomechanical religious horror and transhumanist ceremonial procedures, reminiscent of Cronenberg and H.R. Giger aesthetics, photorealistic, 8K resolution, shot on Arri Alexa with vintage anamorphic lenses photorealistic rendering with sci-fi mechanical details, melancholic yet reverent mood, ancient wooden altar surface displaying both natural grain and embedded circuitry --ar 4:5 --v 6 --s 1000 --q 2 --style raw Ed",
"prompt_strength": 0.72
},
"logs": "free=29272379437056\nDownloading weights\n2025-05-06T02:33:40Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpdcoq3ia1/weights url=https://replicate.delivery/xezq/xqOzkAbz8xphAVrZT3MeutM2SE4kFVAXLKdDmZPcqCXMrkTKA/trained_model.tar\n2025-05-06T02:33:40Z | INFO | [ Cache Service ] enabled=true scheme=http target=hermes.services.svc.cluster.local\n2025-05-06T02:33:41Z | INFO | [ Complete ] dest=/tmp/tmpdcoq3ia1/weights size=\"526 MB\" total_elapsed=1.015s url=https://replicate.delivery/xezq/xqOzkAbz8xphAVrZT3MeutM2SE4kFVAXLKdDmZPcqCXMrkTKA/trained_model.tar\nDownloaded weights in 1.07s\nLoaded LoRAs in 1.69s\nUsing seed: 20109\nPrompt: in the international style of TOK,\nIn the international style of TOK, a deep blue background. A large oval takes up most of the scene. Cropped within. Inside, a rococo dinner scene closeup. Front and center is a highly detailed artistic, oval shaped representation of Earth as a celestial artifact. The main body is a luminous cobalt blue sphere with intricate textural ripples resembling oceanic currents carved across its entire surface., radiating outward like a pumpkin. Scattered across this azure expanse are irregular patches of gleaming gold leaf representing abstract continental forms - larger masses suggesting Eurasia and Africa in the northern hemisphere, the Americas along one side, and smaller golden fragments depicting Australia and Pacific archipelagos. The delicate swirling patterns etched into the surface suggest global wind patterns and major ocean currents circumnavigating the planet. The sphere rests upon a clear crystal base.\nThe monochromatic dark blue-tinted lighting on technological elements contrasting with warm chiaroscuro on organic gemstones, translucent enamel containing starry cosmic particles, metallic gold filigree and adornments resembling microchips against deep black background. Atmospheric cinematic lighting with warm deep amber undertones, film grain overlay, shallow depth of field, inspired by biomechanical religious horror and transhumanist ceremonial procedures, reminiscent of Cronenberg and H.R. Giger aesthetics, photorealistic, 8K resolution, shot on Arri Alexa with vintage anamorphic lenses photorealistic rendering with sci-fi mechanical details, melancholic yet reverent mood, ancient wooden altar surface displaying both natural grain and embedded circuitry --ar 4:5 --v 6 --s 1000 --q 2 --style raw Ed\n[!] txt2img mode\n 0%| | 0/47 [00:00<?, ?it/s]\n 2%|▏ | 1/47 [00:00<00:45, 1.01it/s]\n 4%|▍ | 2/47 [00:01<00:39, 1.15it/s]\n 6%|▋ | 3/47 [00:02<00:40, 1.08it/s]\n 9%|▊ | 4/47 [00:03<00:40, 1.05it/s]\n 11%|█ | 5/47 [00:04<00:40, 1.04it/s]\n 13%|█▎ | 6/47 [00:05<00:39, 1.03it/s]\n 15%|█▍ | 7/47 [00:06<00:39, 1.02it/s]\n 17%|█▋ | 8/47 [00:07<00:38, 1.02it/s]\n 19%|█▉ | 9/47 [00:08<00:37, 1.01it/s]\n 21%|██▏ | 10/47 [00:09<00:36, 1.01it/s]\n 23%|██▎ | 11/47 [00:10<00:35, 1.01it/s]\n 26%|██▌ | 12/47 [00:11<00:34, 1.01it/s]\n 28%|██▊ | 13/47 [00:12<00:33, 1.01it/s]\n 30%|██▉ | 14/47 [00:13<00:32, 1.01it/s]\n 32%|███▏ | 15/47 [00:14<00:31, 1.01it/s]\n 34%|███▍ | 16/47 [00:15<00:30, 1.01it/s]\n 36%|███▌ | 17/47 [00:16<00:29, 1.01it/s]\n 38%|███▊ | 18/47 [00:17<00:28, 1.01it/s]\n 40%|████ | 19/47 [00:18<00:27, 1.01it/s]\n 43%|████▎ | 20/47 [00:19<00:26, 1.01it/s]\n 45%|████▍ | 21/47 [00:20<00:25, 1.01it/s]\n 47%|████▋ | 22/47 [00:21<00:24, 1.01it/s]\n 49%|████▉ | 23/47 [00:22<00:23, 1.01it/s]\n 51%|█████ | 24/47 [00:23<00:22, 1.01it/s]\n 53%|█████▎ | 25/47 [00:24<00:21, 1.01it/s]\n 55%|█████▌ | 26/47 [00:25<00:20, 1.01it/s]\n 57%|█████▋ | 27/47 [00:26<00:19, 1.01it/s]\n 60%|█████▉ | 28/47 [00:27<00:18, 1.01it/s]\n 62%|██████▏ | 29/47 [00:28<00:17, 1.01it/s]\n 64%|██████▍ | 30/47 [00:29<00:16, 1.01it/s]\n 66%|██████▌ | 31/47 [00:30<00:15, 1.01it/s]\n 68%|██████▊ | 32/47 [00:31<00:14, 1.01it/s]\n 70%|███████ | 33/47 [00:32<00:13, 1.01it/s]\n 72%|███████▏ | 34/47 [00:33<00:12, 1.01it/s]\n 74%|███████▍ | 35/47 [00:34<00:11, 1.01it/s]\n 77%|███████▋ | 36/47 [00:35<00:10, 1.01it/s]\n 79%|███████▊ | 37/47 [00:36<00:09, 1.01it/s]\n 81%|████████ | 38/47 [00:37<00:08, 1.01it/s]\n 83%|████████▎ | 39/47 [00:38<00:07, 1.01it/s]\n 85%|████████▌ | 40/47 [00:39<00:06, 1.01it/s]\n 87%|████████▋ | 41/47 [00:40<00:05, 1.01it/s]\n 89%|████████▉ | 42/47 [00:41<00:04, 1.01it/s]\n 91%|█████████▏| 43/47 [00:42<00:03, 1.01it/s]\n 94%|█████████▎| 44/47 [00:43<00:02, 1.01it/s]\n 96%|█████████▌| 45/47 [00:44<00:01, 1.01it/s]\n 98%|█████████▊| 46/47 [00:45<00:00, 1.01it/s]\n100%|██████████| 47/47 [00:46<00:00, 1.01it/s]\n100%|██████████| 47/47 [00:46<00:00, 1.01it/s]\nTotal safe images: 4 out of 4",
"output": [
"https://replicate.delivery/xezq/MpGu5ZsejAzWIa7tfwVfgEPSfSJbYCbJo7Kd8B0Zzfo6mTOlC/out-0.webp",
"https://replicate.delivery/xezq/xeEJWevzhivMs0pSIstLYwGjCJRf8RZSkfIf5ZNzY76eNncKF/out-1.webp",
"https://replicate.delivery/xezq/Fsf3XQJ4LMTcXqDAG2UekpUSYyAGqHi1nK1ZVvkDzMy3cypUA/out-2.webp",
"https://replicate.delivery/xezq/xy51sfGnoD3re0ss4VUpeTUNf7sQkS1XsZM8CM05XJ5fmTOlC/out-3.webp"
],
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-05-06T02:33:39.867Z",
"started_at": "2025-05-06T02:33:39.980193Z",
"completed_at": "2025-05-06T02:34:31.943185Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/1ket2cgq3drm80cpmdrsbf9pnr/cancel",
"get": "https://api.replicate.com/v1/predictions/1ket2cgq3drm80cpmdrsbf9pnr",
"stream": "https://stream.replicate.com/v1/files/bcwr-rkvqlixmyf5sh2xtcvpngvqa2oloxmk3cfolb3zldaak23ohceta",
"web": "https://replicate.com/p/1ket2cgq3drm80cpmdrsbf9pnr"
},
"metrics": {
"predict_time": 51.962991684,
"total_time": 52.076185
}
}


