You're looking at a specific version of this model. Jump to the model overview.
ori299 /mc-thumbnails-v1:35a4af35
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 ori299/mc-thumbnails-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"ori299/mc-thumbnails-v1:35a4af359d251a502e7f72eac8bab16ad23718650f4ad0690701dc40681f4cf0",
{
input: {
model: "dev",
prompt: "Create a TOK featuring a split scene that contrasts a miner with coal marks on his face and a wealthy individual holding emeralds.\n\n**Left Side:**\nDepict a blocky Minecraft miner in a rugged, pixelated cave. The miner, wearing a blocky helmet and pickaxe, has distinct coal marks on his face, showing the hard work and grime of mining. Surround him with blocky stone, ores, and mining tools. Add details like mining carts and lanterns to capture the miner’s environment.\n\n**Right Side:**\nIllustrate a blocky, well-dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. This character should have a blocky, exaggerated appearance to emphasize his wealth. He is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. Surround him with other pixelated riches, like gold and diamonds, to highlight his opulence.\n\nEnsure the TOK clearly contrasts the miner’s hard, dirty work with the wealthy individual's abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style.",
go_fast: false,
lora_scale: 1,
megapixels: "1",
num_outputs: 3,
aspect_ratio: "16:9",
output_format: "png",
guidance_scale: 3.5,
output_quality: 80,
prompt_strength: 0.8,
extra_lora_scale: 0.8,
num_inference_steps: 29
}
}
);
// 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 ori299/mc-thumbnails-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"ori299/mc-thumbnails-v1:35a4af359d251a502e7f72eac8bab16ad23718650f4ad0690701dc40681f4cf0",
input={
"model": "dev",
"prompt": "Create a TOK featuring a split scene that contrasts a miner with coal marks on his face and a wealthy individual holding emeralds.\n\n**Left Side:**\nDepict a blocky Minecraft miner in a rugged, pixelated cave. The miner, wearing a blocky helmet and pickaxe, has distinct coal marks on his face, showing the hard work and grime of mining. Surround him with blocky stone, ores, and mining tools. Add details like mining carts and lanterns to capture the miner’s environment.\n\n**Right Side:**\nIllustrate a blocky, well-dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. This character should have a blocky, exaggerated appearance to emphasize his wealth. He is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. Surround him with other pixelated riches, like gold and diamonds, to highlight his opulence.\n\nEnsure the TOK clearly contrasts the miner’s hard, dirty work with the wealthy individual's abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style.",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 3,
"aspect_ratio": "16:9",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 0.8,
"num_inference_steps": 29
}
)
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 ori299/mc-thumbnails-v1 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": "ori299/mc-thumbnails-v1:35a4af359d251a502e7f72eac8bab16ad23718650f4ad0690701dc40681f4cf0",
"input": {
"model": "dev",
"prompt": "Create a TOK featuring a split scene that contrasts a miner with coal marks on his face and a wealthy individual holding emeralds.\\n\\n**Left Side:**\\nDepict a blocky Minecraft miner in a rugged, pixelated cave. The miner, wearing a blocky helmet and pickaxe, has distinct coal marks on his face, showing the hard work and grime of mining. Surround him with blocky stone, ores, and mining tools. Add details like mining carts and lanterns to capture the miner’s environment.\\n\\n**Right Side:**\\nIllustrate a blocky, well-dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. This character should have a blocky, exaggerated appearance to emphasize his wealth. He is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. Surround him with other pixelated riches, like gold and diamonds, to highlight his opulence.\\n\\nEnsure the TOK clearly contrasts the miner’s hard, dirty work with the wealthy individual\'s abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style.",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 3,
"aspect_ratio": "16:9",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 0.8,
"num_inference_steps": 29
}
}' \
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-09-01T18:35:41.713348Z",
"created_at": "2024-09-01T18:35:02.314000Z",
"data_removed": false,
"error": null,
"id": "g1qrqw3x59rm20chnvf9xztrtc",
"input": {
"model": "dev",
"prompt": "Create a TOK featuring a split scene that contrasts a miner with coal marks on his face and a wealthy individual holding emeralds.\n\n**Left Side:**\nDepict a blocky Minecraft miner in a rugged, pixelated cave. The miner, wearing a blocky helmet and pickaxe, has distinct coal marks on his face, showing the hard work and grime of mining. Surround him with blocky stone, ores, and mining tools. Add details like mining carts and lanterns to capture the miner’s environment.\n\n**Right Side:**\nIllustrate a blocky, well-dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. This character should have a blocky, exaggerated appearance to emphasize his wealth. He is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. Surround him with other pixelated riches, like gold and diamonds, to highlight his opulence.\n\nEnsure the TOK clearly contrasts the miner’s hard, dirty work with the wealthy individual's abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style.",
"lora_scale": 1,
"num_outputs": 3,
"aspect_ratio": "16:9",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 80,
"extra_lora_scale": 0.8,
"num_inference_steps": 29
},
"logs": "Using seed: 21449\nPrompt: Create a TOK featuring a split scene that contrasts a miner with coal marks on his face and a wealthy individual holding emeralds.\n**Left Side:**\nDepict a blocky Minecraft miner in a rugged, pixelated cave. The miner, wearing a blocky helmet and pickaxe, has distinct coal marks on his face, showing the hard work and grime of mining. Surround him with blocky stone, ores, and mining tools. Add details like mining carts and lanterns to capture the miner’s environment.\n**Right Side:**\nIllustrate a blocky, well-dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. This character should have a blocky, exaggerated appearance to emphasize his wealth. He is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. Surround him with other pixelated riches, like gold and diamonds, to highlight his opulence.\nEnsure the TOK clearly contrasts the miner’s hard, dirty work with the wealthy individual's abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style.\ntxt2img mode\nUsing dev model\nfree=9490923008000\nDownloading weights\n2024-09-01T18:35:02Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzc5wof9e/weights url=https://replicate.delivery/yhqm/Pk9VqajjHNpeCqhq9r1wvvhW6fNo4TehVbfRGraiwEQ0dXiNB/trained_model.tar\n2024-09-01T18:35:04Z | INFO | [ Complete ] dest=/tmp/tmpzc5wof9e/weights size=\"301 MB\" total_elapsed=1.601s url=https://replicate.delivery/yhqm/Pk9VqajjHNpeCqhq9r1wvvhW6fNo4TehVbfRGraiwEQ0dXiNB/trained_model.tar\nDownloaded weights in 1.64s\nLoaded LoRAs in 14.76s\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [\". surround him with blocky stone, ores, and mining tools. add details like mining carts and lanterns to capture the miner's environment. ** right side :** illustrate a blocky, well - dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. this character should have a blocky, exaggerated appearance to emphasize his wealth. he is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. surround him with other pixelated riches, like gold and diamonds, to highlight his opulence. ensure the tok clearly contrasts the miner's hard, dirty work with the wealthy individual's abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style.\", \". surround him with blocky stone, ores, and mining tools. add details like mining carts and lanterns to capture the miner's environment. ** right side :** illustrate a blocky, well - dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. this character should have a blocky, exaggerated appearance to emphasize his wealth. he is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. surround him with other pixelated riches, like gold and diamonds, to highlight his opulence. ensure the tok clearly contrasts the miner's hard, dirty work with the wealthy individual's abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style.\", \". surround him with blocky stone, ores, and mining tools. add details like mining carts and lanterns to capture the miner's environment. ** right side :** illustrate a blocky, well - dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. this character should have a blocky, exaggerated appearance to emphasize his wealth. he is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. surround him with other pixelated riches, like gold and diamonds, to highlight his opulence. ensure the tok clearly contrasts the miner's hard, dirty work with the wealthy individual's abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style.\"]\n 0%| | 0/29 [00:00<?, ?it/s]\n 3%|▎ | 1/29 [00:00<00:21, 1.30it/s]\n 7%|▋ | 2/29 [00:01<00:18, 1.50it/s]\n 10%|█ | 3/29 [00:02<00:18, 1.39it/s]\n 14%|█▍ | 4/29 [00:02<00:18, 1.35it/s]\n 17%|█▋ | 5/29 [00:03<00:18, 1.33it/s]\n 21%|██ | 6/29 [00:04<00:17, 1.32it/s]\n 24%|██▍ | 7/29 [00:05<00:16, 1.31it/s]\n 28%|██▊ | 8/29 [00:06<00:16, 1.30it/s]\n 31%|███ | 9/29 [00:06<00:15, 1.30it/s]\n 34%|███▍ | 10/29 [00:07<00:14, 1.30it/s]\n 38%|███▊ | 11/29 [00:08<00:13, 1.29it/s]\n 41%|████▏ | 12/29 [00:09<00:13, 1.29it/s]\n 45%|████▍ | 13/29 [00:09<00:12, 1.29it/s]\n 48%|████▊ | 14/29 [00:10<00:11, 1.29it/s]\n 52%|█████▏ | 15/29 [00:11<00:10, 1.29it/s]\n 55%|█████▌ | 16/29 [00:12<00:10, 1.29it/s]\n 59%|█████▊ | 17/29 [00:12<00:09, 1.29it/s]\n 62%|██████▏ | 18/29 [00:13<00:08, 1.29it/s]\n 66%|██████▌ | 19/29 [00:14<00:07, 1.29it/s]\n 69%|██████▉ | 20/29 [00:15<00:06, 1.29it/s]\n 72%|███████▏ | 21/29 [00:16<00:06, 1.29it/s]\n 76%|███████▌ | 22/29 [00:16<00:05, 1.29it/s]\n 79%|███████▉ | 23/29 [00:17<00:04, 1.29it/s]\n 83%|████████▎ | 24/29 [00:18<00:03, 1.29it/s]\n 86%|████████▌ | 25/29 [00:19<00:03, 1.29it/s]\n 90%|████████▉ | 26/29 [00:20<00:02, 1.29it/s]\n 93%|█████████▎| 27/29 [00:20<00:01, 1.28it/s]\n 97%|█████████▋| 28/29 [00:21<00:00, 1.28it/s]\n100%|██████████| 29/29 [00:22<00:00, 1.28it/s]\n100%|██████████| 29/29 [00:22<00:00, 1.30it/s]",
"metrics": {
"predict_time": 39.391514052,
"total_time": 39.399348
},
"output": [
"https://replicate.delivery/yhqm/BbzmFCSeOSTwLqWofLlL7TerrkdFP8SdANwcljdOS4I6vMxmA/out-0.png",
"https://replicate.delivery/yhqm/flxACDA1xH0fjk8SvgbwJmJWf1XfJ0gDclzPBw22zfztflJ2E/out-1.png",
"https://replicate.delivery/yhqm/EcTheupsH5xbCShlnfJsLuVemCtKmdpdxY7d9unlddv7vMxmA/out-2.png"
],
"started_at": "2024-09-01T18:35:02.321834Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/g1qrqw3x59rm20chnvf9xztrtc",
"cancel": "https://api.replicate.com/v1/predictions/g1qrqw3x59rm20chnvf9xztrtc/cancel"
},
"version": "35a4af359d251a502e7f72eac8bab16ad23718650f4ad0690701dc40681f4cf0"
}
Using seed: 21449
Prompt: Create a TOK featuring a split scene that contrasts a miner with coal marks on his face and a wealthy individual holding emeralds.
**Left Side:**
Depict a blocky Minecraft miner in a rugged, pixelated cave. The miner, wearing a blocky helmet and pickaxe, has distinct coal marks on his face, showing the hard work and grime of mining. Surround him with blocky stone, ores, and mining tools. Add details like mining carts and lanterns to capture the miner’s environment.
**Right Side:**
Illustrate a blocky, well-dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. This character should have a blocky, exaggerated appearance to emphasize his wealth. He is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. Surround him with other pixelated riches, like gold and diamonds, to highlight his opulence.
Ensure the TOK clearly contrasts the miner’s hard, dirty work with the wealthy individual's abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style.
txt2img mode
Using dev model
free=9490923008000
Downloading weights
2024-09-01T18:35:02Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzc5wof9e/weights url=https://replicate.delivery/yhqm/Pk9VqajjHNpeCqhq9r1wvvhW6fNo4TehVbfRGraiwEQ0dXiNB/trained_model.tar
2024-09-01T18:35:04Z | INFO | [ Complete ] dest=/tmp/tmpzc5wof9e/weights size="301 MB" total_elapsed=1.601s url=https://replicate.delivery/yhqm/Pk9VqajjHNpeCqhq9r1wvvhW6fNo4TehVbfRGraiwEQ0dXiNB/trained_model.tar
Downloaded weights in 1.64s
Loaded LoRAs in 14.76s
The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [". surround him with blocky stone, ores, and mining tools. add details like mining carts and lanterns to capture the miner's environment. ** right side :** illustrate a blocky, well - dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. this character should have a blocky, exaggerated appearance to emphasize his wealth. he is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. surround him with other pixelated riches, like gold and diamonds, to highlight his opulence. ensure the tok clearly contrasts the miner's hard, dirty work with the wealthy individual's abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style.", ". surround him with blocky stone, ores, and mining tools. add details like mining carts and lanterns to capture the miner's environment. ** right side :** illustrate a blocky, well - dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. this character should have a blocky, exaggerated appearance to emphasize his wealth. he is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. surround him with other pixelated riches, like gold and diamonds, to highlight his opulence. ensure the tok clearly contrasts the miner's hard, dirty work with the wealthy individual's abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style.", ". surround him with blocky stone, ores, and mining tools. add details like mining carts and lanterns to capture the miner's environment. ** right side :** illustrate a blocky, well - dressed man in a lavish, pixelated setting, such as a grand room or a treasure vault. this character should have a blocky, exaggerated appearance to emphasize his wealth. he is holding a large stack of emeralds, which are brightly colored and stand out against the rich background. surround him with other pixelated riches, like gold and diamonds, to highlight his opulence. ensure the tok clearly contrasts the miner's hard, dirty work with the wealthy individual's abundance of emeralds, emphasizing the difference between effort and reward in a blocky, pixelated style."]
0%| | 0/29 [00:00<?, ?it/s]
3%|▎ | 1/29 [00:00<00:21, 1.30it/s]
7%|▋ | 2/29 [00:01<00:18, 1.50it/s]
10%|█ | 3/29 [00:02<00:18, 1.39it/s]
14%|█▍ | 4/29 [00:02<00:18, 1.35it/s]
17%|█▋ | 5/29 [00:03<00:18, 1.33it/s]
21%|██ | 6/29 [00:04<00:17, 1.32it/s]
24%|██▍ | 7/29 [00:05<00:16, 1.31it/s]
28%|██▊ | 8/29 [00:06<00:16, 1.30it/s]
31%|███ | 9/29 [00:06<00:15, 1.30it/s]
34%|███▍ | 10/29 [00:07<00:14, 1.30it/s]
38%|███▊ | 11/29 [00:08<00:13, 1.29it/s]
41%|████▏ | 12/29 [00:09<00:13, 1.29it/s]
45%|████▍ | 13/29 [00:09<00:12, 1.29it/s]
48%|████▊ | 14/29 [00:10<00:11, 1.29it/s]
52%|█████▏ | 15/29 [00:11<00:10, 1.29it/s]
55%|█████▌ | 16/29 [00:12<00:10, 1.29it/s]
59%|█████▊ | 17/29 [00:12<00:09, 1.29it/s]
62%|██████▏ | 18/29 [00:13<00:08, 1.29it/s]
66%|██████▌ | 19/29 [00:14<00:07, 1.29it/s]
69%|██████▉ | 20/29 [00:15<00:06, 1.29it/s]
72%|███████▏ | 21/29 [00:16<00:06, 1.29it/s]
76%|███████▌ | 22/29 [00:16<00:05, 1.29it/s]
79%|███████▉ | 23/29 [00:17<00:04, 1.29it/s]
83%|████████▎ | 24/29 [00:18<00:03, 1.29it/s]
86%|████████▌ | 25/29 [00:19<00:03, 1.29it/s]
90%|████████▉ | 26/29 [00:20<00:02, 1.29it/s]
93%|█████████▎| 27/29 [00:20<00:01, 1.28it/s]
97%|█████████▋| 28/29 [00:21<00:00, 1.28it/s]
100%|██████████| 29/29 [00:22<00:00, 1.28it/s]
100%|██████████| 29/29 [00:22<00:00, 1.30it/s]