swk23 / cody
- Public
- 19 runs
-
H100
Prediction
swk23/cody:631eee27696ea44e995c8c4c7fceae9eba5e7057710dc2a0a95993d001ad801eModelID61fjdvr6j9rma0cn0vdsvac0vwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A rugged, battle-worn man stands on the arid sands of Tatooine, his sharp eyes scanning the endless desert horizon. He wears a tattered, sand-colored poncho draped over his broad shoulders, the fabric worn from years of travel beneath the twin suns. Beneath the poncho, he dons a simple yet practical outfit—dust-streaked trousers and a weathered tunic, built for endurance in the unforgiving heat. His short-cropped brown hair is tousled by the dry wind, and his face, marked by years of war and hardship, holds a quiet intensity. The distant silhouettes of moisture farms and jagged rock formations dot the landscape behind him, as he stands firm, gripping a blaster at his side, ever watchful in the vast and merciless expanse of the Outer Rim.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A rugged, battle-worn man stands on the arid sands of Tatooine, his sharp eyes scanning the endless desert horizon. He wears a tattered, sand-colored poncho draped over his broad shoulders, the fabric worn from years of travel beneath the twin suns. Beneath the poncho, he dons a simple yet practical outfit—dust-streaked trousers and a weathered tunic, built for endurance in the unforgiving heat. His short-cropped brown hair is tousled by the dry wind, and his face, marked by years of war and hardship, holds a quiet intensity. The distant silhouettes of moisture farms and jagged rock formations dot the landscape behind him, as he stands firm, gripping a blaster at his side, ever watchful in the vast and merciless expanse of the Outer Rim.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "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 swk23/cody using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/cody:631eee27696ea44e995c8c4c7fceae9eba5e7057710dc2a0a95993d001ad801e", { input: { model: "dev", prompt: "A rugged, battle-worn man stands on the arid sands of Tatooine, his sharp eyes scanning the endless desert horizon. He wears a tattered, sand-colored poncho draped over his broad shoulders, the fabric worn from years of travel beneath the twin suns. Beneath the poncho, he dons a simple yet practical outfit—dust-streaked trousers and a weathered tunic, built for endurance in the unforgiving heat. His short-cropped brown hair is tousled by the dry wind, and his face, marked by years of war and hardship, holds a quiet intensity. The distant silhouettes of moisture farms and jagged rock formations dot the landscape behind him, as he stands firm, gripping a blaster at his side, ever watchful in the vast and merciless expanse of the Outer Rim.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, 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 swk23/cody using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/cody:631eee27696ea44e995c8c4c7fceae9eba5e7057710dc2a0a95993d001ad801e", input={ "model": "dev", "prompt": "A rugged, battle-worn man stands on the arid sands of Tatooine, his sharp eyes scanning the endless desert horizon. He wears a tattered, sand-colored poncho draped over his broad shoulders, the fabric worn from years of travel beneath the twin suns. Beneath the poncho, he dons a simple yet practical outfit—dust-streaked trousers and a weathered tunic, built for endurance in the unforgiving heat. His short-cropped brown hair is tousled by the dry wind, and his face, marked by years of war and hardship, holds a quiet intensity. The distant silhouettes of moisture farms and jagged rock formations dot the landscape behind him, as he stands firm, gripping a blaster at his side, ever watchful in the vast and merciless expanse of the Outer Rim.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "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 swk23/cody 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": "swk23/cody:631eee27696ea44e995c8c4c7fceae9eba5e7057710dc2a0a95993d001ad801e", "input": { "model": "dev", "prompt": "A rugged, battle-worn man stands on the arid sands of Tatooine, his sharp eyes scanning the endless desert horizon. He wears a tattered, sand-colored poncho draped over his broad shoulders, the fabric worn from years of travel beneath the twin suns. Beneath the poncho, he dons a simple yet practical outfit—dust-streaked trousers and a weathered tunic, built for endurance in the unforgiving heat. His short-cropped brown hair is tousled by the dry wind, and his face, marked by years of war and hardship, holds a quiet intensity. The distant silhouettes of moisture farms and jagged rock formations dot the landscape behind him, as he stands firm, gripping a blaster at his side, ever watchful in the vast and merciless expanse of the Outer Rim.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "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": "2025-02-14T23:46:23.142923Z", "created_at": "2025-02-14T23:46:12.242000Z", "data_removed": false, "error": null, "id": "61fjdvr6j9rma0cn0vdsvac0vw", "input": { "model": "dev", "prompt": "A rugged, battle-worn man stands on the arid sands of Tatooine, his sharp eyes scanning the endless desert horizon. He wears a tattered, sand-colored poncho draped over his broad shoulders, the fabric worn from years of travel beneath the twin suns. Beneath the poncho, he dons a simple yet practical outfit—dust-streaked trousers and a weathered tunic, built for endurance in the unforgiving heat. His short-cropped brown hair is tousled by the dry wind, and his face, marked by years of war and hardship, holds a quiet intensity. The distant silhouettes of moisture farms and jagged rock formations dot the landscape behind him, as he stands firm, gripping a blaster at his side, ever watchful in the vast and merciless expanse of the Outer Rim.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=27865990418432\nDownloading weights\n2025-02-14T23:46:14Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp0_kb1b9k/weights url=https://replicate.delivery/xezq/S6Dh6u0hWa59LBDtAwfJUQYdFaeQFqrM5bkzxRBf15JKcweQB/trained_model.tar\n2025-02-14T23:46:15Z | INFO | [ Complete ] dest=/tmp/tmp0_kb1b9k/weights size=\"172 MB\" total_elapsed=1.591s url=https://replicate.delivery/xezq/S6Dh6u0hWa59LBDtAwfJUQYdFaeQFqrM5bkzxRBf15JKcweQB/trained_model.tar\nDownloaded weights in 1.62s\nLoaded LoRAs in 2.20s\nUsing seed: 4356\nPrompt: A rugged, battle-worn man stands on the arid sands of Tatooine, his sharp eyes scanning the endless desert horizon. He wears a tattered, sand-colored poncho draped over his broad shoulders, the fabric worn from years of travel beneath the twin suns. Beneath the poncho, he dons a simple yet practical outfit—dust-streaked trousers and a weathered tunic, built for endurance in the unforgiving heat. His short-cropped brown hair is tousled by the dry wind, and his face, marked by years of war and hardship, holds a quiet intensity. The distant silhouettes of moisture farms and jagged rock formations dot the landscape behind him, as he stands firm, gripping a blaster at his side, ever watchful in the vast and merciless expanse of the Outer Rim.\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:06, 4.27it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.83it/s]\n 11%|█ | 3/28 [00:00<00:05, 4.56it/s]\n 14%|█▍ | 4/28 [00:00<00:05, 4.45it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 4.39it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 4.35it/s]\n 25%|██▌ | 7/28 [00:01<00:04, 4.33it/s]\n 29%|██▊ | 8/28 [00:01<00:04, 4.32it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 4.30it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 4.30it/s]\n 39%|███▉ | 11/28 [00:02<00:03, 4.30it/s]\n 43%|████▎ | 12/28 [00:02<00:03, 4.29it/s]\n 46%|████▋ | 13/28 [00:02<00:03, 4.29it/s]\n 50%|█████ | 14/28 [00:03<00:03, 4.29it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 4.28it/s]\n 57%|█████▋ | 16/28 [00:03<00:02, 4.29it/s]\n 61%|██████ | 17/28 [00:03<00:02, 4.29it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 4.28it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 4.29it/s]\n 71%|███████▏ | 20/28 [00:04<00:01, 4.28it/s]\n 75%|███████▌ | 21/28 [00:04<00:01, 4.28it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 4.29it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 4.29it/s]\n 86%|████████▌ | 24/28 [00:05<00:00, 4.28it/s]\n 89%|████████▉ | 25/28 [00:05<00:00, 4.28it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 4.28it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 4.29it/s]\n100%|██████████| 28/28 [00:06<00:00, 4.28it/s]\n100%|██████████| 28/28 [00:06<00:00, 4.31it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.893492399, "total_time": 10.900923 }, "output": [ "https://replicate.delivery/xezq/H3XD7OYGiibdMt71cHzQG8TduUv7orfVTxYUNkXSq06nPsHKA/out-0.jpg" ], "started_at": "2025-02-14T23:46:14.249431Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-a7at3n4laanjbi3uho42tr5jqyefmszjxzu2yj6jh23p3y6ownna", "get": "https://api.replicate.com/v1/predictions/61fjdvr6j9rma0cn0vdsvac0vw", "cancel": "https://api.replicate.com/v1/predictions/61fjdvr6j9rma0cn0vdsvac0vw/cancel" }, "version": "631eee27696ea44e995c8c4c7fceae9eba5e7057710dc2a0a95993d001ad801e" }
Generated infree=27865990418432 Downloading weights 2025-02-14T23:46:14Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp0_kb1b9k/weights url=https://replicate.delivery/xezq/S6Dh6u0hWa59LBDtAwfJUQYdFaeQFqrM5bkzxRBf15JKcweQB/trained_model.tar 2025-02-14T23:46:15Z | INFO | [ Complete ] dest=/tmp/tmp0_kb1b9k/weights size="172 MB" total_elapsed=1.591s url=https://replicate.delivery/xezq/S6Dh6u0hWa59LBDtAwfJUQYdFaeQFqrM5bkzxRBf15JKcweQB/trained_model.tar Downloaded weights in 1.62s Loaded LoRAs in 2.20s Using seed: 4356 Prompt: A rugged, battle-worn man stands on the arid sands of Tatooine, his sharp eyes scanning the endless desert horizon. He wears a tattered, sand-colored poncho draped over his broad shoulders, the fabric worn from years of travel beneath the twin suns. Beneath the poncho, he dons a simple yet practical outfit—dust-streaked trousers and a weathered tunic, built for endurance in the unforgiving heat. His short-cropped brown hair is tousled by the dry wind, and his face, marked by years of war and hardship, holds a quiet intensity. The distant silhouettes of moisture farms and jagged rock formations dot the landscape behind him, as he stands firm, gripping a blaster at his side, ever watchful in the vast and merciless expanse of the Outer Rim. [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:06, 4.27it/s] 7%|▋ | 2/28 [00:00<00:05, 4.83it/s] 11%|█ | 3/28 [00:00<00:05, 4.56it/s] 14%|█▍ | 4/28 [00:00<00:05, 4.45it/s] 18%|█▊ | 5/28 [00:01<00:05, 4.39it/s] 21%|██▏ | 6/28 [00:01<00:05, 4.35it/s] 25%|██▌ | 7/28 [00:01<00:04, 4.33it/s] 29%|██▊ | 8/28 [00:01<00:04, 4.32it/s] 32%|███▏ | 9/28 [00:02<00:04, 4.30it/s] 36%|███▌ | 10/28 [00:02<00:04, 4.30it/s] 39%|███▉ | 11/28 [00:02<00:03, 4.30it/s] 43%|████▎ | 12/28 [00:02<00:03, 4.29it/s] 46%|████▋ | 13/28 [00:02<00:03, 4.29it/s] 50%|█████ | 14/28 [00:03<00:03, 4.29it/s] 54%|█████▎ | 15/28 [00:03<00:03, 4.28it/s] 57%|█████▋ | 16/28 [00:03<00:02, 4.29it/s] 61%|██████ | 17/28 [00:03<00:02, 4.29it/s] 64%|██████▍ | 18/28 [00:04<00:02, 4.28it/s] 68%|██████▊ | 19/28 [00:04<00:02, 4.29it/s] 71%|███████▏ | 20/28 [00:04<00:01, 4.28it/s] 75%|███████▌ | 21/28 [00:04<00:01, 4.28it/s] 79%|███████▊ | 22/28 [00:05<00:01, 4.29it/s] 82%|████████▏ | 23/28 [00:05<00:01, 4.29it/s] 86%|████████▌ | 24/28 [00:05<00:00, 4.28it/s] 89%|████████▉ | 25/28 [00:05<00:00, 4.28it/s] 93%|█████████▎| 26/28 [00:06<00:00, 4.28it/s] 96%|█████████▋| 27/28 [00:06<00:00, 4.29it/s] 100%|██████████| 28/28 [00:06<00:00, 4.28it/s] 100%|██████████| 28/28 [00:06<00:00, 4.31it/s] Total safe images: 1 out of 1
Want to make some of these yourself?
Run this model