Readme
This model doesn't have a readme.
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";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run growthmkt/prompt using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"growthmkt/prompt:0bd71ecf23dd8a324dfdc40041dff97e3f3675817522a60dc8c5f40506a020ab",
{
input: {
prompt: "photo of an Indian woman, with a rich, dark, braided hair, practicing yoga, full body framing, in a serene outdoor setting, under bounced light, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face",
resolution: "1024 x 1024 (square)",
style_of_shoot: "ads-fashion editorial"
}
}
);
// To access the file URL:
console.log(output.url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", 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 growthmkt/prompt using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"growthmkt/prompt:0bd71ecf23dd8a324dfdc40041dff97e3f3675817522a60dc8c5f40506a020ab",
input={
"prompt": "photo of an Indian woman, with a rich, dark, braided hair, practicing yoga, full body framing, in a serene outdoor setting, under bounced light, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face",
"resolution": "1024 x 1024 (square)",
"style_of_shoot": "ads-fashion editorial"
}
)
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 growthmkt/prompt 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": "growthmkt/prompt:0bd71ecf23dd8a324dfdc40041dff97e3f3675817522a60dc8c5f40506a020ab",
"input": {
"prompt": "photo of an Indian woman, with a rich, dark, braided hair, practicing yoga, full body framing, in a serene outdoor setting, under bounced light, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face",
"resolution": "1024 x 1024 (square)",
"style_of_shoot": "ads-fashion editorial"
}
}' \
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
{
"completed_at": "2024-03-20T21:11:02.336883Z",
"created_at": "2024-03-20T21:10:57.509605Z",
"data_removed": false,
"error": null,
"id": "nvp3slrbbxb6atcoa3l7unukwi",
"input": {
"prompt": "photo of an Indian woman, with a rich, dark, braided hair, practicing yoga, full body framing, in a serene outdoor setting, under bounced light, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face",
"resolution": "1024 x 1024 (square)"
},
"logs": "Starting...\nNo seed - create brand new 6361503\nPrompting {'33': {'inputs': {'samples': ['38', 0], 'vae': ['37', 2]}, 'class_type': 'VAEDecode', '_meta': {'title': 'VAE Decode'}}, '34': {'inputs': {'images': ['33', 0]}, 'class_type': 'PreviewImage', '_meta': {'title': 'Preview Image'}}, '37': {'inputs': {'ckpt_name': 'Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors'}, 'class_type': 'CheckpointLoaderSimple', '_meta': {'title': 'Load Checkpoint'}}, '38': {'inputs': {'seed': 6361503, 'steps': 35, 'cfg': 7, 'sampler_name': 'dpmpp_2m_sde_gpu', 'scheduler': 'karras', 'denoise': 1, 'model': ['37', 0], 'positive': ['39', 0], 'negative': ['40', 0], 'latent_image': ['41', 0]}, 'class_type': 'KSampler', '_meta': {'title': 'KSampler'}}, '39': {'inputs': {'text': 'photo of an Indian woman, with a rich, dark, braided hair, practicing yoga, full body framing, in a serene outdoor setting, under bounced light, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face', 'clip': ['42', 0]}, 'class_type': 'CLIPTextEncode', '_meta': {'title': 'CLIP Text Encode (Prompt)'}}, '40': {'inputs': {'text': '(worst quality, low quality, normal quality, lowres, low details, oversaturated, undersaturated, overexposed, underexposed, grayscale, bw, bad photo, bad photography, bad art:1.4), (watermark, signature, text font, username, error, logo, words, letters, digits, autograph, trademark, name:1.2), (blur, blurry, grainy), morbid, ugly, asymmetrical, mutated malformed, mutilated, poorly lit, bad shadow, draft, cropped, out of frame, cut off, censored, jpeg artifacts, out of focus, glitch, duplicate, (airbrushed, cartoon, anime, semi-realistic, cgi, render, blender, digital art, manga, amateur:1.3), (3D ,3D Game, 3D Game Scene, 3D Character:1.1), (bad hands, bad anatomy, bad body, bad face, bad teeth, bad arms, bad legs, deformities:1.3)', 'clip': ['42', 0]}, 'class_type': 'CLIPTextEncode', '_meta': {'title': 'CLIP Text Encode (Prompt)'}}, '41': {'inputs': {'dimensions': '1024 x 1024 (square)', 'clip_scale': 2, 'batch_size': 1}, 'class_type': 'SDXL Empty Latent Image (rgthree)', '_meta': {'title': 'SDXL Empty Latent Image (rgthree)'}}, '42': {'inputs': {'stop_at_clip_layer': -1, 'clip': ['37', 1]}, 'class_type': 'CLIPSetLastLayer', '_meta': {'title': 'CLIP Set Last Layer'}}}\ngot prompt\n\u001b[32m[rgthree] Using rgthree's optimized recursive execution.\u001b[0m\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:04, 7.23it/s]\n 6%|▌ | 2/35 [00:00<00:04, 8.00it/s]\n 9%|▊ | 3/35 [00:00<00:03, 8.30it/s]\n 11%|█▏ | 4/35 [00:00<00:03, 8.50it/s]\n 14%|█▍ | 5/35 [00:00<00:03, 8.59it/s]\n 17%|█▋ | 6/35 [00:00<00:03, 8.53it/s]\n 20%|██ | 7/35 [00:00<00:03, 8.61it/s]\n 23%|██▎ | 8/35 [00:00<00:03, 8.64it/s]\n 26%|██▌ | 9/35 [00:01<00:02, 8.67it/s]\n 29%|██▊ | 10/35 [00:01<00:02, 8.68it/s]\n 31%|███▏ | 11/35 [00:01<00:02, 8.68it/s]\n 34%|███▍ | 12/35 [00:01<00:02, 8.71it/s]\n 37%|███▋ | 13/35 [00:01<00:02, 8.69it/s]\n 40%|████ | 14/35 [00:01<00:02, 8.67it/s]\n 43%|████▎ | 15/35 [00:01<00:02, 8.66it/s]\n 46%|████▌ | 16/35 [00:01<00:02, 8.64it/s]\n 49%|████▊ | 17/35 [00:01<00:02, 8.67it/s]\n 51%|█████▏ | 18/35 [00:02<00:01, 8.68it/s]\n 54%|█████▍ | 19/35 [00:02<00:01, 8.72it/s]\n 57%|█████▋ | 20/35 [00:02<00:01, 8.72it/s]\n 60%|██████ | 21/35 [00:02<00:01, 8.75it/s]\n 63%|██████▎ | 22/35 [00:02<00:01, 8.77it/s]\n 66%|██████▌ | 23/35 [00:02<00:01, 8.75it/s]\n 69%|██████▊ | 24/35 [00:02<00:01, 8.76it/s]\n 71%|███████▏ | 25/35 [00:02<00:01, 8.63it/s]\n 74%|███████▍ | 26/35 [00:03<00:01, 8.66it/s]\n 77%|███████▋ | 27/35 [00:03<00:00, 8.68it/s]\n 80%|████████ | 28/35 [00:03<00:00, 8.72it/s]\n 83%|████████▎ | 29/35 [00:03<00:00, 8.75it/s]\n 86%|████████▌ | 30/35 [00:03<00:00, 8.78it/s]\n 89%|████████▊ | 31/35 [00:03<00:00, 8.76it/s]\n 91%|█████████▏| 32/35 [00:03<00:00, 8.61it/s]\n 94%|█████████▍| 33/35 [00:03<00:00, 8.69it/s]\n 97%|█████████▋| 34/35 [00:03<00:00, 8.72it/s]\n100%|██████████| 35/35 [00:04<00:00, 8.92it/s]\n100%|██████████| 35/35 [00:04<00:00, 8.67it/s]\nPrompt executed in 4.43 seconds\nnode output: {'images': [{'filename': 'ComfyUI_temp_rprkl_00002_.png', 'subfolder': '', 'type': 'temp'}]}\ntemp",
"metrics": {
"predict_time": 4.813904,
"total_time": 4.827278
},
"output": "https://replicate.delivery/pbxt/48nPiBu1eaQwViPSNDX1OCu7nRH9aYrtumsT9jp2ZnKzFIRJA/out-34.png",
"started_at": "2024-03-20T21:10:57.522979Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/nvp3slrbbxb6atcoa3l7unukwi",
"cancel": "https://api.replicate.com/v1/predictions/nvp3slrbbxb6atcoa3l7unukwi/cancel"
},
"version": "3f980fffdb4caa407d02ae5c6efdd86698a43b2c6bf9817deb75c75842db06b0"
}
Starting...
No seed - create brand new 6361503
Prompting {'33': {'inputs': {'samples': ['38', 0], 'vae': ['37', 2]}, 'class_type': 'VAEDecode', '_meta': {'title': 'VAE Decode'}}, '34': {'inputs': {'images': ['33', 0]}, 'class_type': 'PreviewImage', '_meta': {'title': 'Preview Image'}}, '37': {'inputs': {'ckpt_name': 'Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors'}, 'class_type': 'CheckpointLoaderSimple', '_meta': {'title': 'Load Checkpoint'}}, '38': {'inputs': {'seed': 6361503, 'steps': 35, 'cfg': 7, 'sampler_name': 'dpmpp_2m_sde_gpu', 'scheduler': 'karras', 'denoise': 1, 'model': ['37', 0], 'positive': ['39', 0], 'negative': ['40', 0], 'latent_image': ['41', 0]}, 'class_type': 'KSampler', '_meta': {'title': 'KSampler'}}, '39': {'inputs': {'text': 'photo of an Indian woman, with a rich, dark, braided hair, practicing yoga, full body framing, in a serene outdoor setting, under bounced light, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face', 'clip': ['42', 0]}, 'class_type': 'CLIPTextEncode', '_meta': {'title': 'CLIP Text Encode (Prompt)'}}, '40': {'inputs': {'text': '(worst quality, low quality, normal quality, lowres, low details, oversaturated, undersaturated, overexposed, underexposed, grayscale, bw, bad photo, bad photography, bad art:1.4), (watermark, signature, text font, username, error, logo, words, letters, digits, autograph, trademark, name:1.2), (blur, blurry, grainy), morbid, ugly, asymmetrical, mutated malformed, mutilated, poorly lit, bad shadow, draft, cropped, out of frame, cut off, censored, jpeg artifacts, out of focus, glitch, duplicate, (airbrushed, cartoon, anime, semi-realistic, cgi, render, blender, digital art, manga, amateur:1.3), (3D ,3D Game, 3D Game Scene, 3D Character:1.1), (bad hands, bad anatomy, bad body, bad face, bad teeth, bad arms, bad legs, deformities:1.3)', 'clip': ['42', 0]}, 'class_type': 'CLIPTextEncode', '_meta': {'title': 'CLIP Text Encode (Prompt)'}}, '41': {'inputs': {'dimensions': '1024 x 1024 (square)', 'clip_scale': 2, 'batch_size': 1}, 'class_type': 'SDXL Empty Latent Image (rgthree)', '_meta': {'title': 'SDXL Empty Latent Image (rgthree)'}}, '42': {'inputs': {'stop_at_clip_layer': -1, 'clip': ['37', 1]}, 'class_type': 'CLIPSetLastLayer', '_meta': {'title': 'CLIP Set Last Layer'}}}
got prompt
[rgthree] Using rgthree's optimized recursive execution.
0%| | 0/35 [00:00<?, ?it/s]
3%|▎ | 1/35 [00:00<00:04, 7.23it/s]
6%|▌ | 2/35 [00:00<00:04, 8.00it/s]
9%|▊ | 3/35 [00:00<00:03, 8.30it/s]
11%|█▏ | 4/35 [00:00<00:03, 8.50it/s]
14%|█▍ | 5/35 [00:00<00:03, 8.59it/s]
17%|█▋ | 6/35 [00:00<00:03, 8.53it/s]
20%|██ | 7/35 [00:00<00:03, 8.61it/s]
23%|██▎ | 8/35 [00:00<00:03, 8.64it/s]
26%|██▌ | 9/35 [00:01<00:02, 8.67it/s]
29%|██▊ | 10/35 [00:01<00:02, 8.68it/s]
31%|███▏ | 11/35 [00:01<00:02, 8.68it/s]
34%|███▍ | 12/35 [00:01<00:02, 8.71it/s]
37%|███▋ | 13/35 [00:01<00:02, 8.69it/s]
40%|████ | 14/35 [00:01<00:02, 8.67it/s]
43%|████▎ | 15/35 [00:01<00:02, 8.66it/s]
46%|████▌ | 16/35 [00:01<00:02, 8.64it/s]
49%|████▊ | 17/35 [00:01<00:02, 8.67it/s]
51%|█████▏ | 18/35 [00:02<00:01, 8.68it/s]
54%|█████▍ | 19/35 [00:02<00:01, 8.72it/s]
57%|█████▋ | 20/35 [00:02<00:01, 8.72it/s]
60%|██████ | 21/35 [00:02<00:01, 8.75it/s]
63%|██████▎ | 22/35 [00:02<00:01, 8.77it/s]
66%|██████▌ | 23/35 [00:02<00:01, 8.75it/s]
69%|██████▊ | 24/35 [00:02<00:01, 8.76it/s]
71%|███████▏ | 25/35 [00:02<00:01, 8.63it/s]
74%|███████▍ | 26/35 [00:03<00:01, 8.66it/s]
77%|███████▋ | 27/35 [00:03<00:00, 8.68it/s]
80%|████████ | 28/35 [00:03<00:00, 8.72it/s]
83%|████████▎ | 29/35 [00:03<00:00, 8.75it/s]
86%|████████▌ | 30/35 [00:03<00:00, 8.78it/s]
89%|████████▊ | 31/35 [00:03<00:00, 8.76it/s]
91%|█████████▏| 32/35 [00:03<00:00, 8.61it/s]
94%|█████████▍| 33/35 [00:03<00:00, 8.69it/s]
97%|█████████▋| 34/35 [00:03<00:00, 8.72it/s]
100%|██████████| 35/35 [00:04<00:00, 8.92it/s]
100%|██████████| 35/35 [00:04<00:00, 8.67it/s]
Prompt executed in 4.43 seconds
node output: {'images': [{'filename': 'ComfyUI_temp_rprkl_00002_.png', 'subfolder': '', 'type': 'temp'}]}
temp
This output was created using a different version of the model, growthmkt/prompt:3f980fff.
This model runs on Nvidia A100 (80GB) 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.
This model runs on A100 (80GB) hardware which costs $0.0014 per second. View more.
Starting...
No seed - create brand new 6361503
Prompting {'33': {'inputs': {'samples': ['38', 0], 'vae': ['37', 2]}, 'class_type': 'VAEDecode', '_meta': {'title': 'VAE Decode'}}, '34': {'inputs': {'images': ['33', 0]}, 'class_type': 'PreviewImage', '_meta': {'title': 'Preview Image'}}, '37': {'inputs': {'ckpt_name': 'Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors'}, 'class_type': 'CheckpointLoaderSimple', '_meta': {'title': 'Load Checkpoint'}}, '38': {'inputs': {'seed': 6361503, 'steps': 35, 'cfg': 7, 'sampler_name': 'dpmpp_2m_sde_gpu', 'scheduler': 'karras', 'denoise': 1, 'model': ['37', 0], 'positive': ['39', 0], 'negative': ['40', 0], 'latent_image': ['41', 0]}, 'class_type': 'KSampler', '_meta': {'title': 'KSampler'}}, '39': {'inputs': {'text': 'photo of an Indian woman, with a rich, dark, braided hair, practicing yoga, full body framing, in a serene outdoor setting, under bounced light, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, ((streets)), detailed face', 'clip': ['42', 0]}, 'class_type': 'CLIPTextEncode', '_meta': {'title': 'CLIP Text Encode (Prompt)'}}, '40': {'inputs': {'text': '(worst quality, low quality, normal quality, lowres, low details, oversaturated, undersaturated, overexposed, underexposed, grayscale, bw, bad photo, bad photography, bad art:1.4), (watermark, signature, text font, username, error, logo, words, letters, digits, autograph, trademark, name:1.2), (blur, blurry, grainy), morbid, ugly, asymmetrical, mutated malformed, mutilated, poorly lit, bad shadow, draft, cropped, out of frame, cut off, censored, jpeg artifacts, out of focus, glitch, duplicate, (airbrushed, cartoon, anime, semi-realistic, cgi, render, blender, digital art, manga, amateur:1.3), (3D ,3D Game, 3D Game Scene, 3D Character:1.1), (bad hands, bad anatomy, bad body, bad face, bad teeth, bad arms, bad legs, deformities:1.3)', 'clip': ['42', 0]}, 'class_type': 'CLIPTextEncode', '_meta': {'title': 'CLIP Text Encode (Prompt)'}}, '41': {'inputs': {'dimensions': '1024 x 1024 (square)', 'clip_scale': 2, 'batch_size': 1}, 'class_type': 'SDXL Empty Latent Image (rgthree)', '_meta': {'title': 'SDXL Empty Latent Image (rgthree)'}}, '42': {'inputs': {'stop_at_clip_layer': -1, 'clip': ['37', 1]}, 'class_type': 'CLIPSetLastLayer', '_meta': {'title': 'CLIP Set Last Layer'}}}
got prompt
[rgthree] Using rgthree's optimized recursive execution.
0%| | 0/35 [00:00<?, ?it/s]
3%|▎ | 1/35 [00:00<00:04, 7.23it/s]
6%|▌ | 2/35 [00:00<00:04, 8.00it/s]
9%|▊ | 3/35 [00:00<00:03, 8.30it/s]
11%|█▏ | 4/35 [00:00<00:03, 8.50it/s]
14%|█▍ | 5/35 [00:00<00:03, 8.59it/s]
17%|█▋ | 6/35 [00:00<00:03, 8.53it/s]
20%|██ | 7/35 [00:00<00:03, 8.61it/s]
23%|██▎ | 8/35 [00:00<00:03, 8.64it/s]
26%|██▌ | 9/35 [00:01<00:02, 8.67it/s]
29%|██▊ | 10/35 [00:01<00:02, 8.68it/s]
31%|███▏ | 11/35 [00:01<00:02, 8.68it/s]
34%|███▍ | 12/35 [00:01<00:02, 8.71it/s]
37%|███▋ | 13/35 [00:01<00:02, 8.69it/s]
40%|████ | 14/35 [00:01<00:02, 8.67it/s]
43%|████▎ | 15/35 [00:01<00:02, 8.66it/s]
46%|████▌ | 16/35 [00:01<00:02, 8.64it/s]
49%|████▊ | 17/35 [00:01<00:02, 8.67it/s]
51%|█████▏ | 18/35 [00:02<00:01, 8.68it/s]
54%|█████▍ | 19/35 [00:02<00:01, 8.72it/s]
57%|█████▋ | 20/35 [00:02<00:01, 8.72it/s]
60%|██████ | 21/35 [00:02<00:01, 8.75it/s]
63%|██████▎ | 22/35 [00:02<00:01, 8.77it/s]
66%|██████▌ | 23/35 [00:02<00:01, 8.75it/s]
69%|██████▊ | 24/35 [00:02<00:01, 8.76it/s]
71%|███████▏ | 25/35 [00:02<00:01, 8.63it/s]
74%|███████▍ | 26/35 [00:03<00:01, 8.66it/s]
77%|███████▋ | 27/35 [00:03<00:00, 8.68it/s]
80%|████████ | 28/35 [00:03<00:00, 8.72it/s]
83%|████████▎ | 29/35 [00:03<00:00, 8.75it/s]
86%|████████▌ | 30/35 [00:03<00:00, 8.78it/s]
89%|████████▊ | 31/35 [00:03<00:00, 8.76it/s]
91%|█████████▏| 32/35 [00:03<00:00, 8.61it/s]
94%|█████████▍| 33/35 [00:03<00:00, 8.69it/s]
97%|█████████▋| 34/35 [00:03<00:00, 8.72it/s]
100%|██████████| 35/35 [00:04<00:00, 8.92it/s]
100%|██████████| 35/35 [00:04<00:00, 8.67it/s]
Prompt executed in 4.43 seconds
node output: {'images': [{'filename': 'ComfyUI_temp_rprkl_00002_.png', 'subfolder': '', 'type': 'temp'}]}
temp