Prediction
gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062IDtc79vketr9rm20cjj2ptppv1qgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 50891
- model
- dev
- prompt
- a girl taking selfie with the tesla optimus robot OPTIMAUSI
- 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
{ "seed": 50891, "model": "dev", "prompt": "a girl taking selfie with the tesla optimus robot OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", { input: { seed: 50891, model: "dev", prompt: "a girl taking selfie with the tesla optimus robot OPTIMAUSI", 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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", input={ "seed": 50891, "model": "dev", "prompt": "a girl taking selfie with the tesla optimus robot OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora 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": "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", "input": { "seed": 50891, "model": "dev", "prompt": "a girl taking selfie with the tesla optimus robot OPTIMAUSI", "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-10-15T14:56:22.622148Z", "created_at": "2024-10-15T14:56:05.826000Z", "data_removed": false, "error": null, "id": "tc79vketr9rm20cjj2ptppv1qg", "input": { "seed": 50891, "model": "dev", "prompt": "a girl taking selfie with the tesla optimus robot OPTIMAUSI", "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: 50891\nPrompt: a girl taking selfie with the tesla optimus robot OPTIMAUSI\n[!] txt2img mode\nUsing dev model\nfree=9034281246720\nDownloading weights\n2024-10-15T14:56:10Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpwhnc3hxo/weights url=https://replicate.delivery/yhqm/vBfJetq5e3A3Vp2kHYrliMs26zce0afnAaLVLJmpfis5nrw5E/trained_model.tar\n2024-10-15T14:56:12Z | INFO | [ Complete ] dest=/tmp/tmpwhnc3hxo/weights size=\"172 MB\" total_elapsed=1.129s url=https://replicate.delivery/yhqm/vBfJetq5e3A3Vp2kHYrliMs26zce0afnAaLVLJmpfis5nrw5E/trained_model.tar\nDownloaded weights in 1.16s\nLoaded LoRAs in 1.74s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.88it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.22it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.06it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.99it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.95it/s]\n 21%|██▏ | 6/28 [00:02<00:07, 2.93it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.91it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.90it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.90it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.89it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.89it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.88it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.88it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.88it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.88it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.88it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.88it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.88it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.88it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.88it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.88it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.88it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.88it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.90it/s]", "metrics": { "predict_time": 11.736891618, "total_time": 16.796148 }, "output": [ "https://replicate.delivery/yhqm/eyyukat9wAQ4IiT4ELrWz64Vf6Du9JUgEcEigZVbG1BWSDnTA/out-0.webp" ], "started_at": "2024-10-15T14:56:10.885257Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/tc79vketr9rm20cjj2ptppv1qg", "cancel": "https://api.replicate.com/v1/predictions/tc79vketr9rm20cjj2ptppv1qg/cancel" }, "version": "762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062" }
Generated inUsing seed: 50891 Prompt: a girl taking selfie with the tesla optimus robot OPTIMAUSI [!] txt2img mode Using dev model free=9034281246720 Downloading weights 2024-10-15T14:56:10Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpwhnc3hxo/weights url=https://replicate.delivery/yhqm/vBfJetq5e3A3Vp2kHYrliMs26zce0afnAaLVLJmpfis5nrw5E/trained_model.tar 2024-10-15T14:56:12Z | INFO | [ Complete ] dest=/tmp/tmpwhnc3hxo/weights size="172 MB" total_elapsed=1.129s url=https://replicate.delivery/yhqm/vBfJetq5e3A3Vp2kHYrliMs26zce0afnAaLVLJmpfis5nrw5E/trained_model.tar Downloaded weights in 1.16s Loaded LoRAs in 1.74s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.88it/s] 7%|▋ | 2/28 [00:00<00:08, 3.22it/s] 11%|█ | 3/28 [00:00<00:08, 3.06it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.99it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.95it/s] 21%|██▏ | 6/28 [00:02<00:07, 2.93it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.91it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.90it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.90it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.89it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s] 50%|█████ | 14/28 [00:04<00:04, 2.89it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s] 61%|██████ | 17/28 [00:05<00:03, 2.88it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.88it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.88it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.88it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.88it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.88it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.88it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.88it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.88it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.88it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.88it/s] 100%|██████████| 28/28 [00:09<00:00, 2.88it/s] 100%|██████████| 28/28 [00:09<00:00, 2.90it/s]
Prediction
gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062IDe5thcbs9n1rm60cjj2vr75717wStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 2845
- model
- dev
- prompt
- a photo of a guy taking selfie with the tesla optimus robot, with a group of people behind at night OPTIMAUSI
- 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
{ "seed": 2845, "model": "dev", "prompt": "a photo of a guy taking selfie with the tesla optimus robot, with a group of people behind at night OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", { input: { seed: 2845, model: "dev", prompt: "a photo of a guy taking selfie with the tesla optimus robot, with a group of people behind at night OPTIMAUSI", 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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", input={ "seed": 2845, "model": "dev", "prompt": "a photo of a guy taking selfie with the tesla optimus robot, with a group of people behind at night OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora 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": "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", "input": { "seed": 2845, "model": "dev", "prompt": "a photo of a guy taking selfie with the tesla optimus robot, with a group of people behind at night OPTIMAUSI", "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-10-15T15:06:37.898609Z", "created_at": "2024-10-15T15:06:15.848000Z", "data_removed": false, "error": null, "id": "e5thcbs9n1rm60cjj2vr75717w", "input": { "seed": 2845, "model": "dev", "prompt": "a photo of a guy taking selfie with the tesla optimus robot, with a group of people behind at night OPTIMAUSI", "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: 2845\nPrompt: a photo of a guy taking selfie with the tesla optimus robot, with a group of people behind at night OPTIMAUSI\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.69s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.89it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.22it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.06it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.99it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.95it/s]\n 21%|██▏ | 6/28 [00:02<00:07, 2.93it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.92it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.91it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.90it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.90it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.89it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.89it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.89it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.89it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.89it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.89it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.89it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.89it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.89it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.89it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.89it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.89it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.89it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.91it/s]", "metrics": { "predict_time": 10.66316128, "total_time": 22.050609 }, "output": [ "https://replicate.delivery/yhqm/m7pGS0MIqeQYFS9ApEHj072FHeKfommreUT7iWtsEq50vNcOB/out-0.webp" ], "started_at": "2024-10-15T15:06:27.235448Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/e5thcbs9n1rm60cjj2vr75717w", "cancel": "https://api.replicate.com/v1/predictions/e5thcbs9n1rm60cjj2vr75717w/cancel" }, "version": "762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062" }
Generated inUsing seed: 2845 Prompt: a photo of a guy taking selfie with the tesla optimus robot, with a group of people behind at night OPTIMAUSI [!] txt2img mode Using dev model Loaded LoRAs in 0.69s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.89it/s] 7%|▋ | 2/28 [00:00<00:08, 3.22it/s] 11%|█ | 3/28 [00:00<00:08, 3.06it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.99it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.95it/s] 21%|██▏ | 6/28 [00:02<00:07, 2.93it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.92it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.91it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.90it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.90it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s] 50%|█████ | 14/28 [00:04<00:04, 2.89it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s] 61%|██████ | 17/28 [00:05<00:03, 2.89it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.89it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.89it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.89it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.89it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.89it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.89it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.89it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.89it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.89it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.89it/s] 100%|██████████| 28/28 [00:09<00:00, 2.89it/s] 100%|██████████| 28/28 [00:09<00:00, 2.91it/s]
Prediction
gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062ID55ga9p5eznrm20cjj2zbcnh7e8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 18745
- model
- dev
- prompt
- a photo of tesla optimus robot driving a car with a family inside OPTIMAUSI
- 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
{ "seed": 18745, "model": "dev", "prompt": "a photo of tesla optimus robot driving a car with a family inside OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", { input: { seed: 18745, model: "dev", prompt: "a photo of tesla optimus robot driving a car with a family inside OPTIMAUSI", 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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", input={ "seed": 18745, "model": "dev", "prompt": "a photo of tesla optimus robot driving a car with a family inside OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora 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": "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", "input": { "seed": 18745, "model": "dev", "prompt": "a photo of tesla optimus robot driving a car with a family inside OPTIMAUSI", "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-10-15T15:14:55.710855Z", "created_at": "2024-10-15T15:14:28.733000Z", "data_removed": false, "error": null, "id": "55ga9p5eznrm20cjj2zbcnh7e8", "input": { "seed": 18745, "model": "dev", "prompt": "a photo of tesla optimus robot driving a car with a family inside OPTIMAUSI", "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: 18745\nPrompt: a photo of tesla optimus robot driving a car with a family inside OPTIMAUSI\n[!] txt2img mode\nUsing dev model\nfree=6626260652032\nDownloading weights\n2024-10-15T15:14:43Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpj9phx_65/weights url=https://replicate.delivery/yhqm/vBfJetq5e3A3Vp2kHYrliMs26zce0afnAaLVLJmpfis5nrw5E/trained_model.tar\n2024-10-15T15:14:45Z | INFO | [ Complete ] dest=/tmp/tmpj9phx_65/weights size=\"172 MB\" total_elapsed=1.491s url=https://replicate.delivery/yhqm/vBfJetq5e3A3Vp2kHYrliMs26zce0afnAaLVLJmpfis5nrw5E/trained_model.tar\nDownloaded weights in 1.52s\nLoaded LoRAs in 2.14s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.88it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.21it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.05it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.98it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.94it/s]\n 21%|██▏ | 6/28 [00:02<00:07, 2.92it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.90it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.89it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.89it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.88it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.88it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.88it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.88it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.88it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.88it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.87it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.87it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.87it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.87it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.87it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.87it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.87it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.87it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.87it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.87it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.87it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.87it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.87it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.89it/s]", "metrics": { "predict_time": 12.163260267, "total_time": 26.977855 }, "output": [ "https://replicate.delivery/yhqm/PuxICdvaXTKEAd4MCRIcjOwTfds9Q7teimcSckyYq93vjDnTA/out-0.webp" ], "started_at": "2024-10-15T15:14:43.547594Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/55ga9p5eznrm20cjj2zbcnh7e8", "cancel": "https://api.replicate.com/v1/predictions/55ga9p5eznrm20cjj2zbcnh7e8/cancel" }, "version": "762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062" }
Generated inUsing seed: 18745 Prompt: a photo of tesla optimus robot driving a car with a family inside OPTIMAUSI [!] txt2img mode Using dev model free=6626260652032 Downloading weights 2024-10-15T15:14:43Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpj9phx_65/weights url=https://replicate.delivery/yhqm/vBfJetq5e3A3Vp2kHYrliMs26zce0afnAaLVLJmpfis5nrw5E/trained_model.tar 2024-10-15T15:14:45Z | INFO | [ Complete ] dest=/tmp/tmpj9phx_65/weights size="172 MB" total_elapsed=1.491s url=https://replicate.delivery/yhqm/vBfJetq5e3A3Vp2kHYrliMs26zce0afnAaLVLJmpfis5nrw5E/trained_model.tar Downloaded weights in 1.52s Loaded LoRAs in 2.14s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.88it/s] 7%|▋ | 2/28 [00:00<00:08, 3.21it/s] 11%|█ | 3/28 [00:00<00:08, 3.05it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.98it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.94it/s] 21%|██▏ | 6/28 [00:02<00:07, 2.92it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.90it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.89it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.89it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.88it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.88it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.88it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.88it/s] 50%|█████ | 14/28 [00:04<00:04, 2.88it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.88it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.87it/s] 61%|██████ | 17/28 [00:05<00:03, 2.87it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.87it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.87it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.87it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.87it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.87it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.87it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.87it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.87it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.87it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.87it/s] 100%|██████████| 28/28 [00:09<00:00, 2.87it/s] 100%|██████████| 28/28 [00:09<00:00, 2.89it/s]
Prediction
gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062IDz6ck8e6fn1rm00cjj2wazqvesgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 52829
- model
- dev
- prompt
- a photo of tesla optimus robot standing at taj mahal OPTIMAUSI
- 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
{ "seed": 52829, "model": "dev", "prompt": "a photo of tesla optimus robot standing at taj mahal OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", { input: { seed: 52829, model: "dev", prompt: "a photo of tesla optimus robot standing at taj mahal OPTIMAUSI", 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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", input={ "seed": 52829, "model": "dev", "prompt": "a photo of tesla optimus robot standing at taj mahal OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora 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": "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", "input": { "seed": 52829, "model": "dev", "prompt": "a photo of tesla optimus robot standing at taj mahal OPTIMAUSI", "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-10-15T15:08:26.468216Z", "created_at": "2024-10-15T15:08:03.880000Z", "data_removed": false, "error": null, "id": "z6ck8e6fn1rm00cjj2wazqvesg", "input": { "seed": 52829, "model": "dev", "prompt": "a photo of tesla optimus robot standing at taj mahal OPTIMAUSI", "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: 52829\nPrompt: a photo of tesla optimus robot standing at taj mahal OPTIMAUSI\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:09, 2.88it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.21it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.05it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.98it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.94it/s]\n 21%|██▏ | 6/28 [00:02<00:07, 2.92it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.90it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.89it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.89it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.88it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.88it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.88it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.88it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.88it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.88it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.88it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.87it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.87it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.88it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.88it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.87it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.87it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.87it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.88it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.88it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.87it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.87it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.87it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.89it/s]", "metrics": { "predict_time": 10.608164635, "total_time": 22.588216 }, "output": [ "https://replicate.delivery/yhqm/efyXNO5Rvxqf5omXfIXfVTgfjRl0CBezZ9QGkdmXKDMK1uhzJA/out-0.webp" ], "started_at": "2024-10-15T15:08:15.860051Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/z6ck8e6fn1rm00cjj2wazqvesg", "cancel": "https://api.replicate.com/v1/predictions/z6ck8e6fn1rm00cjj2wazqvesg/cancel" }, "version": "762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062" }
Generated inUsing seed: 52829 Prompt: a photo of tesla optimus robot standing at taj mahal OPTIMAUSI [!] txt2img mode Using dev model Loaded LoRAs in 0.58s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.88it/s] 7%|▋ | 2/28 [00:00<00:08, 3.21it/s] 11%|█ | 3/28 [00:00<00:08, 3.05it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.98it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.94it/s] 21%|██▏ | 6/28 [00:02<00:07, 2.92it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.90it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.89it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.89it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.88it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.88it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.88it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.88it/s] 50%|█████ | 14/28 [00:04<00:04, 2.88it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.88it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.88it/s] 61%|██████ | 17/28 [00:05<00:03, 2.87it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.87it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.88it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.88it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.87it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.87it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.87it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.88it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.88it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.87it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.87it/s] 100%|██████████| 28/28 [00:09<00:00, 2.87it/s] 100%|██████████| 28/28 [00:09<00:00, 2.89it/s]
Prediction
gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062IDy2sbx8x3fnrm40cjj2yvvnkwzgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 17890
- model
- dev
- prompt
- a photo of tesla optimus robot doing cleaning at home OPTIMAUSI
- 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
{ "seed": 17890, "model": "dev", "prompt": "a photo of tesla optimus robot doing cleaning at home OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", { input: { seed: 17890, model: "dev", prompt: "a photo of tesla optimus robot doing cleaning at home OPTIMAUSI", 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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", input={ "seed": 17890, "model": "dev", "prompt": "a photo of tesla optimus robot doing cleaning at home OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora 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": "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", "input": { "seed": 17890, "model": "dev", "prompt": "a photo of tesla optimus robot doing cleaning at home OPTIMAUSI", "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-10-15T15:13:44.134633Z", "created_at": "2024-10-15T15:13:20.253000Z", "data_removed": false, "error": null, "id": "y2sbx8x3fnrm40cjj2yvvnkwzg", "input": { "seed": 17890, "model": "dev", "prompt": "a photo of tesla optimus robot doing cleaning at home OPTIMAUSI", "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: 17890\nPrompt: a photo of tesla optimus robot doing cleaning at home OPTIMAUSI\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:09, 2.89it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.22it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.06it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.99it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.95it/s]\n 21%|██▏ | 6/28 [00:02<00:07, 2.93it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.91it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.90it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.90it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.90it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.89it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.89it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.89it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.89it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.89it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.89it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.89it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.89it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.89it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.89it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.89it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.89it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.89it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.90it/s]", "metrics": { "predict_time": 10.552976531, "total_time": 23.881633 }, "output": [ "https://replicate.delivery/yhqm/lAs1wTNBZEolE1bc5zVSURA3Tz8ZZnjKjco6vrUW6REq4w5E/out-0.webp" ], "started_at": "2024-10-15T15:13:33.581657Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/y2sbx8x3fnrm40cjj2yvvnkwzg", "cancel": "https://api.replicate.com/v1/predictions/y2sbx8x3fnrm40cjj2yvvnkwzg/cancel" }, "version": "762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062" }
Generated inUsing seed: 17890 Prompt: a photo of tesla optimus robot doing cleaning at home OPTIMAUSI [!] txt2img mode Using dev model Loaded LoRAs in 0.58s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.89it/s] 7%|▋ | 2/28 [00:00<00:08, 3.22it/s] 11%|█ | 3/28 [00:00<00:08, 3.06it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.99it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.95it/s] 21%|██▏ | 6/28 [00:02<00:07, 2.93it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.91it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.90it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.90it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.90it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s] 50%|█████ | 14/28 [00:04<00:04, 2.89it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s] 61%|██████ | 17/28 [00:05<00:03, 2.89it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.89it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.89it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.89it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.89it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.89it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.89it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.89it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.89it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.89it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.89it/s] 100%|██████████| 28/28 [00:09<00:00, 2.89it/s] 100%|██████████| 28/28 [00:09<00:00, 2.90it/s]
Prediction
gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062IDqz725a96wxrm00cjj30ah9f730StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 14587
- model
- dev
- prompt
- a photo of tesla optimus robot cooking in a kitchen OPTIMAUSI
- 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
{ "seed": 14587, "model": "dev", "prompt": "a photo of tesla optimus robot cooking in a kitchen OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", { input: { seed: 14587, model: "dev", prompt: "a photo of tesla optimus robot cooking in a kitchen OPTIMAUSI", 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 gauravburande/flux-tesla-optimus-robot-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", input={ "seed": 14587, "model": "dev", "prompt": "a photo of tesla optimus robot cooking in a kitchen OPTIMAUSI", "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 gauravburande/flux-tesla-optimus-robot-lora 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": "gauravburande/flux-tesla-optimus-robot-lora:762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062", "input": { "seed": 14587, "model": "dev", "prompt": "a photo of tesla optimus robot cooking in a kitchen OPTIMAUSI", "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-10-15T15:16:25.262523Z", "created_at": "2024-10-15T15:16:04.967000Z", "data_removed": false, "error": null, "id": "qz725a96wxrm00cjj30ah9f730", "input": { "seed": 14587, "model": "dev", "prompt": "a photo of tesla optimus robot cooking in a kitchen OPTIMAUSI", "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: 14587\nPrompt: a photo of tesla optimus robot cooking in a kitchen OPTIMAUSI\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.72s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.88it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.21it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.05it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.98it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.95it/s]\n 21%|██▏ | 6/28 [00:02<00:07, 2.93it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.91it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.90it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.90it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.89it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.89it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.89it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.89it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.89it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.89it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.89it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.89it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.89it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.89it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.89it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.89it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.88it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.88it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.90it/s]", "metrics": { "predict_time": 10.711720742, "total_time": 20.295523 }, "output": [ "https://replicate.delivery/yhqm/V4CwaKEXqM7kD9G1f1ftutYpnbxOSUa4VEExkJqCs03JlDnTA/out-0.webp" ], "started_at": "2024-10-15T15:16:14.550802Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/qz725a96wxrm00cjj30ah9f730", "cancel": "https://api.replicate.com/v1/predictions/qz725a96wxrm00cjj30ah9f730/cancel" }, "version": "762b25bd20ce22923c31a2ec20ec633f89175a53fd94de201077f8887052b062" }
Generated inUsing seed: 14587 Prompt: a photo of tesla optimus robot cooking in a kitchen OPTIMAUSI [!] txt2img mode Using dev model Loaded LoRAs in 0.72s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.88it/s] 7%|▋ | 2/28 [00:00<00:08, 3.21it/s] 11%|█ | 3/28 [00:00<00:08, 3.05it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.98it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.95it/s] 21%|██▏ | 6/28 [00:02<00:07, 2.93it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.91it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.90it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.90it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.89it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s] 50%|█████ | 14/28 [00:04<00:04, 2.89it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s] 61%|██████ | 17/28 [00:05<00:03, 2.89it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.89it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.89it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.89it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.89it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.89it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.89it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.89it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.89it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.89it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.88it/s] 100%|██████████| 28/28 [00:09<00:00, 2.88it/s] 100%|██████████| 28/28 [00:09<00:00, 2.90it/s]
Want to make some of these yourself?
Run this model