codelace / model5today
- Public
- 3.7K runs
-
H100
Prediction
codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58ID7q8x7s8hm9rmc0cmkbe9pxbh98StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width Bespoke: Pixel art portrait matching this style exactly: - 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png' - Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12) - Black nose dot at (11,13) - Skin tone, hair, and props unique to the image - High contrast, clean edges, no anti-aliasing
- go_fast
- lora_scale
- 1.24
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 9.79
- output_quality
- 51
- prompt_strength
- 0.54
- extra_lora_scale
- 1
- num_inference_steps
- 50
{ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.24, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 9.79, "output_quality": 51, "prompt_strength": 0.54, "extra_lora_scale": 1, "num_inference_steps": 50 }
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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", { input: { image: "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", model: "dev", prompt: "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", go_fast: false, lora_scale: 1.24, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 9.79, output_quality: 51, prompt_strength: 0.54, extra_lora_scale: 1, num_inference_steps: 50 } } ); // 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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", input={ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": False, "lora_scale": 1.24, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 9.79, "output_quality": 51, "prompt_strength": 0.54, "extra_lora_scale": 1, "num_inference_steps": 50 } ) # 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 codelace/model5today 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": "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\\n\\nBespoke: Pixel art portrait matching this style exactly:\\n- 24x24 grid, right-facing, unique background and accessories specific to \'lady_000_lemon.png\'\\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\\n- Black nose dot at (11,13)\\n- Skin tone, hair, and props unique to the image\\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.24, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 9.79, "output_quality": 51, "prompt_strength": 0.54, "extra_lora_scale": 1, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-25T00:28:25.537595Z", "created_at": "2025-01-25T00:28:21.282000Z", "data_removed": false, "error": null, "id": "7q8x7s8hm9rmc0cmkbe9pxbh98", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.24, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 9.79, "output_quality": 51, "prompt_strength": 0.54, "extra_lora_scale": 1, "num_inference_steps": 50 }, "logs": "2025-01-25 00:28:21.494 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-25 00:28:21.494 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 90%|████████▉ | 273/304 [00:00<00:00, 2718.51it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2634.75it/s]\n2025-01-25 00:28:21.610 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\nfree=29369233371136\nDownloading weights\n2025-01-25T00:28:21Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp_mj2s98y/weights url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar\n2025-01-25T00:28:24Z | INFO | [ Complete ] dest=/tmp/tmp_mj2s98y/weights size=\"430 MB\" total_elapsed=2.488s url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar\nDownloaded weights in 2.52s\n2025-01-25 00:28:24.130 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd\n2025-01-25 00:28:24.239 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-25 00:28:24.240 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-25 00:28:24.240 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 90%|████████▉ | 273/304 [00:00<00:00, 2710.42it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2626.38it/s]\n2025-01-25 00:28:24.356 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s\nUsing seed: 47947\nImage detected - setting to img2img mode\nInput image size: 200x200\nInput image size set to: 192x192\n0it [00:00, ?it/s]\n4it [00:00, 30.62it/s]\n8it [00:00, 30.63it/s]\n12it [00:00, 30.62it/s]\n16it [00:00, 30.64it/s]\n20it [00:00, 30.65it/s]\n24it [00:00, 30.66it/s]\n27it [00:00, 30.65it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 4.249552121, "total_time": 4.255595 }, "output": [ "https://replicate.delivery/xezq/L9mgfrr0tJWzUqh8Ipg9jV2qBDxIy6I9BCEfOyV6KjfSR8QoA/out-0.png" ], "started_at": "2025-01-25T00:28:21.288043Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bsvm-vmhza55et5seq42ehgvtvp65536qdxiipuh73g3cfymhxmfo5bna", "get": "https://api.replicate.com/v1/predictions/7q8x7s8hm9rmc0cmkbe9pxbh98", "cancel": "https://api.replicate.com/v1/predictions/7q8x7s8hm9rmc0cmkbe9pxbh98/cancel" }, "version": "17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58" }
Generated in2025-01-25 00:28:21.494 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-25 00:28:21.494 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 90%|████████▉ | 273/304 [00:00<00:00, 2718.51it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2634.75it/s] 2025-01-25 00:28:21.610 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s free=29369233371136 Downloading weights 2025-01-25T00:28:21Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp_mj2s98y/weights url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar 2025-01-25T00:28:24Z | INFO | [ Complete ] dest=/tmp/tmp_mj2s98y/weights size="430 MB" total_elapsed=2.488s url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar Downloaded weights in 2.52s 2025-01-25 00:28:24.130 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd 2025-01-25 00:28:24.239 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-25 00:28:24.240 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-25 00:28:24.240 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 90%|████████▉ | 273/304 [00:00<00:00, 2710.42it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2626.38it/s] 2025-01-25 00:28:24.356 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s Using seed: 47947 Image detected - setting to img2img mode Input image size: 200x200 Input image size set to: 192x192 0it [00:00, ?it/s] 4it [00:00, 30.62it/s] 8it [00:00, 30.63it/s] 12it [00:00, 30.62it/s] 16it [00:00, 30.64it/s] 20it [00:00, 30.65it/s] 24it [00:00, 30.66it/s] 27it [00:00, 30.65it/s] Total safe images: 1 out of 1
Prediction
codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58IDrdx44jbeesrme0cmm0drz0tptgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width Bespoke: Pixel art portrait matching this style exactly: - 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png' - Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12) - Black nose dot at (11,13) - Skin tone, hair, and props unique to the image - High contrast, clean edges, no anti-aliasing
- go_fast
- lora_scale
- 1.3
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 5.55
- output_quality
- 51
- prompt_strength
- 0.75
- extra_lora_scale
- 1
- num_inference_steps
- 45
{ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.3, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 45 }
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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", { input: { image: "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", model: "dev", prompt: "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", go_fast: false, lora_scale: 1.3, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 5.55, output_quality: 51, prompt_strength: 0.75, extra_lora_scale: 1, num_inference_steps: 45 } } ); // 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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", input={ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": False, "lora_scale": 1.3, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 45 } ) # 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 codelace/model5today 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": "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\\n\\nBespoke: Pixel art portrait matching this style exactly:\\n- 24x24 grid, right-facing, unique background and accessories specific to \'lady_000_lemon.png\'\\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\\n- Black nose dot at (11,13)\\n- Skin tone, hair, and props unique to the image\\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.3, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 45 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-26T00:55:44.283922Z", "created_at": "2025-01-26T00:55:39.894000Z", "data_removed": false, "error": null, "id": "rdx44jbeesrme0cmm0drz0tptg", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.3, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 45 }, "logs": "2025-01-26 00:55:39.969 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-26 00:55:39.969 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 92%|█████████▏| 281/304 [00:00<00:00, 2770.35it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2656.95it/s]\n2025-01-26 00:55:40.084 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\nfree=29084646187008\nDownloading weights\n2025-01-26T00:55:40Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpnwge0yah/weights url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar\n2025-01-26T00:55:42Z | INFO | [ Complete ] dest=/tmp/tmpnwge0yah/weights size=\"430 MB\" total_elapsed=2.489s url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar\nDownloaded weights in 2.53s\n2025-01-26 00:55:42.611 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd\n2025-01-26 00:55:42.730 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-26 00:55:42.730 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-26 00:55:42.730 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 92%|█████████▏| 280/304 [00:00<00:00, 2793.06it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2646.93it/s]\n2025-01-26 00:55:42.845 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s\nUsing seed: 132\nImage detected - setting to img2img mode\nInput image size: 200x200\nInput image size set to: 192x192\n0it [00:00, ?it/s]\n3it [00:00, 29.81it/s]\n7it [00:00, 30.08it/s]\n11it [00:00, 29.95it/s]\n15it [00:00, 30.07it/s]\n19it [00:00, 30.22it/s]\n23it [00:00, 30.34it/s]\n27it [00:00, 30.35it/s]\n31it [00:01, 30.25it/s]\n34it [00:01, 30.17it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 4.382912077, "total_time": 4.389922 }, "output": [ "https://replicate.delivery/xezq/au1rrB1ozMJBGpVOdez8hkzZSb6xdHrexHYmLFTCW0yQozIUA/out-0.png" ], "started_at": "2025-01-26T00:55:39.901010Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bsvm-wjdsxyigztgpzy77ttpvuyki6jvei2ruubfhj55wb73q4kmxm3zq", "get": "https://api.replicate.com/v1/predictions/rdx44jbeesrme0cmm0drz0tptg", "cancel": "https://api.replicate.com/v1/predictions/rdx44jbeesrme0cmm0drz0tptg/cancel" }, "version": "17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58" }
Generated in2025-01-26 00:55:39.969 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-26 00:55:39.969 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 92%|█████████▏| 281/304 [00:00<00:00, 2770.35it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2656.95it/s] 2025-01-26 00:55:40.084 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s free=29084646187008 Downloading weights 2025-01-26T00:55:40Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpnwge0yah/weights url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar 2025-01-26T00:55:42Z | INFO | [ Complete ] dest=/tmp/tmpnwge0yah/weights size="430 MB" total_elapsed=2.489s url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar Downloaded weights in 2.53s 2025-01-26 00:55:42.611 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd 2025-01-26 00:55:42.730 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-26 00:55:42.730 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-26 00:55:42.730 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 92%|█████████▏| 280/304 [00:00<00:00, 2793.06it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2646.93it/s] 2025-01-26 00:55:42.845 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s Using seed: 132 Image detected - setting to img2img mode Input image size: 200x200 Input image size set to: 192x192 0it [00:00, ?it/s] 3it [00:00, 29.81it/s] 7it [00:00, 30.08it/s] 11it [00:00, 29.95it/s] 15it [00:00, 30.07it/s] 19it [00:00, 30.22it/s] 23it [00:00, 30.34it/s] 27it [00:00, 30.35it/s] 31it [00:01, 30.25it/s] 34it [00:01, 30.17it/s] Total safe images: 1 out of 1
Prediction
codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58IDaq26xdpj6drmc0cmm0dtvqp2hwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width Bespoke: Pixel art portrait matching this style exactly: - 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png' - Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12) - Black nose dot at (11,13) - Skin tone, hair, and props unique to the image - High contrast, clean edges, no anti-aliasing
- go_fast
- lora_scale
- 1.3
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 5.55
- output_quality
- 51
- prompt_strength
- 1
- extra_lora_scale
- 1
- num_inference_steps
- 45
{ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.3, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 45 }
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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", { input: { image: "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", model: "dev", prompt: "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", go_fast: false, lora_scale: 1.3, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 5.55, output_quality: 51, prompt_strength: 1, extra_lora_scale: 1, num_inference_steps: 45 } } ); // 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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", input={ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": False, "lora_scale": 1.3, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 45 } ) # 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 codelace/model5today 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": "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\\n\\nBespoke: Pixel art portrait matching this style exactly:\\n- 24x24 grid, right-facing, unique background and accessories specific to \'lady_000_lemon.png\'\\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\\n- Black nose dot at (11,13)\\n- Skin tone, hair, and props unique to the image\\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.3, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 45 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-26T00:56:08.189321Z", "created_at": "2025-01-26T00:56:05.427000Z", "data_removed": false, "error": null, "id": "aq26xdpj6drmc0cmm0dtvqp2hw", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.3, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 1, "extra_lora_scale": 1, "num_inference_steps": 45 }, "logs": "2025-01-26 00:56:06.066 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-26 00:56:06.067 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 90%|█████████ | 274/304 [00:00<00:00, 2737.84it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2632.00it/s]\n2025-01-26 00:56:06.183 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\n2025-01-26 00:56:06.184 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd\n2025-01-26 00:56:06.338 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-26 00:56:06.338 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-26 00:56:06.339 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 90%|█████████ | 274/304 [00:00<00:00, 2728.55it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2622.55it/s]\n2025-01-26 00:56:06.455 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.27s\nUsing seed: 58607\nImage detected - setting to img2img mode\nInput image size: 200x200\nInput image size set to: 192x192\n0it [00:00, ?it/s]\n4it [00:00, 30.30it/s]\n8it [00:00, 30.46it/s]\n12it [00:00, 30.49it/s]\n16it [00:00, 30.42it/s]\n20it [00:00, 30.44it/s]\n24it [00:00, 30.47it/s]\n28it [00:00, 30.44it/s]\n32it [00:01, 30.44it/s]\n36it [00:01, 30.46it/s]\n40it [00:01, 30.43it/s]\n44it [00:01, 30.11it/s]\n45it [00:01, 30.35it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 2.186372469, "total_time": 2.762321 }, "output": [ "https://replicate.delivery/xezq/i7N2QUkNIrZyPFaNygRmDM76O5RctLeos3qPe04GnacoozIUA/out-0.png" ], "started_at": "2025-01-26T00:56:06.002949Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bsvm-c2z2d6gvuuw47abtpo3cbushvndbcm53szplauzz67bjukfotmya", "get": "https://api.replicate.com/v1/predictions/aq26xdpj6drmc0cmm0dtvqp2hw", "cancel": "https://api.replicate.com/v1/predictions/aq26xdpj6drmc0cmm0dtvqp2hw/cancel" }, "version": "17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58" }
Generated in2025-01-26 00:56:06.066 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-26 00:56:06.067 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 90%|█████████ | 274/304 [00:00<00:00, 2737.84it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2632.00it/s] 2025-01-26 00:56:06.183 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s 2025-01-26 00:56:06.184 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd 2025-01-26 00:56:06.338 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-26 00:56:06.338 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-26 00:56:06.339 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 90%|█████████ | 274/304 [00:00<00:00, 2728.55it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2622.55it/s] 2025-01-26 00:56:06.455 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.27s Using seed: 58607 Image detected - setting to img2img mode Input image size: 200x200 Input image size set to: 192x192 0it [00:00, ?it/s] 4it [00:00, 30.30it/s] 8it [00:00, 30.46it/s] 12it [00:00, 30.49it/s] 16it [00:00, 30.42it/s] 20it [00:00, 30.44it/s] 24it [00:00, 30.47it/s] 28it [00:00, 30.44it/s] 32it [00:01, 30.44it/s] 36it [00:01, 30.46it/s] 40it [00:01, 30.43it/s] 44it [00:01, 30.11it/s] 45it [00:01, 30.35it/s] Total safe images: 1 out of 1
Prediction
codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58ID6pdtn33a3drm80cmm0ea00avegStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width Bespoke: Pixel art portrait matching this style exactly: - 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png' - Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12) - Black nose dot at (11,13) - Skin tone, hair, and props unique to the image - High contrast, clean edges, no anti-aliasing
- go_fast
- lora_scale
- 1.5
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 5.55
- output_quality
- 51
- prompt_strength
- 0.75
- extra_lora_scale
- 1
- num_inference_steps
- 45
{ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.5, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 45 }
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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", { input: { image: "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", model: "dev", prompt: "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", go_fast: false, lora_scale: 1.5, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 5.55, output_quality: 51, prompt_strength: 0.75, extra_lora_scale: 1, num_inference_steps: 45 } } ); // 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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", input={ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": False, "lora_scale": 1.5, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 45 } ) # 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 codelace/model5today 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": "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\\n\\nBespoke: Pixel art portrait matching this style exactly:\\n- 24x24 grid, right-facing, unique background and accessories specific to \'lady_000_lemon.png\'\\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\\n- Black nose dot at (11,13)\\n- Skin tone, hair, and props unique to the image\\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.5, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 45 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-26T00:56:57.463272Z", "created_at": "2025-01-26T00:56:44.315000Z", "data_removed": false, "error": null, "id": "6pdtn33a3drm80cmm0ea00aveg", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.5, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 45 }, "logs": "2025-01-26 00:56:45.581 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-26 00:56:45.582 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 91%|█████████▏| 278/304 [00:00<00:00, 2770.01it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2736.30it/s]\n2025-01-26 00:56:45.693 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s\nfree=29046834892800\nDownloading weights\n2025-01-26T00:56:45Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmple3j0mga/weights url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar\n2025-01-26T00:56:55Z | INFO | [ Complete ] dest=/tmp/tmple3j0mga/weights size=\"430 MB\" total_elapsed=10.127s url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar\nDownloaded weights in 10.16s\n2025-01-26 00:56:55.853 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd\n2025-01-26 00:56:55.979 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-26 00:56:55.979 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-26 00:56:55.979 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 91%|█████████▏| 278/304 [00:00<00:00, 2760.36it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2726.90it/s]\n2025-01-26 00:56:56.091 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.24s\nUsing seed: 63835\nImage detected - setting to img2img mode\nInput image size: 200x200\nInput image size set to: 192x192\n0it [00:00, ?it/s]\n3it [00:00, 29.57it/s]\n7it [00:00, 29.94it/s]\n10it [00:00, 29.84it/s]\n14it [00:00, 30.02it/s]\n18it [00:00, 30.21it/s]\n22it [00:00, 30.27it/s]\n26it [00:00, 30.18it/s]\n30it [00:00, 30.19it/s]\n34it [00:01, 30.25it/s]\n34it [00:01, 30.15it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 12.034455389, "total_time": 13.148272 }, "output": [ "https://replicate.delivery/xezq/KkxPuDZTA0aDDZpwy16Wldkdigf3SVt9DXeMYwETek5ySnRoA/out-0.png" ], "started_at": "2025-01-26T00:56:45.428816Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bsvm-ul2z7musffu57dm4zmekzlo7f3fbr4woe2ibdhmwo3r67xd63n2q", "get": "https://api.replicate.com/v1/predictions/6pdtn33a3drm80cmm0ea00aveg", "cancel": "https://api.replicate.com/v1/predictions/6pdtn33a3drm80cmm0ea00aveg/cancel" }, "version": "17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58" }
Generated in2025-01-26 00:56:45.581 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-26 00:56:45.582 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 91%|█████████▏| 278/304 [00:00<00:00, 2770.01it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2736.30it/s] 2025-01-26 00:56:45.693 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s free=29046834892800 Downloading weights 2025-01-26T00:56:45Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmple3j0mga/weights url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar 2025-01-26T00:56:55Z | INFO | [ Complete ] dest=/tmp/tmple3j0mga/weights size="430 MB" total_elapsed=10.127s url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar Downloaded weights in 10.16s 2025-01-26 00:56:55.853 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd 2025-01-26 00:56:55.979 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-26 00:56:55.979 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-26 00:56:55.979 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 91%|█████████▏| 278/304 [00:00<00:00, 2760.36it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2726.90it/s] 2025-01-26 00:56:56.091 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.24s Using seed: 63835 Image detected - setting to img2img mode Input image size: 200x200 Input image size set to: 192x192 0it [00:00, ?it/s] 3it [00:00, 29.57it/s] 7it [00:00, 29.94it/s] 10it [00:00, 29.84it/s] 14it [00:00, 30.02it/s] 18it [00:00, 30.21it/s] 22it [00:00, 30.27it/s] 26it [00:00, 30.18it/s] 30it [00:00, 30.19it/s] 34it [00:01, 30.25it/s] 34it [00:01, 30.15it/s] Total safe images: 1 out of 1
Prediction
codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58IDw9ezr762hhrmc0cmm0ea41py80StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width Bespoke: Pixel art portrait matching this style exactly: - 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png' - Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12) - Black nose dot at (11,13) - Skin tone, hair, and props unique to the image - High contrast, clean edges, no anti-aliasing
- go_fast
- lora_scale
- 1.5
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 5.55
- output_quality
- 51
- prompt_strength
- 0.75
- extra_lora_scale
- 1
- num_inference_steps
- 50
{ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.5, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 50 }
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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", { input: { image: "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", model: "dev", prompt: "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", go_fast: false, lora_scale: 1.5, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 5.55, output_quality: 51, prompt_strength: 0.75, extra_lora_scale: 1, num_inference_steps: 50 } } ); // 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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", input={ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": False, "lora_scale": 1.5, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 50 } ) # 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 codelace/model5today 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": "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\\n\\nBespoke: Pixel art portrait matching this style exactly:\\n- 24x24 grid, right-facing, unique background and accessories specific to \'lady_000_lemon.png\'\\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\\n- Black nose dot at (11,13)\\n- Skin tone, hair, and props unique to the image\\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.5, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-26T00:57:13.037313Z", "created_at": "2025-01-26T00:57:06.956000Z", "data_removed": false, "error": null, "id": "w9ezr762hhrmc0cmm0ea41py80", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.5, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 50 }, "logs": "2025-01-26 00:57:07.281 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-26 00:57:07.281 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 89%|████████▉ | 270/304 [00:00<00:00, 2683.72it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2596.01it/s]\n2025-01-26 00:57:07.398 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\nfree=28773960736768\nDownloading weights\n2025-01-26T00:57:07Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzqnghfw0/weights url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar\n2025-01-26T00:57:11Z | INFO | [ Complete ] dest=/tmp/tmpzqnghfw0/weights size=\"430 MB\" total_elapsed=3.787s url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar\nDownloaded weights in 3.83s\n2025-01-26 00:57:11.232 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd\n2025-01-26 00:57:11.368 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-26 00:57:11.369 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-26 00:57:11.369 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 89%|████████▉ | 270/304 [00:00<00:00, 2672.10it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2584.99it/s]\n2025-01-26 00:57:11.487 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.26s\nUsing seed: 63883\nImage detected - setting to img2img mode\nInput image size: 200x200\nInput image size set to: 192x192\n0it [00:00, ?it/s]\n3it [00:00, 29.58it/s]\n6it [00:00, 29.74it/s]\n9it [00:00, 29.82it/s]\n13it [00:00, 29.95it/s]\n16it [00:00, 29.97it/s]\n19it [00:00, 29.90it/s]\n23it [00:00, 29.96it/s]\n27it [00:00, 29.99it/s]\n30it [00:01, 29.97it/s]\n33it [00:01, 29.95it/s]\n36it [00:01, 29.96it/s]\n38it [00:01, 29.94it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 5.887506016, "total_time": 6.081313 }, "output": [ "https://replicate.delivery/xezq/PGGLURKPWmb8Nh4yeV7ZsFUkbLBVsuCzWcdhJXbFcgn00ZEKA/out-0.png" ], "started_at": "2025-01-26T00:57:07.149807Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bsvm-5dn3tk2lwnyoh335p5775pqwkfpygju4exdla3i7kuepovrum4yq", "get": "https://api.replicate.com/v1/predictions/w9ezr762hhrmc0cmm0ea41py80", "cancel": "https://api.replicate.com/v1/predictions/w9ezr762hhrmc0cmm0ea41py80/cancel" }, "version": "17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58" }
Generated in2025-01-26 00:57:07.281 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-26 00:57:07.281 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 89%|████████▉ | 270/304 [00:00<00:00, 2683.72it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2596.01it/s] 2025-01-26 00:57:07.398 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s free=28773960736768 Downloading weights 2025-01-26T00:57:07Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzqnghfw0/weights url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar 2025-01-26T00:57:11Z | INFO | [ Complete ] dest=/tmp/tmpzqnghfw0/weights size="430 MB" total_elapsed=3.787s url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar Downloaded weights in 3.83s 2025-01-26 00:57:11.232 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd 2025-01-26 00:57:11.368 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-26 00:57:11.369 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-26 00:57:11.369 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 89%|████████▉ | 270/304 [00:00<00:00, 2672.10it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2584.99it/s] 2025-01-26 00:57:11.487 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.26s Using seed: 63883 Image detected - setting to img2img mode Input image size: 200x200 Input image size set to: 192x192 0it [00:00, ?it/s] 3it [00:00, 29.58it/s] 6it [00:00, 29.74it/s] 9it [00:00, 29.82it/s] 13it [00:00, 29.95it/s] 16it [00:00, 29.97it/s] 19it [00:00, 29.90it/s] 23it [00:00, 29.96it/s] 27it [00:00, 29.99it/s] 30it [00:01, 29.97it/s] 33it [00:01, 29.95it/s] 36it [00:01, 29.96it/s] 38it [00:01, 29.94it/s] Total safe images: 1 out of 1
Prediction
codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58IDs0m1pdkzhxrm80cmm0erce3md8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width Bespoke: Pixel art portrait matching this style exactly: - 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png' - Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12) - Black nose dot at (11,13) - Skin tone, hair, and props unique to the image - High contrast, clean edges, no anti-aliasing
- go_fast
- lora_scale
- 1.2
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 5.55
- output_quality
- 51
- prompt_strength
- 0.75
- extra_lora_scale
- 1
- num_inference_steps
- 47
{ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.2, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 47 }
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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", { input: { image: "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", model: "dev", prompt: "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", go_fast: false, lora_scale: 1.2, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 5.55, output_quality: 51, prompt_strength: 0.75, extra_lora_scale: 1, num_inference_steps: 47 } } ); // 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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", input={ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": False, "lora_scale": 1.2, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 47 } ) # 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 codelace/model5today 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": "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\\n\\nBespoke: Pixel art portrait matching this style exactly:\\n- 24x24 grid, right-facing, unique background and accessories specific to \'lady_000_lemon.png\'\\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\\n- Black nose dot at (11,13)\\n- Skin tone, hair, and props unique to the image\\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.2, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 47 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-26T00:57:59.606581Z", "created_at": "2025-01-26T00:57:55.343000Z", "data_removed": false, "error": null, "id": "s0m1pdkzhxrm80cmm0erce3md8", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.2, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 5.55, "output_quality": 51, "prompt_strength": 0.75, "extra_lora_scale": 1, "num_inference_steps": 47 }, "logs": "2025-01-26 00:57:55.580 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-26 00:57:55.581 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2804.84it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2646.47it/s]\n2025-01-26 00:57:55.696 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\nfree=29137250811904\nDownloading weights\n2025-01-26T00:57:55Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp5jmziwj8/weights url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar\n2025-01-26T00:57:57Z | INFO | [ Complete ] dest=/tmp/tmp5jmziwj8/weights size=\"430 MB\" total_elapsed=2.240s url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar\nDownloaded weights in 2.27s\n2025-01-26 00:57:57.971 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd\n2025-01-26 00:57:58.085 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-26 00:57:58.085 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-26 00:57:58.085 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2791.38it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2633.52it/s]\n2025-01-26 00:57:58.201 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s\nUsing seed: 49480\nImage detected - setting to img2img mode\nInput image size: 200x200\nInput image size set to: 192x192\n0it [00:00, ?it/s]\n4it [00:00, 30.55it/s]\n8it [00:00, 30.69it/s]\n12it [00:00, 30.69it/s]\n16it [00:00, 30.77it/s]\n20it [00:00, 30.75it/s]\n24it [00:00, 30.74it/s]\n28it [00:00, 30.84it/s]\n32it [00:01, 30.90it/s]\n36it [00:01, 30.89it/s]\n36it [00:01, 30.81it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 4.140145113, "total_time": 4.263581 }, "output": [ "https://replicate.delivery/xezq/ez72vlYSj0TccyFDpO0MmQb9ommijyOGHFbGMyJKdD6L1ZEKA/out-0.png" ], "started_at": "2025-01-26T00:57:55.466436Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bsvm-kmymdqyv2dbmh2cj7vxl3c45rkymbdrsuw76kugdhngemj4hnsoq", "get": "https://api.replicate.com/v1/predictions/s0m1pdkzhxrm80cmm0erce3md8", "cancel": "https://api.replicate.com/v1/predictions/s0m1pdkzhxrm80cmm0erce3md8/cancel" }, "version": "17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58" }
Generated in2025-01-26 00:57:55.580 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-26 00:57:55.581 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2804.84it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2646.47it/s] 2025-01-26 00:57:55.696 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s free=29137250811904 Downloading weights 2025-01-26T00:57:55Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp5jmziwj8/weights url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar 2025-01-26T00:57:57Z | INFO | [ Complete ] dest=/tmp/tmp5jmziwj8/weights size="430 MB" total_elapsed=2.240s url=https://replicate.delivery/xezq/f8eWi7DOKjjfLJeXQFfljBj8Me1FSgcCeKeCKggjCnZcDEeQoA/trained_model.tar Downloaded weights in 2.27s 2025-01-26 00:57:57.971 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/8fa658be55bba7dd 2025-01-26 00:57:58.085 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-26 00:57:58.085 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-26 00:57:58.085 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2791.38it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2633.52it/s] 2025-01-26 00:57:58.201 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s Using seed: 49480 Image detected - setting to img2img mode Input image size: 200x200 Input image size set to: 192x192 0it [00:00, ?it/s] 4it [00:00, 30.55it/s] 8it [00:00, 30.69it/s] 12it [00:00, 30.69it/s] 16it [00:00, 30.77it/s] 20it [00:00, 30.75it/s] 24it [00:00, 30.74it/s] 28it [00:00, 30.84it/s] 32it [00:01, 30.90it/s] 36it [00:01, 30.89it/s] 36it [00:01, 30.81it/s] Total safe images: 1 out of 1
Prediction
codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58IDw99txqa7m5rm80cpqqx97j4bw4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width Bespoke: Pixel art portrait matching this style exactly: - 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png' - Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12) - Black nose dot at (11,13) - Skin tone, hair, and props unique to the image - High contrast, clean edges, no anti-aliasing
- go_fast
- lora_scale
- 1.24
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 9.79
- output_quality
- 51
- prompt_strength
- 0.7
- extra_lora_scale
- 1
- num_inference_steps
- 50
{ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.24, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 9.79, "output_quality": 51, "prompt_strength": 0.7, "extra_lora_scale": 1, "num_inference_steps": 50 }
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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", { input: { image: "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", model: "dev", prompt: "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", go_fast: false, lora_scale: 1.24, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 9.79, output_quality: 51, prompt_strength: 0.7, extra_lora_scale: 1, num_inference_steps: 50 } } ); // 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 codelace/model5today using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", input={ "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": False, "lora_scale": 1.24, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 9.79, "output_quality": 51, "prompt_strength": 0.7, "extra_lora_scale": 1, "num_inference_steps": 50 } ) # 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 codelace/model5today 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": "codelace/model5today:17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\\n\\nBespoke: Pixel art portrait matching this style exactly:\\n- 24x24 grid, right-facing, unique background and accessories specific to \'lady_000_lemon.png\'\\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\\n- Black nose dot at (11,13)\\n- Skin tone, hair, and props unique to the image\\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.24, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 9.79, "output_quality": 51, "prompt_strength": 0.7, "extra_lora_scale": 1, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-11T06:13:41.126846Z", "created_at": "2025-05-11T06:13:38.337000Z", "data_removed": false, "error": null, "id": "w99txqa7m5rm80cpqqx97j4bw4", "input": { "image": "https://replicate.delivery/pbxt/MNdSPBQVQa76Hbm4TECAvU0b7S728PQ2qEUWlnGAu3fIdGsF/lady_000_lemonOG.jpeg", "model": "dev", "prompt": "Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\n\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing", "go_fast": false, "lora_scale": 1.24, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 9.79, "output_quality": 51, "prompt_strength": 0.7, "extra_lora_scale": 1, "num_inference_steps": 50 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 26268\nPrompt: Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width\nBespoke: Pixel art portrait matching this style exactly:\n- 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png'\n- Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12)\n- Black nose dot at (11,13)\n- Skin tone, hair, and props unique to the image\n- High contrast, clean edges, no anti-aliasing\nInput image size: 200x200\n[!] Resizing input image from 200x200 to 208x208\n[!] img2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 6%|▌ | 2/35 [00:00<00:02, 12.99it/s]\n 11%|█▏ | 4/35 [00:00<00:02, 13.16it/s]\n 17%|█▋ | 6/35 [00:00<00:02, 13.26it/s]\n 23%|██▎ | 8/35 [00:00<00:02, 13.33it/s]\n 29%|██▊ | 10/35 [00:00<00:01, 13.36it/s]\n 34%|███▍ | 12/35 [00:00<00:01, 13.37it/s]\n 40%|████ | 14/35 [00:01<00:01, 13.40it/s]\n 46%|████▌ | 16/35 [00:01<00:01, 13.38it/s]\n 51%|█████▏ | 18/35 [00:01<00:01, 13.42it/s]\n 57%|█████▋ | 20/35 [00:01<00:01, 13.45it/s]\n 63%|██████▎ | 22/35 [00:01<00:00, 13.46it/s]\n 69%|██████▊ | 24/35 [00:01<00:00, 13.47it/s]\n 74%|███████▍ | 26/35 [00:01<00:00, 13.47it/s]\n 80%|████████ | 28/35 [00:02<00:00, 13.41it/s]\n 86%|████████▌ | 30/35 [00:02<00:00, 13.36it/s]\n 91%|█████████▏| 32/35 [00:02<00:00, 13.35it/s]\n 97%|█████████▋| 34/35 [00:02<00:00, 13.38it/s]\n100%|██████████| 35/35 [00:02<00:00, 13.38it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 2.781696065, "total_time": 2.789846 }, "output": [ "https://replicate.delivery/xezq/9IoL3TyK92qeNyhe1NP0TpgjJcSRtXlpWfqz37IvWfpUh8tSB/out-0.png" ], "started_at": "2025-05-11T06:13:38.345150Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-kdtfjwzueu2rkyv2oms3dxd42viydthxnxwz3jf7dwk3brzibjeq", "get": "https://api.replicate.com/v1/predictions/w99txqa7m5rm80cpqqx97j4bw4", "cancel": "https://api.replicate.com/v1/predictions/w99txqa7m5rm80cpqqx97j4bw4/cancel" }, "version": "17b14deddd13405cd71af4a065ad6061b1b667af578517853b98e42f8b0f5b58" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 26268 Prompt: Bespoke: 24x24 grid, Yellow (#F8E701) background, Red/white bandana (190,103,98/245,198,136), Black pupils (8,12)/(13,12), Blue eyes, Black nose (11,13), Orange-red lips (246,155,150), Dark hair (42,50,73), Light skin (232,175,130), 14px width Bespoke: Pixel art portrait matching this style exactly: - 24x24 grid, right-facing, unique background and accessories specific to 'lady_000_lemon.png' - Fixed features: Black pupils at (8,12) and (13,12), eyes at (9,12) and (14,12) - Black nose dot at (11,13) - Skin tone, hair, and props unique to the image - High contrast, clean edges, no anti-aliasing Input image size: 200x200 [!] Resizing input image from 200x200 to 208x208 [!] img2img mode 0%| | 0/35 [00:00<?, ?it/s] 6%|▌ | 2/35 [00:00<00:02, 12.99it/s] 11%|█▏ | 4/35 [00:00<00:02, 13.16it/s] 17%|█▋ | 6/35 [00:00<00:02, 13.26it/s] 23%|██▎ | 8/35 [00:00<00:02, 13.33it/s] 29%|██▊ | 10/35 [00:00<00:01, 13.36it/s] 34%|███▍ | 12/35 [00:00<00:01, 13.37it/s] 40%|████ | 14/35 [00:01<00:01, 13.40it/s] 46%|████▌ | 16/35 [00:01<00:01, 13.38it/s] 51%|█████▏ | 18/35 [00:01<00:01, 13.42it/s] 57%|█████▋ | 20/35 [00:01<00:01, 13.45it/s] 63%|██████▎ | 22/35 [00:01<00:00, 13.46it/s] 69%|██████▊ | 24/35 [00:01<00:00, 13.47it/s] 74%|███████▍ | 26/35 [00:01<00:00, 13.47it/s] 80%|████████ | 28/35 [00:02<00:00, 13.41it/s] 86%|████████▌ | 30/35 [00:02<00:00, 13.36it/s] 91%|█████████▏| 32/35 [00:02<00:00, 13.35it/s] 97%|█████████▋| 34/35 [00:02<00:00, 13.38it/s] 100%|██████████| 35/35 [00:02<00:00, 13.38it/s] Total safe images: 1 out of 1
Want to make some of these yourself?
Run this model