typetext
{
"aspect_ratio": "16:9",
"extra_lora_scale": 1,
"guidance_scale": 3.5,
"lora_scale": 1,
"model": "dev",
"num_inference_steps": 28,
"num_outputs": 4,
"output_format": "png",
"output_quality": 100,
"prompt": "\"A dramatic, cinematic shot of mikraz as Batman standing on a gargoyle high atop a Gotham City skyscraper. The cape billows ominously in the wind, framing the figure against a brooding night sky. Gotham City sprawls below, a maze of shadowy buildings punctuated by dim, flickering lights and swirling fog. The image focuses sharply on Batman's face, which is clearly visible and recognizable as the user's own features, despite the iconic cowl. The lower half of the face is exposed, showing a determined expression, while the eyes are visible through the mask's eyeholes, conveying intensity and vigilance. Moonlight strategically illuminates the face, highlighting familiar contours and expressions. The Batsuit is detailed and textured, mixing kevlar-like material with armored plates, all in deep blacks and dark grays. The background showcases Gotham's gothic architecture, with gargoyles, spires, and Art Deco elements visible in the skyline. Sparse, eerie lighting from the city below casts long shadows and creates a foreboding atmosphere. The overall color palette is dark and muted, dominated by blacks, grays, and deep blues, with occasional flashes of yellow from distant windows or a glimpse of the Bat-signal in the cloudy sky.\"",
"prompt_strength": 0.8
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_Auf**********************************
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 mikraz/mik79 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"mikraz/mik79:df608d21bcd397e4a24643337023078117709937e1dac64b539e11a7a173193f",
{
input: {
aspect_ratio: "16:9",
extra_lora_scale: 1,
guidance_scale: 3.5,
lora_scale: 1,
model: "dev",
num_inference_steps: 28,
num_outputs: 4,
output_format: "png",
output_quality: 100,
prompt: "\"A dramatic, cinematic shot of mikraz as Batman standing on a gargoyle high atop a Gotham City skyscraper. The cape billows ominously in the wind, framing the figure against a brooding night sky. Gotham City sprawls below, a maze of shadowy buildings punctuated by dim, flickering lights and swirling fog. The image focuses sharply on Batman's face, which is clearly visible and recognizable as the user's own features, despite the iconic cowl. The lower half of the face is exposed, showing a determined expression, while the eyes are visible through the mask's eyeholes, conveying intensity and vigilance. Moonlight strategically illuminates the face, highlighting familiar contours and expressions. The Batsuit is detailed and textured, mixing kevlar-like material with armored plates, all in deep blacks and dark grays. The background showcases Gotham's gothic architecture, with gargoyles, spires, and Art Deco elements visible in the skyline. Sparse, eerie lighting from the city below casts long shadows and creates a foreboding atmosphere. The overall color palette is dark and muted, dominated by blacks, grays, and deep blues, with occasional flashes of yellow from distant windows or a glimpse of the Bat-signal in the cloudy sky.\"",
prompt_strength: 0.8
}
}
);
// 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_Auf**********************************
This is your API token. Keep it to yourself.
import replicate
Run mikraz/mik79 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"mikraz/mik79:df608d21bcd397e4a24643337023078117709937e1dac64b539e11a7a173193f",
input={
"aspect_ratio": "16:9",
"extra_lora_scale": 1,
"guidance_scale": 3.5,
"lora_scale": 1,
"model": "dev",
"num_inference_steps": 28,
"num_outputs": 4,
"output_format": "png",
"output_quality": 100,
"prompt": "\"A dramatic, cinematic shot of mikraz as Batman standing on a gargoyle high atop a Gotham City skyscraper. The cape billows ominously in the wind, framing the figure against a brooding night sky. Gotham City sprawls below, a maze of shadowy buildings punctuated by dim, flickering lights and swirling fog. The image focuses sharply on Batman's face, which is clearly visible and recognizable as the user's own features, despite the iconic cowl. The lower half of the face is exposed, showing a determined expression, while the eyes are visible through the mask's eyeholes, conveying intensity and vigilance. Moonlight strategically illuminates the face, highlighting familiar contours and expressions. The Batsuit is detailed and textured, mixing kevlar-like material with armored plates, all in deep blacks and dark grays. The background showcases Gotham's gothic architecture, with gargoyles, spires, and Art Deco elements visible in the skyline. Sparse, eerie lighting from the city below casts long shadows and creates a foreboding atmosphere. The overall color palette is dark and muted, dominated by blacks, grays, and deep blues, with occasional flashes of yellow from distant windows or a glimpse of the Bat-signal in the cloudy sky.\"",
"prompt_strength": 0.8
}
)
# 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_Auf**********************************
This is your API token. Keep it to yourself.
Run mikraz/mik79 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": "mikraz/mik79:df608d21bcd397e4a24643337023078117709937e1dac64b539e11a7a173193f",
"input": {
"aspect_ratio": "16:9",
"extra_lora_scale": 1,
"guidance_scale": 3.5,
"lora_scale": 1,
"model": "dev",
"num_inference_steps": 28,
"num_outputs": 4,
"output_format": "png",
"output_quality": 100,
"prompt": "\\"A dramatic, cinematic shot of mikraz as Batman standing on a gargoyle high atop a Gotham City skyscraper. The cape billows ominously in the wind, framing the figure against a brooding night sky. Gotham City sprawls below, a maze of shadowy buildings punctuated by dim, flickering lights and swirling fog. The image focuses sharply on Batman\'s face, which is clearly visible and recognizable as the user\'s own features, despite the iconic cowl. The lower half of the face is exposed, showing a determined expression, while the eyes are visible through the mask\'s eyeholes, conveying intensity and vigilance. Moonlight strategically illuminates the face, highlighting familiar contours and expressions. The Batsuit is detailed and textured, mixing kevlar-like material with armored plates, all in deep blacks and dark grays. The background showcases Gotham\'s gothic architecture, with gargoyles, spires, and Art Deco elements visible in the skyline. Sparse, eerie lighting from the city below casts long shadows and creates a foreboding atmosphere. The overall color palette is dark and muted, dominated by blacks, grays, and deep blues, with occasional flashes of yellow from distant windows or a glimpse of the Bat-signal in the cloudy sky.\\"",
"prompt_strength": 0.8
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "j1x26w306hrm60cjbghvfcycd4",
"model": "mikraz/mik79",
"version": "df608d21bcd397e4a24643337023078117709937e1dac64b539e11a7a173193f",
"input": {
"aspect_ratio": "16:9",
"extra_lora_scale": 1,
"guidance_scale": 3.5,
"lora_scale": 1,
"model": "dev",
"num_inference_steps": 28,
"num_outputs": 4,
"output_format": "png",
"output_quality": 100,
"prompt": "\"A dramatic, cinematic shot of mikraz as Batman standing on a gargoyle high atop a Gotham City skyscraper. The cape billows ominously in the wind, framing the figure against a brooding night sky. Gotham City sprawls below, a maze of shadowy buildings punctuated by dim, flickering lights and swirling fog. The image focuses sharply on Batman's face, which is clearly visible and recognizable as the user's own features, despite the iconic cowl. The lower half of the face is exposed, showing a determined expression, while the eyes are visible through the mask's eyeholes, conveying intensity and vigilance. Moonlight strategically illuminates the face, highlighting familiar contours and expressions. The Batsuit is detailed and textured, mixing kevlar-like material with armored plates, all in deep blacks and dark grays. The background showcases Gotham's gothic architecture, with gargoyles, spires, and Art Deco elements visible in the skyline. Sparse, eerie lighting from the city below casts long shadows and creates a foreboding atmosphere. The overall color palette is dark and muted, dominated by blacks, grays, and deep blues, with occasional flashes of yellow from distant windows or a glimpse of the Bat-signal in the cloudy sky.\"",
"prompt_strength": 0.8
},
"logs": "Using seed: 10583\nPrompt: \"A dramatic, cinematic shot of mikraz as Batman standing on a gargoyle high atop a Gotham City skyscraper. The cape billows ominously in the wind, framing the figure against a brooding night sky. Gotham City sprawls below, a maze of shadowy buildings punctuated by dim, flickering lights and swirling fog. The image focuses sharply on Batman's face, which is clearly visible and recognizable as the user's own features, despite the iconic cowl. The lower half of the face is exposed, showing a determined expression, while the eyes are visible through the mask's eyeholes, conveying intensity and vigilance. Moonlight strategically illuminates the face, highlighting familiar contours and expressions. The Batsuit is detailed and textured, mixing kevlar-like material with armored plates, all in deep blacks and dark grays. The background showcases Gotham's gothic architecture, with gargoyles, spires, and Art Deco elements visible in the skyline. Sparse, eerie lighting from the city below casts long shadows and creates a foreboding atmosphere. The overall color palette is dark and muted, dominated by blacks, grays, and deep blues, with occasional flashes of yellow from distant windows or a glimpse of the Bat-signal in the cloudy sky.\"\n[!] txt2img mode\nUsing dev model\nfree=9021607534592\nDownloading weights\n2024-10-05T10:04:35Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9074dfww/weights url=https://replicate.delivery/yhqm/rvaf8KSGJIVSbSKJ66KyshH2174nk4YWahWIbqtg6NpSlXxJA/trained_model.tar\n2024-10-05T10:04:36Z | INFO | [ Complete ] dest=/tmp/tmp9074dfww/weights size=\"172 MB\" total_elapsed=1.308s url=https://replicate.delivery/yhqm/rvaf8KSGJIVSbSKJ66KyshH2174nk4YWahWIbqtg6NpSlXxJA/trained_model.tar\nDownloaded weights in 1.34s\nLoaded LoRAs in 2.04s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:34, 1.27s/it]\n 7%|▋ | 2/28 [00:02<00:29, 1.14s/it]\n 11%|█ | 3/28 [00:03<00:30, 1.20s/it]\n 14%|█▍ | 4/28 [00:04<00:29, 1.23s/it]\n 18%|█▊ | 5/28 [00:06<00:28, 1.24s/it]\n 21%|██▏ | 6/28 [00:07<00:27, 1.25s/it]\n 25%|██▌ | 7/28 [00:08<00:26, 1.26s/it]\n 29%|██▊ | 8/28 [00:09<00:25, 1.26s/it]\n 32%|███▏ | 9/28 [00:11<00:24, 1.26s/it]\n 36%|███▌ | 10/28 [00:12<00:22, 1.27s/it]\n 39%|███▉ | 11/28 [00:13<00:21, 1.27s/it]\n 43%|████▎ | 12/28 [00:15<00:20, 1.27s/it]\n 46%|████▋ | 13/28 [00:16<00:19, 1.27s/it]\n 50%|█████ | 14/28 [00:17<00:17, 1.27s/it]\n 54%|█████▎ | 15/28 [00:18<00:16, 1.27s/it]\n 57%|█████▋ | 16/28 [00:20<00:15, 1.27s/it]\n 61%|██████ | 17/28 [00:21<00:13, 1.27s/it]\n 64%|██████▍ | 18/28 [00:22<00:12, 1.27s/it]\n 68%|██████▊ | 19/28 [00:23<00:11, 1.27s/it]\n 71%|███████▏ | 20/28 [00:25<00:10, 1.27s/it]\n 75%|███████▌ | 21/28 [00:26<00:08, 1.27s/it]\n 79%|███████▊ | 22/28 [00:27<00:07, 1.27s/it]\n 82%|████████▏ | 23/28 [00:29<00:06, 1.27s/it]\n 86%|████████▌ | 24/28 [00:30<00:05, 1.27s/it]\n 89%|████████▉ | 25/28 [00:31<00:03, 1.27s/it]\n 93%|█████████▎| 26/28 [00:32<00:02, 1.27s/it]\n 96%|█████████▋| 27/28 [00:34<00:01, 1.27s/it]\n100%|██████████| 28/28 [00:35<00:00, 1.27s/it]\n100%|██████████| 28/28 [00:35<00:00, 1.26s/it]",
"output": [
"https://replicate.delivery/yhqm/lRaKGJOnL8r2MhqNGY9nRdlwWLWLLYvQkltGZ3X14w0WB74E/out-0.png",
"https://replicate.delivery/yhqm/omCe71RBLSUXdKj6j5tpaaICupb09bUgr7jYq5QDIBntC2xJA/out-1.png",
"https://replicate.delivery/yhqm/n1LCfPvRn6UHIyXNQxyRiSPZl4Nt3JJ5tYJ7zCOMaZ9tC2xJA/out-2.png",
"https://replicate.delivery/yhqm/fdj1eQuFu0qxb0g8AWtmnPeh8pLamSblip3kDpd2CekvVwOOB/out-3.png"
],
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2024-10-05T10:04:35.252Z",
"started_at": "2024-10-05T10:04:35.262686Z",
"completed_at": "2024-10-05T10:05:15.27253Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/j1x26w306hrm60cjbghvfcycd4/cancel",
"get": "https://api.replicate.com/v1/predictions/j1x26w306hrm60cjbghvfcycd4",
"web": "https://replicate.com/p/j1x26w306hrm60cjbghvfcycd4"
},
"metrics": {
"predict_time": 40.009844129,
"total_time": 40.02053
}
}


