Readme
This model doesn't have a readme.
3D QR CODE AI ART GENERATOR
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 qr2ai/3d_qr_code_ai_art_generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"qr2ai/3d_qr_code_ai_art_generator:dbd6e68583b30030f872f6aecb091b60979bc80ccfc8d2f03d575383ebbab13f",
{
input: {
seed: 7649977186,
prompt: "3D fairy-tale town, quaint village, charming, picturesque, idyllic, cobblestone streets, storybook, fable, folklore, enchanting",
strength: 0.9,
batch_size: 1,
guidance_scale: 9.5,
negative_prompt: "ugly, disfigured, low quality, blurry, nsfw",
qr_code_content: "https://qr2ai.com",
num_inference_steps: 40,
controlnet_conditioning_scale: 1.3
}
}
);
console.log(output);
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 qr2ai/3d_qr_code_ai_art_generator using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"qr2ai/3d_qr_code_ai_art_generator:dbd6e68583b30030f872f6aecb091b60979bc80ccfc8d2f03d575383ebbab13f",
input={
"seed": 7649977186,
"prompt": "3D fairy-tale town, quaint village, charming, picturesque, idyllic, cobblestone streets, storybook, fable, folklore, enchanting",
"strength": 0.9,
"batch_size": 1,
"guidance_scale": 9.5,
"negative_prompt": "ugly, disfigured, low quality, blurry, nsfw",
"qr_code_content": "https://qr2ai.com",
"num_inference_steps": 40,
"controlnet_conditioning_scale": 1.3
}
)
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 qr2ai/3d_qr_code_ai_art_generator 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": "dbd6e68583b30030f872f6aecb091b60979bc80ccfc8d2f03d575383ebbab13f",
"input": {
"seed": 7649977186,
"prompt": "3D fairy-tale town, quaint village, charming, picturesque, idyllic, cobblestone streets, storybook, fable, folklore, enchanting",
"strength": 0.9,
"batch_size": 1,
"guidance_scale": 9.5,
"negative_prompt": "ugly, disfigured, low quality, blurry, nsfw",
"qr_code_content": "https://qr2ai.com",
"num_inference_steps": 40,
"controlnet_conditioning_scale": 1.3
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/qr2ai/3d_qr_code_ai_art_generator@sha256:dbd6e68583b30030f872f6aecb091b60979bc80ccfc8d2f03d575383ebbab13f \
-i 'seed=7649977186' \
-i 'prompt="3D fairy-tale town, quaint village, charming, picturesque, idyllic, cobblestone streets, storybook, fable, folklore, enchanting"' \
-i 'strength=0.9' \
-i 'batch_size=1' \
-i 'guidance_scale=9.5' \
-i 'negative_prompt="ugly, disfigured, low quality, blurry, nsfw"' \
-i 'qr_code_content="https://qr2ai.com"' \
-i 'num_inference_steps=40' \
-i 'controlnet_conditioning_scale=1.3'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/qr2ai/3d_qr_code_ai_art_generator@sha256:dbd6e68583b30030f872f6aecb091b60979bc80ccfc8d2f03d575383ebbab13f
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "seed": 7649977186, "prompt": "3D fairy-tale town, quaint village, charming, picturesque, idyllic, cobblestone streets, storybook, fable, folklore, enchanting", "strength": 0.9, "batch_size": 1, "guidance_scale": 9.5, "negative_prompt": "ugly, disfigured, low quality, blurry, nsfw", "qr_code_content": "https://qr2ai.com", "num_inference_steps": 40, "controlnet_conditioning_scale": 1.3 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
{
"completed_at": "2023-10-03T15:20:26.851069Z",
"created_at": "2023-10-03T15:20:05.453919Z",
"data_removed": false,
"error": null,
"id": "ck56tdjb23qkhqxbmdlcajkegm",
"input": {
"seed": 7649977186,
"prompt": "3D fairy-tale town, quaint village, charming, picturesque, idyllic, cobblestone streets, storybook, fable, folklore, enchanting",
"strength": 0.9,
"batch_size": 1,
"guidance_scale": 9.5,
"negative_prompt": "ugly, disfigured, low quality, blurry, nsfw",
"qr_code_content": "https://qr2ai.com",
"num_inference_steps": 40,
"controlnet_conditioning_scale": 1.3
},
"logs": "Generating QR Code from content\n 0%| | 0/36 [00:00<?, ?it/s]\n 3%|▎ | 1/36 [00:01<00:36, 1.03s/it]\n 6%|▌ | 2/36 [00:01<00:24, 1.38it/s]\n 8%|▊ | 3/36 [00:02<00:20, 1.58it/s]\n 11%|█ | 4/36 [00:02<00:18, 1.71it/s]\n 14%|█▍ | 5/36 [00:03<00:17, 1.78it/s]\n 17%|█▋ | 6/36 [00:03<00:16, 1.83it/s]\n 19%|█▉ | 7/36 [00:04<00:15, 1.86it/s]\n 22%|██▏ | 8/36 [00:04<00:14, 1.89it/s]\n 25%|██▌ | 9/36 [00:05<00:14, 1.89it/s]\n 28%|██▊ | 10/36 [00:05<00:13, 1.91it/s]\n 31%|███ | 11/36 [00:06<00:13, 1.91it/s]\n 33%|███▎ | 12/36 [00:06<00:12, 1.91it/s]\n 36%|███▌ | 13/36 [00:07<00:12, 1.91it/s]\n 39%|███▉ | 14/36 [00:07<00:11, 1.92it/s]\n 42%|████▏ | 15/36 [00:08<00:10, 1.92it/s]\n 44%|████▍ | 16/36 [00:08<00:10, 1.92it/s]\n 47%|████▋ | 17/36 [00:09<00:09, 1.91it/s]\n 50%|█████ | 18/36 [00:09<00:09, 1.91it/s]\n 53%|█████▎ | 19/36 [00:10<00:08, 1.91it/s]\n 56%|█████▌ | 20/36 [00:10<00:08, 1.92it/s]\n 58%|█████▊ | 21/36 [00:11<00:07, 1.91it/s]\n 61%|██████ | 22/36 [00:11<00:07, 1.91it/s]\n 64%|██████▍ | 23/36 [00:12<00:06, 1.91it/s]\n 67%|██████▋ | 24/36 [00:13<00:06, 1.91it/s]\n 69%|██████▉ | 25/36 [00:13<00:05, 1.91it/s]\n 72%|███████▏ | 26/36 [00:14<00:05, 1.90it/s]\n 75%|███████▌ | 27/36 [00:14<00:04, 1.90it/s]\n 78%|███████▊ | 28/36 [00:15<00:04, 1.90it/s]\n 81%|████████ | 29/36 [00:15<00:03, 1.90it/s]\n 83%|████████▎ | 30/36 [00:16<00:03, 1.90it/s]\n 86%|████████▌ | 31/36 [00:16<00:02, 1.90it/s]\n 89%|████████▉ | 32/36 [00:17<00:02, 1.89it/s]\n 92%|█████████▏| 33/36 [00:17<00:01, 1.89it/s]\n 94%|█████████▍| 34/36 [00:18<00:01, 1.90it/s]\n 97%|█████████▋| 35/36 [00:18<00:00, 1.89it/s]\n100%|██████████| 36/36 [00:19<00:00, 1.89it/s]\n100%|██████████| 36/36 [00:19<00:00, 1.86it/s]",
"metrics": {
"predict_time": 21.419276,
"total_time": 21.39715
},
"output": [
"https://replicate.delivery/pbxt/SDHaIeSEIRSfr0Z26H84wtZurC2QufbY303pyrTkcf2qz4pGB/output-0.png"
],
"started_at": "2023-10-03T15:20:05.431793Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/ck56tdjb23qkhqxbmdlcajkegm",
"cancel": "https://api.replicate.com/v1/predictions/ck56tdjb23qkhqxbmdlcajkegm/cancel"
},
"version": "31c347e84342832ce7647daee2c084a0e0cd0669f5de15c7280f6cefd9146ea5"
}
Generating QR Code from content
0%| | 0/36 [00:00<?, ?it/s]
3%|▎ | 1/36 [00:01<00:36, 1.03s/it]
6%|▌ | 2/36 [00:01<00:24, 1.38it/s]
8%|▊ | 3/36 [00:02<00:20, 1.58it/s]
11%|█ | 4/36 [00:02<00:18, 1.71it/s]
14%|█▍ | 5/36 [00:03<00:17, 1.78it/s]
17%|█▋ | 6/36 [00:03<00:16, 1.83it/s]
19%|█▉ | 7/36 [00:04<00:15, 1.86it/s]
22%|██▏ | 8/36 [00:04<00:14, 1.89it/s]
25%|██▌ | 9/36 [00:05<00:14, 1.89it/s]
28%|██▊ | 10/36 [00:05<00:13, 1.91it/s]
31%|███ | 11/36 [00:06<00:13, 1.91it/s]
33%|███▎ | 12/36 [00:06<00:12, 1.91it/s]
36%|███▌ | 13/36 [00:07<00:12, 1.91it/s]
39%|███▉ | 14/36 [00:07<00:11, 1.92it/s]
42%|████▏ | 15/36 [00:08<00:10, 1.92it/s]
44%|████▍ | 16/36 [00:08<00:10, 1.92it/s]
47%|████▋ | 17/36 [00:09<00:09, 1.91it/s]
50%|█████ | 18/36 [00:09<00:09, 1.91it/s]
53%|█████▎ | 19/36 [00:10<00:08, 1.91it/s]
56%|█████▌ | 20/36 [00:10<00:08, 1.92it/s]
58%|█████▊ | 21/36 [00:11<00:07, 1.91it/s]
61%|██████ | 22/36 [00:11<00:07, 1.91it/s]
64%|██████▍ | 23/36 [00:12<00:06, 1.91it/s]
67%|██████▋ | 24/36 [00:13<00:06, 1.91it/s]
69%|██████▉ | 25/36 [00:13<00:05, 1.91it/s]
72%|███████▏ | 26/36 [00:14<00:05, 1.90it/s]
75%|███████▌ | 27/36 [00:14<00:04, 1.90it/s]
78%|███████▊ | 28/36 [00:15<00:04, 1.90it/s]
81%|████████ | 29/36 [00:15<00:03, 1.90it/s]
83%|████████▎ | 30/36 [00:16<00:03, 1.90it/s]
86%|████████▌ | 31/36 [00:16<00:02, 1.90it/s]
89%|████████▉ | 32/36 [00:17<00:02, 1.89it/s]
92%|█████████▏| 33/36 [00:17<00:01, 1.89it/s]
94%|█████████▍| 34/36 [00:18<00:01, 1.90it/s]
97%|█████████▋| 35/36 [00:18<00:00, 1.89it/s]
100%|██████████| 36/36 [00:19<00:00, 1.89it/s]
100%|██████████| 36/36 [00:19<00:00, 1.86it/s]
This example was created by a different version, qr2ai/3d_qr_code_ai_art_generator:31c347e8.
This model runs on Nvidia T4 GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.
This model is cold. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
Generating QR Code from content
0%| | 0/36 [00:00<?, ?it/s]
3%|▎ | 1/36 [00:01<00:36, 1.03s/it]
6%|▌ | 2/36 [00:01<00:24, 1.38it/s]
8%|▊ | 3/36 [00:02<00:20, 1.58it/s]
11%|█ | 4/36 [00:02<00:18, 1.71it/s]
14%|█▍ | 5/36 [00:03<00:17, 1.78it/s]
17%|█▋ | 6/36 [00:03<00:16, 1.83it/s]
19%|█▉ | 7/36 [00:04<00:15, 1.86it/s]
22%|██▏ | 8/36 [00:04<00:14, 1.89it/s]
25%|██▌ | 9/36 [00:05<00:14, 1.89it/s]
28%|██▊ | 10/36 [00:05<00:13, 1.91it/s]
31%|███ | 11/36 [00:06<00:13, 1.91it/s]
33%|███▎ | 12/36 [00:06<00:12, 1.91it/s]
36%|███▌ | 13/36 [00:07<00:12, 1.91it/s]
39%|███▉ | 14/36 [00:07<00:11, 1.92it/s]
42%|████▏ | 15/36 [00:08<00:10, 1.92it/s]
44%|████▍ | 16/36 [00:08<00:10, 1.92it/s]
47%|████▋ | 17/36 [00:09<00:09, 1.91it/s]
50%|█████ | 18/36 [00:09<00:09, 1.91it/s]
53%|█████▎ | 19/36 [00:10<00:08, 1.91it/s]
56%|█████▌ | 20/36 [00:10<00:08, 1.92it/s]
58%|█████▊ | 21/36 [00:11<00:07, 1.91it/s]
61%|██████ | 22/36 [00:11<00:07, 1.91it/s]
64%|██████▍ | 23/36 [00:12<00:06, 1.91it/s]
67%|██████▋ | 24/36 [00:13<00:06, 1.91it/s]
69%|██████▉ | 25/36 [00:13<00:05, 1.91it/s]
72%|███████▏ | 26/36 [00:14<00:05, 1.90it/s]
75%|███████▌ | 27/36 [00:14<00:04, 1.90it/s]
78%|███████▊ | 28/36 [00:15<00:04, 1.90it/s]
81%|████████ | 29/36 [00:15<00:03, 1.90it/s]
83%|████████▎ | 30/36 [00:16<00:03, 1.90it/s]
86%|████████▌ | 31/36 [00:16<00:02, 1.90it/s]
89%|████████▉ | 32/36 [00:17<00:02, 1.89it/s]
92%|█████████▏| 33/36 [00:17<00:01, 1.89it/s]
94%|█████████▍| 34/36 [00:18<00:01, 1.90it/s]
97%|█████████▋| 35/36 [00:18<00:00, 1.89it/s]
100%|██████████| 36/36 [00:19<00:00, 1.89it/s]
100%|██████████| 36/36 [00:19<00:00, 1.86it/s]