Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDy8skab71shrmc0ckaygtewe3gmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- an superman male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "an superman male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "an superman male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "an superman male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "an superman male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:07:39.347891Z", "created_at": "2024-11-23T06:07:27.180000Z", "data_removed": false, "error": null, "id": "y8skab71shrmc0ckaygtewe3gm", "input": { "model": "dev", "prompt": "an superman male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 9178\nPrompt: an superman male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting\n[!] txt2img mode\nUsing dev model\nfree=29297227460608\nDownloading weights\n2024-11-23T06:07:27Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9tlneatt/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\n2024-11-23T06:07:29Z | INFO | [ Complete ] dest=/tmp/tmp9tlneatt/weights size=\"172 MB\" total_elapsed=1.987s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\nDownloaded weights in 2.01s\nLoaded LoRAs in 2.62s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.06it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.42it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.25it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.07it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.09it/s]", "metrics": { "predict_time": 11.986737603, "total_time": 12.167891 }, "output": [ "https://replicate.delivery/xezq/oTTF28GecqUdYS4OStMzneiwiRsOX8kviq2C4Sf0WmUXZknnA/out-0.webp" ], "started_at": "2024-11-23T06:07:27.361154Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-2enx2r5wq56io6zfx2sgvyig5aajwotwcj4sajyr2bufi4juirla", "get": "https://api.replicate.com/v1/predictions/y8skab71shrmc0ckaygtewe3gm", "cancel": "https://api.replicate.com/v1/predictions/y8skab71shrmc0ckaygtewe3gm/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 9178 Prompt: an superman male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting [!] txt2img mode Using dev model free=29297227460608 Downloading weights 2024-11-23T06:07:27Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9tlneatt/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar 2024-11-23T06:07:29Z | INFO | [ Complete ] dest=/tmp/tmp9tlneatt/weights size="172 MB" total_elapsed=1.987s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar Downloaded weights in 2.01s Loaded LoRAs in 2.62s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.06it/s] 7%|▋ | 2/28 [00:00<00:07, 3.42it/s] 11%|█ | 3/28 [00:00<00:07, 3.25it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s] 50%|█████ | 14/28 [00:04<00:04, 3.07it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.09it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDn68ps48zk1rm80ckayjamxnewrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:10:06.281865Z", "created_at": "2024-11-23T06:09:54.072000Z", "data_removed": false, "error": null, "id": "n68ps48zk1rm80ckayjamxnewr", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 26776\nPrompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting\n[!] txt2img mode\nUsing dev model\nfree=29250766077952\nDownloading weights\n2024-11-23T06:09:54Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp5y5y04yd/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\n2024-11-23T06:09:56Z | INFO | [ Complete ] dest=/tmp/tmp5y5y04yd/weights size=\"172 MB\" total_elapsed=2.107s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\nDownloaded weights in 2.13s\nLoaded LoRAs in 2.58s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.06it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.41it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.24it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.09it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.08it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.06it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.06it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.06it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.06it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.06it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.08it/s]", "metrics": { "predict_time": 11.975238352, "total_time": 12.209865 }, "output": [ "https://replicate.delivery/xezq/QoW8BAJ81u7QExCdNybLGWRbSg7zepCZgFzjWMKJzTRfOyzTA/out-0.webp" ], "started_at": "2024-11-23T06:09:54.306626Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-hiebc7s7gjto63edbiuldky5lu4qj3srqawxdquerrl6h2o2vagq", "get": "https://api.replicate.com/v1/predictions/n68ps48zk1rm80ckayjamxnewr", "cancel": "https://api.replicate.com/v1/predictions/n68ps48zk1rm80ckayjamxnewr/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 26776 Prompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting [!] txt2img mode Using dev model free=29250766077952 Downloading weights 2024-11-23T06:09:54Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp5y5y04yd/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar 2024-11-23T06:09:56Z | INFO | [ Complete ] dest=/tmp/tmp5y5y04yd/weights size="172 MB" total_elapsed=2.107s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar Downloaded weights in 2.13s Loaded LoRAs in 2.58s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.06it/s] 7%|▋ | 2/28 [00:00<00:07, 3.41it/s] 11%|█ | 3/28 [00:00<00:07, 3.24it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.09it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.08it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s] 50%|█████ | 14/28 [00:04<00:04, 3.06it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.06it/s] 61%|██████ | 17/28 [00:05<00:03, 3.06it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.06it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.06it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.08it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDbj9stwtz35rmc0ckayjspygw94StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:11:26.560470Z", "created_at": "2024-11-23T06:11:15.865000Z", "data_removed": false, "error": null, "id": "bj9stwtz35rmc0ckayjspygw94", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 33813\nPrompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery\n[!] txt2img mode\nUsing dev model\nfree=29490920435712\nDownloading weights\n2024-11-23T06:11:15Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpuqp2hesl/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\n2024-11-23T06:11:16Z | INFO | [ Complete ] dest=/tmp/tmpuqp2hesl/weights size=\"172 MB\" total_elapsed=0.737s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\nDownloaded weights in 0.76s\nLoaded LoRAs in 1.22s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.05it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.41it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.24it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.09it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.08it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.06it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.06it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.06it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.06it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.06it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.08it/s]", "metrics": { "predict_time": 10.617244776, "total_time": 10.69547 }, "output": [ "https://replicate.delivery/xezq/sk5XXIppVGa8LxKVvhmUpBwQGx2jJesvdDzbhTcTTRdHI55JA/out-0.webp" ], "started_at": "2024-11-23T06:11:15.943226Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-qyjzmhxef2disv3v3u2dmjtdai2cjncp3crgjphw3euuv4tyon3q", "get": "https://api.replicate.com/v1/predictions/bj9stwtz35rmc0ckayjspygw94", "cancel": "https://api.replicate.com/v1/predictions/bj9stwtz35rmc0ckayjspygw94/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 33813 Prompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery [!] txt2img mode Using dev model free=29490920435712 Downloading weights 2024-11-23T06:11:15Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpuqp2hesl/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar 2024-11-23T06:11:16Z | INFO | [ Complete ] dest=/tmp/tmpuqp2hesl/weights size="172 MB" total_elapsed=0.737s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar Downloaded weights in 0.76s Loaded LoRAs in 1.22s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.05it/s] 7%|▋ | 2/28 [00:00<00:07, 3.41it/s] 11%|█ | 3/28 [00:00<00:07, 3.24it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.09it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.08it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s] 50%|█████ | 14/28 [00:04<00:04, 3.06it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.06it/s] 61%|██████ | 17/28 [00:05<00:03, 3.06it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.06it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.06it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.08it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDbj9stwtz35rmc0ckayjspygw94StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:11:26.560470Z", "created_at": "2024-11-23T06:11:15.865000Z", "data_removed": false, "error": null, "id": "bj9stwtz35rmc0ckayjspygw94", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 33813\nPrompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery\n[!] txt2img mode\nUsing dev model\nfree=29490920435712\nDownloading weights\n2024-11-23T06:11:15Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpuqp2hesl/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\n2024-11-23T06:11:16Z | INFO | [ Complete ] dest=/tmp/tmpuqp2hesl/weights size=\"172 MB\" total_elapsed=0.737s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\nDownloaded weights in 0.76s\nLoaded LoRAs in 1.22s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.05it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.41it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.24it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.09it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.08it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.06it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.06it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.06it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.06it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.06it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.08it/s]", "metrics": { "predict_time": 10.617244776, "total_time": 10.69547 }, "output": [ "https://replicate.delivery/xezq/sk5XXIppVGa8LxKVvhmUpBwQGx2jJesvdDzbhTcTTRdHI55JA/out-0.webp" ], "started_at": "2024-11-23T06:11:15.943226Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-qyjzmhxef2disv3v3u2dmjtdai2cjncp3crgjphw3euuv4tyon3q", "get": "https://api.replicate.com/v1/predictions/bj9stwtz35rmc0ckayjspygw94", "cancel": "https://api.replicate.com/v1/predictions/bj9stwtz35rmc0ckayjspygw94/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 33813 Prompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery [!] txt2img mode Using dev model free=29490920435712 Downloading weights 2024-11-23T06:11:15Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpuqp2hesl/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar 2024-11-23T06:11:16Z | INFO | [ Complete ] dest=/tmp/tmpuqp2hesl/weights size="172 MB" total_elapsed=0.737s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar Downloaded weights in 0.76s Loaded LoRAs in 1.22s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.05it/s] 7%|▋ | 2/28 [00:00<00:07, 3.41it/s] 11%|█ | 3/28 [00:00<00:07, 3.24it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.09it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.08it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s] 50%|█████ | 14/28 [00:04<00:04, 3.06it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.06it/s] 61%|██████ | 17/28 [00:05<00:03, 3.06it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.06it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.06it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.08it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662ID28q4qk8ethrm80ckaym999j944StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:14:22.105634Z", "created_at": "2024-11-23T06:14:11.924000Z", "data_removed": false, "error": null, "id": "28q4qk8ethrm80ckaym999j944", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 53689\nPrompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.60s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.05it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.40it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.23it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.09it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.07it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.06it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.05it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.05it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.05it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.05it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.05it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.05it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.05it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.05it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.05it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.05it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.05it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.05it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.05it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.05it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.05it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.05it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.05it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]", "metrics": { "predict_time": 10.007546787, "total_time": 10.181634 }, "output": [ "https://replicate.delivery/xezq/uXz5QuoIV1KQC5Je4Mu6x4NbLNKlpPsKNpSf0NYwb6oelknnA/out-0.webp" ], "started_at": "2024-11-23T06:14:12.098087Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-a3tgzl6mgo2pzug4llgvuvl5dw6ilhq7bsl5ma6gvuikmrgpwjnq", "get": "https://api.replicate.com/v1/predictions/28q4qk8ethrm80ckaym999j944", "cancel": "https://api.replicate.com/v1/predictions/28q4qk8ethrm80ckaym999j944/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 53689 Prompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size [!] txt2img mode Using dev model Loaded LoRAs in 0.60s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.05it/s] 7%|▋ | 2/28 [00:00<00:07, 3.40it/s] 11%|█ | 3/28 [00:00<00:07, 3.23it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.09it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.07it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.06it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.05it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.05it/s] 50%|█████ | 14/28 [00:04<00:04, 3.05it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.05it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.05it/s] 61%|██████ | 17/28 [00:05<00:03, 3.05it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.05it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.05it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.05it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.05it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.05it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.05it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.05it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.05it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.05it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.05it/s] 100%|██████████| 28/28 [00:09<00:00, 3.05it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDknhqa7f515rm80ckaym9fsmrb0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:15:16.202490Z", "created_at": "2024-11-23T06:15:06.761000Z", "data_removed": false, "error": null, "id": "knhqa7f515rm80ckaym9fsmrb0", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 8312\nPrompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape\n[!] txt2img mode\nUsing dev model\nWeights already loaded\nLoaded LoRAs in 0.02s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.05it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.40it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.23it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.07it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.06it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.05it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.05it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.05it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.05it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.05it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.05it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.05it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.05it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.05it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.05it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.05it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.05it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.05it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]", "metrics": { "predict_time": 9.433771278, "total_time": 9.44149 }, "output": [ "https://replicate.delivery/xezq/rEQfD3CduSTFdSRZuoADhHU6CfWzhRyAAdTS0nc1DNw0TyzTA/out-0.webp" ], "started_at": "2024-11-23T06:15:06.768718Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-fmab6qjvgr7zudkarb45pflgjtrzedgveljgq6prebhhr2qll7ya", "get": "https://api.replicate.com/v1/predictions/knhqa7f515rm80ckaym9fsmrb0", "cancel": "https://api.replicate.com/v1/predictions/knhqa7f515rm80ckaym9fsmrb0/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 8312 Prompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape [!] txt2img mode Using dev model Weights already loaded Loaded LoRAs in 0.02s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.05it/s] 7%|▋ | 2/28 [00:00<00:07, 3.40it/s] 11%|█ | 3/28 [00:00<00:07, 3.23it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.07it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s] 50%|█████ | 14/28 [00:04<00:04, 3.06it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.05it/s] 61%|██████ | 17/28 [00:05<00:03, 3.05it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.05it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.05it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.05it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.05it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.05it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.05it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.05it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.05it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.05it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.05it/s] 100%|██████████| 28/28 [00:09<00:00, 3.05it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDdh3wpa79edrm80ckayttrev78rStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:29:29.821989Z", "created_at": "2024-11-23T06:29:19.859000Z", "data_removed": false, "error": null, "id": "dh3wpa79edrm80ckayttrev78r", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 42846\nPrompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.58s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.06it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.42it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.25it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.07it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.06it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.08it/s]", "metrics": { "predict_time": 9.954904246, "total_time": 9.962989 }, "output": [ "https://replicate.delivery/xezq/Klq0q0KJ6hqqEN7N973K74J5TacLILbPXWl0KDEjjEfkQ55JA/out-0.webp" ], "started_at": "2024-11-23T06:29:19.867085Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-c3ki2yslutd3kfltdhe4tisryepb4fkraxnvmf7doepmwn4qjmxa", "get": "https://api.replicate.com/v1/predictions/dh3wpa79edrm80ckayttrev78r", "cancel": "https://api.replicate.com/v1/predictions/dh3wpa79edrm80ckayttrev78r/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 42846 Prompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape [!] txt2img mode Using dev model Loaded LoRAs in 0.58s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.06it/s] 7%|▋ | 2/28 [00:00<00:07, 3.42it/s] 11%|█ | 3/28 [00:00<00:07, 3.25it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s] 50%|█████ | 14/28 [00:04<00:04, 3.07it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.06it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.08it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662ID2w8hb1xnanrmc0ckayw83y48twStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 1
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", lora_scale: 1, num_outputs: 2, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 1, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:32:41.679093Z", "created_at": "2024-11-23T06:32:23.125000Z", "data_removed": false, "error": null, "id": "2w8hb1xnanrmc0ckayw83y48tw", "input": { "model": "dev", "prompt": "an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 62471\nPrompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.59s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:16, 1.60it/s]\n 7%|▋ | 2/28 [00:01<00:14, 1.79it/s]\n 11%|█ | 3/28 [00:01<00:14, 1.70it/s]\n 14%|█▍ | 4/28 [00:02<00:14, 1.66it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.64it/s]\n 21%|██▏ | 6/28 [00:03<00:13, 1.63it/s]\n 25%|██▌ | 7/28 [00:04<00:12, 1.62it/s]\n 29%|██▊ | 8/28 [00:04<00:12, 1.61it/s]\n 32%|███▏ | 9/28 [00:05<00:11, 1.61it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.61it/s]\n 39%|███▉ | 11/28 [00:06<00:10, 1.61it/s]\n 43%|████▎ | 12/28 [00:07<00:09, 1.61it/s]\n 46%|████▋ | 13/28 [00:07<00:09, 1.60it/s]\n 50%|█████ | 14/28 [00:08<00:08, 1.60it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.60it/s]\n 57%|█████▋ | 16/28 [00:09<00:07, 1.60it/s]\n 61%|██████ | 17/28 [00:10<00:06, 1.60it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.60it/s]\n 68%|██████▊ | 19/28 [00:11<00:05, 1.60it/s]\n 71%|███████▏ | 20/28 [00:12<00:04, 1.60it/s]\n 75%|███████▌ | 21/28 [00:12<00:04, 1.60it/s]\n 79%|███████▊ | 22/28 [00:13<00:03, 1.60it/s]\n 82%|████████▏ | 23/28 [00:14<00:03, 1.60it/s]\n 86%|████████▌ | 24/28 [00:14<00:02, 1.60it/s]\n 89%|████████▉ | 25/28 [00:15<00:01, 1.60it/s]\n 93%|█████████▎| 26/28 [00:16<00:01, 1.60it/s]\n 96%|█████████▋| 27/28 [00:16<00:00, 1.60it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.60it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.61it/s]", "metrics": { "predict_time": 18.519521791, "total_time": 18.554093 }, "output": [ "https://replicate.delivery/xezq/UvDaE2seXTT1TSdI7YTN2jAC60j4C5P8zr0hZgrGZeOJkyzTA/out-0.webp", "https://replicate.delivery/xezq/T7HceOkFxX2MMCJW0tIfExneLebBj2dU2LDYrde6PZ8JhUe8E/out-1.webp" ], "started_at": "2024-11-23T06:32:23.159571Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-auemxnntqewfocww5zzf4mraxovhn2fb2l6lgss2x2ppdzfdas7q", "get": "https://api.replicate.com/v1/predictions/2w8hb1xnanrmc0ckayw83y48tw", "cancel": "https://api.replicate.com/v1/predictions/2w8hb1xnanrmc0ckayw83y48tw/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 62471 Prompt: an asian old male model hold an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape [!] txt2img mode Using dev model Loaded LoRAs in 0.59s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:16, 1.60it/s] 7%|▋ | 2/28 [00:01<00:14, 1.79it/s] 11%|█ | 3/28 [00:01<00:14, 1.70it/s] 14%|█▍ | 4/28 [00:02<00:14, 1.66it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.64it/s] 21%|██▏ | 6/28 [00:03<00:13, 1.63it/s] 25%|██▌ | 7/28 [00:04<00:12, 1.62it/s] 29%|██▊ | 8/28 [00:04<00:12, 1.61it/s] 32%|███▏ | 9/28 [00:05<00:11, 1.61it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.61it/s] 39%|███▉ | 11/28 [00:06<00:10, 1.61it/s] 43%|████▎ | 12/28 [00:07<00:09, 1.61it/s] 46%|████▋ | 13/28 [00:07<00:09, 1.60it/s] 50%|█████ | 14/28 [00:08<00:08, 1.60it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.60it/s] 57%|█████▋ | 16/28 [00:09<00:07, 1.60it/s] 61%|██████ | 17/28 [00:10<00:06, 1.60it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.60it/s] 68%|██████▊ | 19/28 [00:11<00:05, 1.60it/s] 71%|███████▏ | 20/28 [00:12<00:04, 1.60it/s] 75%|███████▌ | 21/28 [00:12<00:04, 1.60it/s] 79%|███████▊ | 22/28 [00:13<00:03, 1.60it/s] 82%|████████▏ | 23/28 [00:14<00:03, 1.60it/s] 86%|████████▌ | 24/28 [00:14<00:02, 1.60it/s] 89%|████████▉ | 25/28 [00:15<00:01, 1.60it/s] 93%|█████████▎| 26/28 [00:16<00:01, 1.60it/s] 96%|█████████▋| 27/28 [00:16<00:00, 1.60it/s] 100%|██████████| 28/28 [00:17<00:00, 1.60it/s] 100%|██████████| 28/28 [00:17<00:00, 1.61it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDpsmswa06rnrm80ckaz0t54mjx0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape, hyper realistic style
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 1
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape, hyper realistic style", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 1, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:41:40.361447Z", "created_at": "2024-11-23T06:41:28.261000Z", "data_removed": false, "error": null, "id": "psmswa06rnrm80ckaz0t54mjx0", "input": { "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 65182\nPrompt: An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape, hyper realistic style\n[!] txt2img mode\nUsing dev model\nfree=29047210606592\nDownloading weights\n2024-11-23T06:41:28Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp6pvu1_f5/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\n2024-11-23T06:41:30Z | INFO | [ Complete ] dest=/tmp/tmp6pvu1_f5/weights size=\"172 MB\" total_elapsed=1.804s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\nDownloaded weights in 1.83s\nLoaded LoRAs in 2.43s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.03it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.39it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.22it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.14it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.10it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.08it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.07it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.06it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.05it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.04it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.04it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.04it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.04it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.04it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.04it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.04it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.04it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.04it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.03it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.03it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.03it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.03it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.03it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.03it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.03it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.03it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.03it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.03it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.05it/s]", "metrics": { "predict_time": 11.896433864, "total_time": 12.100447 }, "output": [ "https://replicate.delivery/xezq/vJvH3IOPzuJhO5R0tB2HyAwC38SLl6d1Zwmu095chXPJr88E/out-0.webp" ], "started_at": "2024-11-23T06:41:28.465013Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-ala6uj3ik63owdjfufvj7qgqqwtziqj7fawenfreu6eucjhi6d5q", "get": "https://api.replicate.com/v1/predictions/psmswa06rnrm80ckaz0t54mjx0", "cancel": "https://api.replicate.com/v1/predictions/psmswa06rnrm80ckaz0t54mjx0/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 65182 Prompt: An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, mountain scenery, the box size is reasonable size and rectangular shape, hyper realistic style [!] txt2img mode Using dev model free=29047210606592 Downloading weights 2024-11-23T06:41:28Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp6pvu1_f5/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar 2024-11-23T06:41:30Z | INFO | [ Complete ] dest=/tmp/tmp6pvu1_f5/weights size="172 MB" total_elapsed=1.804s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar Downloaded weights in 1.83s Loaded LoRAs in 2.43s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.03it/s] 7%|▋ | 2/28 [00:00<00:07, 3.39it/s] 11%|█ | 3/28 [00:00<00:07, 3.22it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.14it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.10it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.08it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.07it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.06it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.05it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.04it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.04it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.04it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.04it/s] 50%|█████ | 14/28 [00:04<00:04, 3.04it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.04it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.04it/s] 61%|██████ | 17/28 [00:05<00:03, 3.04it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.04it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.03it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.03it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.03it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.03it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.03it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.03it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.03it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.03it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.03it/s] 100%|██████████| 28/28 [00:09<00:00, 3.03it/s] 100%|██████████| 28/28 [00:09<00:00, 3.05it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDsn2z6gmygdrme0ckaz184afhj0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, the box size is reasonable size and is rectangular shape, hyper realistic style
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 1
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, the box size is reasonable size and is rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, the box size is reasonable size and is rectangular shape, hyper realistic style", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 1, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, the box size is reasonable size and is rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, the box size is reasonable size and is rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:43:23.061160Z", "created_at": "2024-11-23T06:43:12.643000Z", "data_removed": false, "error": null, "id": "sn2z6gmygdrme0ckaz184afhj0", "input": { "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, the box size is reasonable size and is rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 41562\nPrompt: An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, the box size is reasonable size and is rectangular shape, hyper realistic style\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.61s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.06it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.42it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.25it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.07it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.08it/s]", "metrics": { "predict_time": 9.989276351, "total_time": 10.41816 }, "output": [ "https://replicate.delivery/xezq/P4diIcRxj0qCJxVfEXnleedxEWYf6E4zBmQUwTG593tt4KPPB/out-0.webp" ], "started_at": "2024-11-23T06:43:13.071884Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-igqrtt6kal7vvubp6vaxy47lprqjcx5ulysn4jm3memtsal3csrq", "get": "https://api.replicate.com/v1/predictions/sn2z6gmygdrme0ckaz184afhj0", "cancel": "https://api.replicate.com/v1/predictions/sn2z6gmygdrme0ckaz184afhj0/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 41562 Prompt: An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, the box size is reasonable size and is rectangular shape, hyper realistic style [!] txt2img mode Using dev model Loaded LoRAs in 0.61s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.06it/s] 7%|▋ | 2/28 [00:00<00:07, 3.42it/s] 11%|█ | 3/28 [00:00<00:07, 3.25it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s] 50%|█████ | 14/28 [00:04<00:04, 3.07it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.08it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDv2seghk6a5rm80ckaz1v6mwb10StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, universal scenery, on the moon, the box size is reasonable size and is rectangular shape, hyper realistic style
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 1
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, universal scenery, on the moon, the box size is reasonable size and is rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, universal scenery, on the moon, the box size is reasonable size and is rectangular shape, hyper realistic style", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 1, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, universal scenery, on the moon, the box size is reasonable size and is rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, universal scenery, on the moon, the box size is reasonable size and is rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:44:16.564950Z", "created_at": "2024-11-23T06:44:03.793000Z", "data_removed": false, "error": null, "id": "v2seghk6a5rm80ckaz1v6mwb10", "input": { "model": "dev", "prompt": "An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, universal scenery, on the moon, the box size is reasonable size and is rectangular shape, hyper realistic style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 1969\nPrompt: An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, universal scenery, on the moon, the box size is reasonable size and is rectangular shape, hyper realistic style\n[!] txt2img mode\nUsing dev model\nfree=29265366978560\nDownloading weights\n2024-11-23T06:44:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpa0k3k1m7/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\n2024-11-23T06:44:06Z | INFO | [ Complete ] dest=/tmp/tmpa0k3k1m7/weights size=\"172 MB\" total_elapsed=2.471s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\nDownloaded weights in 2.50s\nLoaded LoRAs in 3.09s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.06it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.42it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.25it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.07it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.09it/s]", "metrics": { "predict_time": 12.46937398, "total_time": 12.77195 }, "output": [ "https://replicate.delivery/xezq/EZf6ohEWl6TrLKWQcpHGG6SNfajjADXUNjrB4eeXBCJD8KPPB/out-0.webp" ], "started_at": "2024-11-23T06:44:04.095576Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-v7t54jltzca7szwh5rgtbgpyafnimo434f3g6n2ygqt265c2isnq", "get": "https://api.replicate.com/v1/predictions/v2seghk6a5rm80ckaz1v6mwb10", "cancel": "https://api.replicate.com/v1/predictions/v2seghk6a5rm80ckaz1v6mwb10/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 1969 Prompt: An elderly Asian male model holds an artichokeammu tea box, 100% original artichokeammu, original front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, universal scenery, on the moon, the box size is reasonable size and is rectangular shape, hyper realistic style [!] txt2img mode Using dev model free=29265366978560 Downloading weights 2024-11-23T06:44:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpa0k3k1m7/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar 2024-11-23T06:44:06Z | INFO | [ Complete ] dest=/tmp/tmpa0k3k1m7/weights size="172 MB" total_elapsed=2.471s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar Downloaded weights in 2.50s Loaded LoRAs in 3.09s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.06it/s] 7%|▋ | 2/28 [00:00<00:07, 3.42it/s] 11%|█ | 3/28 [00:00<00:07, 3.25it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s] 50%|█████ | 14/28 [00:04<00:04, 3.07it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.09it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDpcqxvn70hsrme0ckaz5rdzfkt4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 1
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 1, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:53:29.414280Z", "created_at": "2024-11-23T06:53:19.374000Z", "data_removed": false, "error": null, "id": "pcqxvn70hsrme0ckaz5rdzfkt4", "input": { "model": "dev", "prompt": "Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 6956\nPrompt: Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.61s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.07it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.43it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.26it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.12it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.11it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.10it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.09it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.09it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.08it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.08it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.08it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.08it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.09it/s]", "metrics": { "predict_time": 9.968375018, "total_time": 10.04028 }, "output": [ "https://replicate.delivery/xezq/jeeSDyugXsu3WkevQeILCl1vCZ0H5PLBo3fbDa2xHedT6t88E/out-0.webp" ], "started_at": "2024-11-23T06:53:19.445905Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-4tf5hwiwy5vdej767uijburilsbsxrzsl5etxkqcbm6jt5dqwusq", "get": "https://api.replicate.com/v1/predictions/pcqxvn70hsrme0ckaz5rdzfkt4", "cancel": "https://api.replicate.com/v1/predictions/pcqxvn70hsrme0ckaz5rdzfkt4/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 6956 Prompt: Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography [!] txt2img mode Using dev model Loaded LoRAs in 0.61s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.07it/s] 7%|▋ | 2/28 [00:00<00:07, 3.43it/s] 11%|█ | 3/28 [00:00<00:07, 3.26it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.12it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.11it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.10it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.09it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.09it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.08it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.08it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.08it/s] 50%|█████ | 14/28 [00:04<00:04, 3.08it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.09it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDzxg0gv6bqnrme0ckaz68xarr68StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers next to the artichokeammu tea box to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 1
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers next to the artichokeammu tea box to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers next to the artichokeammu tea box to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 1, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers next to the artichokeammu tea box to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers next to the artichokeammu tea box to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T06:54:29.421992Z", "created_at": "2024-11-23T06:54:19.581000Z", "data_removed": false, "error": null, "id": "zxg0gv6bqnrme0ckaz68xarr68", "input": { "model": "dev", "prompt": "Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers next to the artichokeammu tea box to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 4732\nPrompt: Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers next to the artichokeammu tea box to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.46s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.06it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.42it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.25it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.07it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.08it/s]", "metrics": { "predict_time": 9.833710756, "total_time": 9.840992 }, "output": [ "https://replicate.delivery/xezq/m4QReefarJTVapSDbteGEfJv9dxIf5zPkIBAw6Oe7FdrSc55JA/out-0.webp" ], "started_at": "2024-11-23T06:54:19.588282Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-jdgx3dmi4sahlrulzweodgudt5jklvnesan5yqz6dfhrmeanjzfa", "get": "https://api.replicate.com/v1/predictions/zxg0gv6bqnrme0ckaz68xarr68", "cancel": "https://api.replicate.com/v1/predictions/zxg0gv6bqnrme0ckaz68xarr68/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 4732 Prompt: Product photography: Artichoke tea and Chinese herbal medicine in a glass teapot next to a bamboo basket on a rock, next to an artichokeammu tea box, the box size is reasonable size and rectangular shape, original front face of artichokeammu box, ammu brand on the box, waterfall background. Ginseng or starry chrysanthemum flowers next to the artichokeammu tea box to create a warm atmosphere, with soft lighting and a minimalist aesthetic. The image is high resolution and hyper-realistic style, commercial photography [!] txt2img mode Using dev model Loaded LoRAs in 0.46s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.06it/s] 7%|▋ | 2/28 [00:00<00:07, 3.42it/s] 11%|█ | 3/28 [00:00<00:07, 3.25it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s] 50%|█████ | 14/28 [00:04<00:04, 3.07it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.08it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDj7mwvm7hcdrme0ckazpvs55k3mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A horizontal rectangular artichokeammu box next to a teapot, waterfall background, with a warm color tone and natural lighting, hyper-realistc style
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a teapot, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "A horizontal rectangular artichokeammu box next to a teapot, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a teapot, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a teapot, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T07:30:41.891990Z", "created_at": "2024-11-23T07:30:31.907000Z", "data_removed": false, "error": null, "id": "j7mwvm7hcdrme0ckazpvs55k3m", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a teapot, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 39843\nPrompt: A horizontal rectangular artichokeammu box next to a teapot, waterfall background, with a warm color tone and natural lighting, hyper-realistc style\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.47s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.03it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.38it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.22it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.14it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.10it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.08it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.07it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.06it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.04it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.04it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.03it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.02it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.02it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.02it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.02it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.02it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.01it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.02it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.02it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.02it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.03it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.03it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.03it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.03it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.03it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.03it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.03it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.03it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.05it/s]", "metrics": { "predict_time": 9.967177003, "total_time": 9.98499 }, "output": [ "https://replicate.delivery/xezq/cP647qWtxfVtUyaM4yAtJphioSoj8yZg1gfxoybJ24ghazzTA/out-0.webp" ], "started_at": "2024-11-23T07:30:31.924813Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-6is723ghhqpue4offrqdjqaipuktb7vybptmjhvz74forfgui6nq", "get": "https://api.replicate.com/v1/predictions/j7mwvm7hcdrme0ckazpvs55k3m", "cancel": "https://api.replicate.com/v1/predictions/j7mwvm7hcdrme0ckazpvs55k3m/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 39843 Prompt: A horizontal rectangular artichokeammu box next to a teapot, waterfall background, with a warm color tone and natural lighting, hyper-realistc style [!] txt2img mode Using dev model Loaded LoRAs in 0.47s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.03it/s] 7%|▋ | 2/28 [00:00<00:07, 3.38it/s] 11%|█ | 3/28 [00:00<00:07, 3.22it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.14it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.10it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.08it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.07it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.06it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.04it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.04it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.03it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.02it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.02it/s] 50%|█████ | 14/28 [00:04<00:04, 3.02it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.02it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.02it/s] 61%|██████ | 17/28 [00:05<00:03, 3.01it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.02it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.02it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.02it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.03it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.03it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.03it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.03it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.03it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.03it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.03it/s] 100%|██████████| 28/28 [00:09<00:00, 3.03it/s] 100%|██████████| 28/28 [00:09<00:00, 3.05it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDawtd606taxrmc0ckazqbm8waswStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T07:31:41.037344Z", "created_at": "2024-11-23T07:31:31.543000Z", "data_removed": false, "error": null, "id": "awtd606taxrmc0ckazqbm8wasw", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 24276\nPrompt: A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style\n[!] txt2img mode\nUsing dev model\nWeights already loaded\nLoaded LoRAs in 0.02s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.03it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.39it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.22it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.14it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.11it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.08it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.07it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.06it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.05it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.05it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.04it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.04it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.04it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.04it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.04it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.04it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.04it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.04it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.04it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.04it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.04it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.04it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.04it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.04it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.03it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.04it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.03it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.03it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.06it/s]", "metrics": { "predict_time": 9.486600638, "total_time": 9.494344 }, "output": [ "https://replicate.delivery/xezq/DueeWmdAwmic8ky1suSP9bHtrxRuXG9rtAzVz68iVS7dbzzTA/out-0.webp" ], "started_at": "2024-11-23T07:31:31.550743Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-vibgj4m6h457qngutblzno6rz44kx4xeyn22m76d3dpsswz2uz4a", "get": "https://api.replicate.com/v1/predictions/awtd606taxrmc0ckazqbm8wasw", "cancel": "https://api.replicate.com/v1/predictions/awtd606taxrmc0ckazqbm8wasw/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 24276 Prompt: A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style [!] txt2img mode Using dev model Weights already loaded Loaded LoRAs in 0.02s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.03it/s] 7%|▋ | 2/28 [00:00<00:07, 3.39it/s] 11%|█ | 3/28 [00:00<00:07, 3.22it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.14it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.11it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.08it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.07it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.06it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.05it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.05it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.04it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.04it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.04it/s] 50%|█████ | 14/28 [00:04<00:04, 3.04it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.04it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.04it/s] 61%|██████ | 17/28 [00:05<00:03, 3.04it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.04it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.04it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.04it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.04it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.04it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.04it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.04it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.03it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.04it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.03it/s] 100%|██████████| 28/28 [00:09<00:00, 3.03it/s] 100%|██████████| 28/28 [00:09<00:00, 3.06it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662ID13bpyxmyc9rmc0ckazqsahw81wStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T07:32:32.085399Z", "created_at": "2024-11-23T07:32:21.730000Z", "data_removed": false, "error": null, "id": "13bpyxmyc9rmc0ckazqsahw81w", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 34786\nPrompt: A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.61s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.06it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.42it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.25it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.08it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.07it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.09it/s]", "metrics": { "predict_time": 10.182510404, "total_time": 10.355399 }, "output": [ "https://replicate.delivery/xezq/shhK8cqZt37aJdqpoHM4eoIbYqyfD39EeSvBDasCaCDh4mnnA/out-0.png" ], "started_at": "2024-11-23T07:32:21.902888Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-svx4qarkzrtmxwlksvyujmnkv2gdvbh7xl4grzmebz6tjw7sdmdq", "get": "https://api.replicate.com/v1/predictions/13bpyxmyc9rmc0ckazqsahw81w", "cancel": "https://api.replicate.com/v1/predictions/13bpyxmyc9rmc0ckazqsahw81w/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 34786 Prompt: A horizontal rectangular artichokeammu box next to a glass teapot, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style [!] txt2img mode Using dev model Loaded LoRAs in 0.61s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.06it/s] 7%|▋ | 2/28 [00:00<00:07, 3.42it/s] 11%|█ | 3/28 [00:00<00:07, 3.25it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.08it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s] 50%|█████ | 14/28 [00:04<00:04, 3.07it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.09it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDbge90fprwhrme0ckazram992e8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T07:33:52.513291Z", "created_at": "2024-11-23T07:33:42.244000Z", "data_removed": false, "error": null, "id": "bge90fprwhrme0ckazram992e8", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 22334\nPrompt: A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.60s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.06it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.42it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.25it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.09it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.08it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.08it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.07it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.09it/s]", "metrics": { "predict_time": 10.170477592, "total_time": 10.269291 }, "output": [ "https://replicate.delivery/xezq/rRfciEoUhSQlLqTXM3HhHPUpMHlPlvtGgcVCTwPWfungdzzTA/out-0.png" ], "started_at": "2024-11-23T07:33:42.342813Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-etvzyi2ry6dbmeshnsp7outsoi2ifgs3eiovo52mqxogtaottlma", "get": "https://api.replicate.com/v1/predictions/bge90fprwhrme0ckazram992e8", "cancel": "https://api.replicate.com/v1/predictions/bge90fprwhrme0ckazram992e8/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 22334 Prompt: A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, waterfall background, with a warm color tone and natural lighting, hyper-realistc style [!] txt2img mode Using dev model Loaded LoRAs in 0.60s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.06it/s] 7%|▋ | 2/28 [00:00<00:07, 3.42it/s] 11%|█ | 3/28 [00:00<00:07, 3.25it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.09it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.08it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.08it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s] 50%|█████ | 14/28 [00:04<00:04, 3.07it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.09it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662ID64wv5exc89rme0ckazrrgjgd5cStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T07:34:45.958620Z", "created_at": "2024-11-23T07:34:36.354000Z", "data_removed": false, "error": null, "id": "64wv5exc89rme0ckazrrgjgd5c", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 1783\nPrompt: A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style\n[!] txt2img mode\nUsing dev model\nWeights already loaded\nLoaded LoRAs in 0.02s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.06it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.42it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.25it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.07it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.09it/s]", "metrics": { "predict_time": 9.597069367, "total_time": 9.60462 }, "output": [ "https://replicate.delivery/xezq/VXbJh8BxId5fQaGYwAwtu5mtflS0x5J4kLzfzHsYU0rq8mnnA/out-0.png" ], "started_at": "2024-11-23T07:34:36.361551Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-um5yoauptfppnei5eaqt5uc26ocpqqgutcyfslwhye77alxfjxja", "get": "https://api.replicate.com/v1/predictions/64wv5exc89rme0ckazrrgjgd5c", "cancel": "https://api.replicate.com/v1/predictions/64wv5exc89rme0ckazrrgjgd5c/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 1783 Prompt: A horizontal rectangular artichokeammu box next to a glass teapot, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style [!] txt2img mode Using dev model Weights already loaded Loaded LoRAs in 0.02s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.06it/s] 7%|▋ | 2/28 [00:00<00:07, 3.42it/s] 11%|█ | 3/28 [00:00<00:07, 3.25it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s] 50%|█████ | 14/28 [00:04<00:04, 3.07it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.09it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDg4fjnpgcq5rmc0ckazva7192bwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoky effect, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoky effect, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoky effect, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoky effect, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoky effect, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T07:39:33.295565Z", "created_at": "2024-11-23T07:39:23.193000Z", "data_removed": false, "error": null, "id": "g4fjnpgcq5rmc0ckazva7192bw", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoky effect, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 28552\nPrompt: A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoky effect, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.47s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.07it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.42it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.25it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.07it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.09it/s]", "metrics": { "predict_time": 10.034327779, "total_time": 10.102565 }, "output": [ "https://replicate.delivery/xezq/wU9eLlo9bWzSH63MkQMxIQuJYmV5oxzmZuBWyyvd1fp1izzTA/out-0.png" ], "started_at": "2024-11-23T07:39:23.261237Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-yhwrfrfjtny6xp5defpmforbuvat4rpn5va4p62uh2hrhpsmc7gq", "get": "https://api.replicate.com/v1/predictions/g4fjnpgcq5rmc0ckazva7192bw", "cancel": "https://api.replicate.com/v1/predictions/g4fjnpgcq5rmc0ckazva7192bw/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 28552 Prompt: A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoky effect, on a rock, 100% original artichokeammu, AMMU brand, waterfall background, with a warm color tone and natural lighting, hyper-realistc style [!] txt2img mode Using dev model Loaded LoRAs in 0.47s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.07it/s] 7%|▋ | 2/28 [00:00<00:07, 3.42it/s] 11%|█ | 3/28 [00:00<00:07, 3.25it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s] 50%|█████ | 14/28 [00:04<00:04, 3.07it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.09it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDf2mzbq3gf9rmc0ckazybt9dfq4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\n", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T07:46:32.179382Z", "created_at": "2024-11-23T07:46:21.946000Z", "data_removed": false, "error": null, "id": "f2mzbq3gf9rmc0ckazybt9dfq4", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 19026\nPrompt: A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.61s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.06it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.42it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.25it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.08it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.07it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.09it/s]", "metrics": { "predict_time": 10.174377782, "total_time": 10.233382 }, "output": [ "https://replicate.delivery/xezq/bOeMzVFGg2SpIauVUqPWrELi3HCqvamGlYFuNXetsk7YpzzTA/out-0.png" ], "started_at": "2024-11-23T07:46:22.005004Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-vgotd4jpddp5x4oldiojpqz3iihm7zeatquxoxggxop2umt6balq", "get": "https://api.replicate.com/v1/predictions/f2mzbq3gf9rmc0ckazybt9dfq4", "cancel": "https://api.replicate.com/v1/predictions/f2mzbq3gf9rmc0ckazybt9dfq4/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 19026 Prompt: A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style. [!] txt2img mode Using dev model Loaded LoRAs in 0.61s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.06it/s] 7%|▋ | 2/28 [00:00<00:07, 3.42it/s] 11%|█ | 3/28 [00:00<00:07, 3.25it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.08it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s] 50%|█████ | 14/28 [00:04<00:04, 3.07it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.09it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDs80fzpgy3xrme0ckazyv04ywhrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\n", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T07:47:16.054976Z", "created_at": "2024-11-23T07:47:06.399000Z", "data_removed": false, "error": null, "id": "s80fzpgy3xrme0ckazyv04ywhr", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 3441\nPrompt: A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style.\n[!] txt2img mode\nUsing dev model\nWeights already loaded\nLoaded LoRAs in 0.02s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.05it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.40it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.23it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.07it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.06it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.05it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.05it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.05it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.05it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.05it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.05it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.05it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.05it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.05it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.05it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.05it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.05it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.05it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.05it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.05it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.05it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]", "metrics": { "predict_time": 9.649647991, "total_time": 9.655976 }, "output": [ "https://replicate.delivery/xezq/QdyoDf3RFySMZqQyiphxeO6nCqV3xQzGHArYGaL5V8jEqzzTA/out-0.png" ], "started_at": "2024-11-23T07:47:06.405328Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-mppztjlofojgnzpfxmh2cupvtq65vmoodqcbqvy3ljdkjdojkjwq", "get": "https://api.replicate.com/v1/predictions/s80fzpgy3xrme0ckazyv04ywhr", "cancel": "https://api.replicate.com/v1/predictions/s80fzpgy3xrme0ckazyv04ywhr/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 3441 Prompt: A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, artichoke farms background, with a warm color tone and natural lighting, hyper-realistc style. [!] txt2img mode Using dev model Weights already loaded Loaded LoRAs in 0.02s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.05it/s] 7%|▋ | 2/28 [00:00<00:07, 3.40it/s] 11%|█ | 3/28 [00:00<00:07, 3.23it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.07it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.06it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.05it/s] 50%|█████ | 14/28 [00:04<00:04, 3.05it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.05it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.05it/s] 61%|██████ | 17/28 [00:05<00:03, 3.05it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.05it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.05it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.05it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.05it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.05it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.05it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.05it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.05it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.05it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.05it/s] 100%|██████████| 28/28 [00:09<00:00, 3.05it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662ID395f5mzmwxrme0ckazyr0srra8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\n", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T07:48:11.518538Z", "created_at": "2024-11-23T07:48:01.383000Z", "data_removed": false, "error": null, "id": "395f5mzmwxrme0ckazyr0srra8", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 57359\nPrompt: A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.46s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.05it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.40it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.23it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.07it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.05it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.05it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.05it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.05it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.05it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.05it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.05it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.05it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.05it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.05it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.05it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]", "metrics": { "predict_time": 10.063338883, "total_time": 10.135538 }, "output": [ "https://replicate.delivery/xezq/xIZ0BU6jffpGBU52gOulUjaeHcI3f2OmUhpocFMIxMRtrOPPB/out-0.png" ], "started_at": "2024-11-23T07:48:01.455199Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-b4ulbeossc3vrnkwefcfpvy7kzkqbffbw6nqdkkob7gt5w7xqjpq", "get": "https://api.replicate.com/v1/predictions/395f5mzmwxrme0ckazyr0srra8", "cancel": "https://api.replicate.com/v1/predictions/395f5mzmwxrme0ckazyr0srra8/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 57359 Prompt: A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style. [!] txt2img mode Using dev model Loaded LoRAs in 0.46s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.05it/s] 7%|▋ | 2/28 [00:00<00:07, 3.40it/s] 11%|█ | 3/28 [00:00<00:07, 3.23it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.07it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.05it/s] 50%|█████ | 14/28 [00:04<00:04, 3.05it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.05it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.05it/s] 61%|██████ | 17/28 [00:05<00:03, 3.05it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.05it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.05it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.05it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.05it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.05it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.05it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662ID2bkeps3fz1rmc0ckazzbrwx0dmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\n", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-23T07:48:43.132491Z", "created_at": "2024-11-23T07:48:32.888000Z", "data_removed": false, "error": null, "id": "2bkeps3fz1rmc0ckazzbrwx0dm", "input": { "model": "dev", "prompt": "A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\n", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 50883\nPrompt: A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.61s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.07it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.43it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.26it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.12it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.10it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.09it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.08it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.08it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.08it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.08it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.09it/s]", "metrics": { "predict_time": 10.182089026, "total_time": 10.244491 }, "output": [ "https://replicate.delivery/xezq/9ALFthJqqNIuAZtpyxqWIzbiqIG5ZoK7YeTqIbVqhmht155JA/out-0.png" ], "started_at": "2024-11-23T07:48:32.950402Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-366xr7wsvsfxmjkcez6hqagcskin4jtlygcv2urdq3rnhdq2mzjq", "get": "https://api.replicate.com/v1/predictions/2bkeps3fz1rmc0ckazzbrwx0dm", "cancel": "https://api.replicate.com/v1/predictions/2bkeps3fz1rmc0ckazzbrwx0dm/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 50883 Prompt: A horizontal rectangular artichokeammu box next to a glass teapot, next to a tea cup with smoke, all set on a marble table, 100% original artichokeammu box, AMMU brand, city background, with a warm color tone and natural lighting, hyper-realistc style. [!] txt2img mode Using dev model Loaded LoRAs in 0.61s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.07it/s] 7%|▋ | 2/28 [00:00<00:07, 3.43it/s] 11%|█ | 3/28 [00:00<00:07, 3.26it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.18it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.14it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.12it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.10it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.10it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.09it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.08it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.08it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.08it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.08it/s] 50%|█████ | 14/28 [00:04<00:04, 3.08it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.07it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s] 100%|██████████| 28/28 [00:09<00:00, 3.09it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDxrx44m96xsrme0ckc42se4z5d4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-25T01:52:39.655596Z", "created_at": "2024-11-25T01:52:27.886000Z", "data_removed": false, "error": null, "id": "xrx44m96xsrme0ckc42se4z5d4", "input": { "model": "dev", "prompt": "an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 13750\nPrompt: an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery\n[!] txt2img mode\nUsing dev model\nfree=29118614716416\nDownloading weights\n2024-11-25T01:52:28Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpk008ecvd/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\n2024-11-25T01:52:29Z | INFO | [ Complete ] dest=/tmp/tmpk008ecvd/weights size=\"172 MB\" total_elapsed=1.666s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\nDownloaded weights in 1.69s\nLoaded LoRAs in 2.31s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.06it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.42it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.25it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.09it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.07it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.07it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.08it/s]", "metrics": { "predict_time": 11.682501527, "total_time": 11.769596 }, "output": [ "https://replicate.delivery/xezq/B4VqoZuyJA6NGBXtj880xHPo3F3Fnpbtc2OFUvEDfJtzUM6JA/out-0.webp" ], "started_at": "2024-11-25T01:52:27.973095Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-q5wfqr5kz5c7uynoln5k4cgrn2j4fdzl5tvsql7otxtsf7olb5na", "get": "https://api.replicate.com/v1/predictions/xrx44m96xsrme0ckc42se4z5d4", "cancel": "https://api.replicate.com/v1/predictions/xrx44m96xsrme0ckc42se4z5d4/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 13750 Prompt: an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery [!] txt2img mode Using dev model free=29118614716416 Downloading weights 2024-11-25T01:52:28Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpk008ecvd/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar 2024-11-25T01:52:29Z | INFO | [ Complete ] dest=/tmp/tmpk008ecvd/weights size="172 MB" total_elapsed=1.666s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar Downloaded weights in 1.69s Loaded LoRAs in 2.31s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.06it/s] 7%|▋ | 2/28 [00:00<00:07, 3.42it/s] 11%|█ | 3/28 [00:00<00:07, 3.25it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.17it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.11it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.09it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.09it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.08it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.07it/s] 50%|█████ | 14/28 [00:04<00:04, 3.07it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.07it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.07it/s] 61%|██████ | 17/28 [00:05<00:03, 3.07it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.07it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.07it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.07it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.07it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.07it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.07it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.07it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.07it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.08it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662ID560jjw462xrm80ckc439s12ms4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery, hyper realistic
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery, hyper realistic", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery, hyper realistic", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery, hyper realistic", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery, hyper realistic", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-25T01:54:11.006366Z", "created_at": "2024-11-25T01:53:57.783000Z", "data_removed": false, "error": null, "id": "560jjw462xrm80ckc439s12ms4", "input": { "model": "dev", "prompt": "an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery, hyper realistic", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 40301\nPrompt: an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery, hyper realistic\n[!] txt2img mode\nUsing dev model\nfree=29128409632768\nDownloading weights\n2024-11-25T01:53:58Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp8fklo3jd/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\n2024-11-25T01:54:01Z | INFO | [ Complete ] dest=/tmp/tmp8fklo3jd/weights size=\"172 MB\" total_elapsed=2.871s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\nDownloaded weights in 2.90s\nLoaded LoRAs in 3.52s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.05it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.41it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.24it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.08it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.06it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.06it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.06it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.06it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.06it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.05it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.05it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.07it/s]", "metrics": { "predict_time": 12.916945824, "total_time": 13.223366 }, "output": [ "https://replicate.delivery/xezq/JnpKdGuaYMo9MtYkcYtgf7c4yJeflUqiIbexPiUFwBoPsiRPB/out-0.webp" ], "started_at": "2024-11-25T01:53:58.089420Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-scd3ieuzahridemzgi3fetpg3rkbudy5a3vd6vnbpwu2s52vopfq", "get": "https://api.replicate.com/v1/predictions/560jjw462xrm80ckc439s12ms4", "cancel": "https://api.replicate.com/v1/predictions/560jjw462xrm80ckc439s12ms4/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 40301 Prompt: an old female asian model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, rice farm scenery, hyper realistic [!] txt2img mode Using dev model free=29128409632768 Downloading weights 2024-11-25T01:53:58Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp8fklo3jd/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar 2024-11-25T01:54:01Z | INFO | [ Complete ] dest=/tmp/tmp8fklo3jd/weights size="172 MB" total_elapsed=2.871s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar Downloaded weights in 2.90s Loaded LoRAs in 3.52s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.05it/s] 7%|▋ | 2/28 [00:00<00:07, 3.41it/s] 11%|█ | 3/28 [00:00<00:07, 3.24it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.12it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.08it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.08it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.06it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.06it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.06it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s] 50%|█████ | 14/28 [00:04<00:04, 3.06it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.06it/s] 61%|██████ | 17/28 [00:05<00:03, 3.06it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.06it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.06it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.05it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.05it/s] 100%|██████████| 28/28 [00:09<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.07it/s]
Prediction
nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662IDk4kwcy3ftnrme0ckc45v81cdtmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- an female thor marvel model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, hyper realistic
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "an female thor marvel model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, hyper realistic", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", { input: { model: "dev", prompt: "an female thor marvel model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, hyper realistic", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run nhan4890/artichokeammu using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", input={ "model": "dev", "prompt": "an female thor marvel model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, hyper realistic", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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.
Run nhan4890/artichokeammu 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": "nhan4890/artichokeammu:fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662", "input": { "model": "dev", "prompt": "an female thor marvel model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, hyper realistic", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-25T01:59:36.798960Z", "created_at": "2024-11-25T01:59:19.765000Z", "data_removed": false, "error": null, "id": "k4kwcy3ftnrme0ckc45v81cdtm", "input": { "model": "dev", "prompt": "an female thor marvel model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, hyper realistic", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 14070\nPrompt: an female thor marvel model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, hyper realistic\n[!] txt2img mode\nUsing dev model\nfree=29248477642752\nDownloading weights\n2024-11-25T01:59:23Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9v39pxy3/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\n2024-11-25T01:59:26Z | INFO | [ Complete ] dest=/tmp/tmp9v39pxy3/weights size=\"172 MB\" total_elapsed=3.271s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar\nDownloaded weights in 3.29s\nLoaded LoRAs in 3.92s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:08, 3.05it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.41it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.24it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.09it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 3.08it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s]\n 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s]\n 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.06it/s]\n 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.06it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.06it/s]\n 64%|██████▍ | 18/28 [00:05<00:03, 3.06it/s]\n 68%|██████▊ | 19/28 [00:06<00:02, 3.06it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s]\n 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s]\n 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s]\n 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.06it/s]\n100%|██████████| 28/28 [00:09<00:00, 3.08it/s]", "metrics": { "predict_time": 13.308500571, "total_time": 17.03396 }, "output": [ "https://replicate.delivery/xezq/HfOQTmwXoMzCaqYKEfkb7iJhMeuWrxfT2FjVeydT5hCGBGjeE/out-0.webp" ], "started_at": "2024-11-25T01:59:23.490459Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-64iafkw5cdhkaqu565v75jyxppgjxcjklbgakoecdb33meemsnca", "get": "https://api.replicate.com/v1/predictions/k4kwcy3ftnrme0ckc45v81cdtm", "cancel": "https://api.replicate.com/v1/predictions/k4kwcy3ftnrme0ckc45v81cdtm/cancel" }, "version": "fa9cc24c0f51a942fcc5523ebfd253ac6bfd55ad7046675387883c071ed1e662" }
Generated inUsing seed: 14070 Prompt: an female thor marvel model hold an artichokeammu tea box, 100% original artichokeammu, front face of artichokeammu box, ammu brand on the box, smiling, commercial photography, beautiful and detail hand, outdoor lighting, city scenery, hyper realistic [!] txt2img mode Using dev model free=29248477642752 Downloading weights 2024-11-25T01:59:23Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9v39pxy3/weights url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar 2024-11-25T01:59:26Z | INFO | [ Complete ] dest=/tmp/tmp9v39pxy3/weights size="172 MB" total_elapsed=3.271s url=https://replicate.delivery/xezq/EPjuZFaFdLoVOdjpM7zdpKF1uXI5giAHVZgwsSeLVEKV845JA/trained_model.tar Downloaded weights in 3.29s Loaded LoRAs in 3.92s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:08, 3.05it/s] 7%|▋ | 2/28 [00:00<00:07, 3.41it/s] 11%|█ | 3/28 [00:00<00:07, 3.24it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.16it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.13it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.10it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.09it/s] 29%|██▊ | 8/28 [00:02<00:06, 3.08it/s] 32%|███▏ | 9/28 [00:02<00:06, 3.07it/s] 36%|███▌ | 10/28 [00:03<00:05, 3.07it/s] 39%|███▉ | 11/28 [00:03<00:05, 3.07it/s] 43%|████▎ | 12/28 [00:03<00:05, 3.07it/s] 46%|████▋ | 13/28 [00:04<00:04, 3.06it/s] 50%|█████ | 14/28 [00:04<00:04, 3.06it/s] 54%|█████▎ | 15/28 [00:04<00:04, 3.06it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.06it/s] 61%|██████ | 17/28 [00:05<00:03, 3.06it/s] 64%|██████▍ | 18/28 [00:05<00:03, 3.06it/s] 68%|██████▊ | 19/28 [00:06<00:02, 3.06it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.06it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.06it/s] 79%|███████▊ | 22/28 [00:07<00:01, 3.06it/s] 82%|████████▏ | 23/28 [00:07<00:01, 3.06it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.06it/s] 89%|████████▉ | 25/28 [00:08<00:00, 3.06it/s] 93%|█████████▎| 26/28 [00:08<00:00, 3.06it/s] 96%|█████████▋| 27/28 [00:08<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.06it/s] 100%|██████████| 28/28 [00:09<00:00, 3.08it/s]
Want to make some of these yourself?
Run this model