beancakes / flux-cyberpunk-people
Flux lora inspired by the video game, Cyberpunk 2077, for generating people in futuristic and dystopian backgrounds (Updated 4 months, 3 weeks ago)
- Public
- 111 runs
-
H100
Prediction
beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810ID4ztvvaa0n1rmc0cmj08v8r0w6cStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a person in the style of CYBRPKPP; standing in an alley with English neon signs at night;
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "image": "https://replicate.delivery/pbxt/MMtKyxzDSD4CrsWOkhPnEN0gwfor6lurT7FuOIiJ0wYAo4Jz/how-do-i-make-my-game-look-like-this-v0-3138qh8lmdv91.webp", "model": "dev", "prompt": "a person in the style of CYBRPKPP; standing in an alley with English neon signs at night; ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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 beancakes/flux-cyberpunk-people using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", { input: { image: "https://replicate.delivery/pbxt/MMtKyxzDSD4CrsWOkhPnEN0gwfor6lurT7FuOIiJ0wYAo4Jz/how-do-i-make-my-game-look-like-this-v0-3138qh8lmdv91.webp", model: "dev", prompt: "a person in the style of CYBRPKPP; standing in an alley with English neon signs at night; ", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", 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 beancakes/flux-cyberpunk-people using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", input={ "image": "https://replicate.delivery/pbxt/MMtKyxzDSD4CrsWOkhPnEN0gwfor6lurT7FuOIiJ0wYAo4Jz/how-do-i-make-my-game-look-like-this-v0-3138qh8lmdv91.webp", "model": "dev", "prompt": "a person in the style of CYBRPKPP; standing in an alley with English neon signs at night; ", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run beancakes/flux-cyberpunk-people 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": "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", "input": { "image": "https://replicate.delivery/pbxt/MMtKyxzDSD4CrsWOkhPnEN0gwfor6lurT7FuOIiJ0wYAo4Jz/how-do-i-make-my-game-look-like-this-v0-3138qh8lmdv91.webp", "model": "dev", "prompt": "a person in the style of CYBRPKPP; standing in an alley with English neon signs at night; ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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-01-22T22:10:41.540117Z", "created_at": "2025-01-22T22:10:37.352000Z", "data_removed": false, "error": null, "id": "4ztvvaa0n1rmc0cmj08v8r0w6c", "input": { "image": "https://replicate.delivery/pbxt/MMtKyxzDSD4CrsWOkhPnEN0gwfor6lurT7FuOIiJ0wYAo4Jz/how-do-i-make-my-game-look-like-this-v0-3138qh8lmdv91.webp", "model": "dev", "prompt": "a person in the style of CYBRPKPP; standing in an alley with English neon signs at night; ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Lora https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar already loaded\nUsing seed: 15761\nImage detected - setting to img2img mode\nInput image size: 1080x607\nInput image size set to: 1088x608\n0it [00:00, ?it/s]\n2it [00:00, 9.41it/s]\n3it [00:00, 8.50it/s]\n4it [00:00, 8.10it/s]\n5it [00:00, 7.88it/s]\n6it [00:00, 7.75it/s]\n7it [00:00, 7.67it/s]\n8it [00:01, 7.61it/s]\n9it [00:01, 7.58it/s]\n10it [00:01, 7.54it/s]\n11it [00:01, 7.52it/s]\n12it [00:01, 7.51it/s]\n13it [00:01, 7.51it/s]\n14it [00:01, 7.50it/s]\n15it [00:01, 7.50it/s]\n16it [00:02, 7.50it/s]\n17it [00:02, 7.50it/s]\n18it [00:02, 7.50it/s]\n19it [00:02, 7.50it/s]\n20it [00:02, 7.50it/s]\n21it [00:02, 7.50it/s]\n22it [00:02, 7.49it/s]\n23it [00:03, 7.49it/s]\n23it [00:03, 7.63it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 4.181433972, "total_time": 4.188117 }, "output": [ "https://replicate.delivery/xezq/fIWIAYEeimvawk7sqeROuqfcHt7vTTjbEfdr2HRfTa6ew94DKA/out-0.webp" ], "started_at": "2025-01-22T22:10:37.358683Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-cyz4j26jsfajwvv2noq23drn7sr2cjz2njfxltjiyrnk4juw4sdq", "get": "https://api.replicate.com/v1/predictions/4ztvvaa0n1rmc0cmj08v8r0w6c", "cancel": "https://api.replicate.com/v1/predictions/4ztvvaa0n1rmc0cmj08v8r0w6c/cancel" }, "version": "5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810" }
Generated inLora https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar already loaded Using seed: 15761 Image detected - setting to img2img mode Input image size: 1080x607 Input image size set to: 1088x608 0it [00:00, ?it/s] 2it [00:00, 9.41it/s] 3it [00:00, 8.50it/s] 4it [00:00, 8.10it/s] 5it [00:00, 7.88it/s] 6it [00:00, 7.75it/s] 7it [00:00, 7.67it/s] 8it [00:01, 7.61it/s] 9it [00:01, 7.58it/s] 10it [00:01, 7.54it/s] 11it [00:01, 7.52it/s] 12it [00:01, 7.51it/s] 13it [00:01, 7.51it/s] 14it [00:01, 7.50it/s] 15it [00:01, 7.50it/s] 16it [00:02, 7.50it/s] 17it [00:02, 7.50it/s] 18it [00:02, 7.50it/s] 19it [00:02, 7.50it/s] 20it [00:02, 7.50it/s] 21it [00:02, 7.50it/s] 22it [00:02, 7.49it/s] 23it [00:03, 7.49it/s] 23it [00:03, 7.63it/s] Total safe images: 1 out of 1
Prediction
beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810ID63wn680sysrme0cmj0v99zxpmcStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Full-body image of a CYBRPKPP style woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 4:5
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Full-body image of a CYBRPKPP style woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:5", "output_format": "webp", "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 beancakes/flux-cyberpunk-people using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", { input: { model: "dev", prompt: "Full-body image of a CYBRPKPP style woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit. ", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "4:5", output_format: "webp", 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 beancakes/flux-cyberpunk-people using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", input={ "model": "dev", "prompt": "Full-body image of a CYBRPKPP style woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit. ", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:5", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run beancakes/flux-cyberpunk-people 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": "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", "input": { "model": "dev", "prompt": "Full-body image of a CYBRPKPP style woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:5", "output_format": "webp", "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-01-22T22:51:01.111966Z", "created_at": "2025-01-22T22:50:52.278000Z", "data_removed": false, "error": null, "id": "63wn680sysrme0cmj0v99zxpmc", "input": { "model": "dev", "prompt": "Full-body image of a CYBRPKPP style woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:5", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2025-01-22 22:50:53.597 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-22 22:50:53.598 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 91%|█████████ | 276/304 [00:00<00:00, 2754.48it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2674.99it/s]\n2025-01-22 22:50:53.712 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s\nfree=29217955663872\nDownloading weights\n2025-01-22T22:50:53Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzc5ph148/weights url=https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar\n2025-01-22T22:50:55Z | INFO | [ Complete ] dest=/tmp/tmpzc5ph148/weights size=\"215 MB\" total_elapsed=1.666s url=https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar\nDownloaded weights in 1.69s\n2025-01-22 22:50:55.404 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/d59ba61db55b73ab\n2025-01-22 22:50:55.484 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-22 22:50:55.484 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-22 22:50:55.485 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 95%|█████████▌| 289/304 [00:00<00:00, 2856.97it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2808.37it/s]\n2025-01-22 22:50:55.593 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s\nUsing seed: 6999\n0it [00:00, ?it/s]\n1it [00:00, 9.14it/s]\n2it [00:00, 6.50it/s]\n3it [00:00, 5.95it/s]\n4it [00:00, 5.72it/s]\n5it [00:00, 5.58it/s]\n6it [00:01, 5.50it/s]\n7it [00:01, 5.44it/s]\n8it [00:01, 5.41it/s]\n9it [00:01, 5.40it/s]\n10it [00:01, 5.39it/s]\n11it [00:01, 5.39it/s]\n12it [00:02, 5.38it/s]\n13it [00:02, 5.38it/s]\n14it [00:02, 5.36it/s]\n15it [00:02, 5.36it/s]\n16it [00:02, 5.37it/s]\n17it [00:03, 5.37it/s]\n18it [00:03, 5.36it/s]\n19it [00:03, 5.36it/s]\n20it [00:03, 5.35it/s]\n21it [00:03, 5.35it/s]\n22it [00:04, 5.35it/s]\n23it [00:04, 5.34it/s]\n24it [00:04, 5.35it/s]\n25it [00:04, 5.35it/s]\n26it [00:04, 5.36it/s]\n27it [00:04, 5.36it/s]\n28it [00:05, 5.36it/s]\n28it [00:05, 5.44it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 7.513576406, "total_time": 8.833966 }, "output": [ "https://replicate.delivery/xezq/x5MJxAaA6M6SBhHyTIMmFRh5a1FU40pUxiOahG6gtQTVo8BF/out-0.webp" ], "started_at": "2025-01-22T22:50:53.598389Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-pba5f52mc4mn5zfjv57ikozw7pupuon42vozsvobe6wtrovfmvpa", "get": "https://api.replicate.com/v1/predictions/63wn680sysrme0cmj0v99zxpmc", "cancel": "https://api.replicate.com/v1/predictions/63wn680sysrme0cmj0v99zxpmc/cancel" }, "version": "5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810" }
Generated in2025-01-22 22:50:53.597 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-22 22:50:53.598 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 91%|█████████ | 276/304 [00:00<00:00, 2754.48it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2674.99it/s] 2025-01-22 22:50:53.712 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s free=29217955663872 Downloading weights 2025-01-22T22:50:53Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzc5ph148/weights url=https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar 2025-01-22T22:50:55Z | INFO | [ Complete ] dest=/tmp/tmpzc5ph148/weights size="215 MB" total_elapsed=1.666s url=https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar Downloaded weights in 1.69s 2025-01-22 22:50:55.404 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/d59ba61db55b73ab 2025-01-22 22:50:55.484 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-22 22:50:55.484 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-22 22:50:55.485 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 95%|█████████▌| 289/304 [00:00<00:00, 2856.97it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2808.37it/s] 2025-01-22 22:50:55.593 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s Using seed: 6999 0it [00:00, ?it/s] 1it [00:00, 9.14it/s] 2it [00:00, 6.50it/s] 3it [00:00, 5.95it/s] 4it [00:00, 5.72it/s] 5it [00:00, 5.58it/s] 6it [00:01, 5.50it/s] 7it [00:01, 5.44it/s] 8it [00:01, 5.41it/s] 9it [00:01, 5.40it/s] 10it [00:01, 5.39it/s] 11it [00:01, 5.39it/s] 12it [00:02, 5.38it/s] 13it [00:02, 5.38it/s] 14it [00:02, 5.36it/s] 15it [00:02, 5.36it/s] 16it [00:02, 5.37it/s] 17it [00:03, 5.37it/s] 18it [00:03, 5.36it/s] 19it [00:03, 5.36it/s] 20it [00:03, 5.35it/s] 21it [00:03, 5.35it/s] 22it [00:04, 5.35it/s] 23it [00:04, 5.34it/s] 24it [00:04, 5.35it/s] 25it [00:04, 5.35it/s] 26it [00:04, 5.36it/s] 27it [00:04, 5.36it/s] 28it [00:05, 5.36it/s] 28it [00:05, 5.44it/s] Total safe images: 1 out of 1
Prediction
beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810IDm8yeekzng1rmc0cmj03b8w5708StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A CYBRPKPP-inspired black man stands in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, and robotic limbs with glowing circuits across his body. Wears a combat outfit from head to toe.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A CYBRPKPP-inspired black man stands in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, and robotic limbs with glowing circuits across his body. Wears a combat outfit from head to toe.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "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 beancakes/flux-cyberpunk-people using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", { input: { model: "dev", prompt: "A CYBRPKPP-inspired black man stands in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, and robotic limbs with glowing circuits across his body. Wears a combat outfit from head to toe.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "16:9", output_format: "webp", 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 beancakes/flux-cyberpunk-people using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", input={ "model": "dev", "prompt": "A CYBRPKPP-inspired black man stands in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, and robotic limbs with glowing circuits across his body. Wears a combat outfit from head to toe.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run beancakes/flux-cyberpunk-people 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": "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", "input": { "model": "dev", "prompt": "A CYBRPKPP-inspired black man stands in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, and robotic limbs with glowing circuits across his body. Wears a combat outfit from head to toe.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "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-01-22T21:59:28.658108Z", "created_at": "2025-01-22T21:59:22.752000Z", "data_removed": false, "error": null, "id": "m8yeekzng1rmc0cmj03b8w5708", "input": { "model": "dev", "prompt": "A CYBRPKPP-inspired black man stands in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, and robotic limbs with glowing circuits across his body. Wears a combat outfit from head to toe.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Lora https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar already loaded\nUsing seed: 37499\n0it [00:00, ?it/s]\n1it [00:00, 8.48it/s]\n2it [00:00, 5.97it/s]\n3it [00:00, 5.46it/s]\n4it [00:00, 5.24it/s]\n5it [00:00, 5.13it/s]\n6it [00:01, 5.06it/s]\n7it [00:01, 5.02it/s]\n8it [00:01, 5.00it/s]\n9it [00:01, 4.98it/s]\n10it [00:01, 4.97it/s]\n11it [00:02, 4.96it/s]\n12it [00:02, 4.96it/s]\n13it [00:02, 4.95it/s]\n14it [00:02, 4.95it/s]\n15it [00:02, 4.95it/s]\n16it [00:03, 4.95it/s]\n17it [00:03, 4.94it/s]\n18it [00:03, 4.94it/s]\n19it [00:03, 4.94it/s]\n20it [00:03, 4.94it/s]\n21it [00:04, 4.94it/s]\n22it [00:04, 4.94it/s]\n23it [00:04, 4.94it/s]\n24it [00:04, 4.94it/s]\n25it [00:04, 4.94it/s]\n26it [00:05, 4.94it/s]\n27it [00:05, 4.94it/s]\n28it [00:05, 4.94it/s]\n28it [00:05, 5.02it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 5.898048585, "total_time": 5.906108 }, "output": [ "https://replicate.delivery/xezq/I84UnXe9ebqlK08PYXQxxYRJg8GqTLKliUNY73LfAokBijPoA/out-0.webp" ], "started_at": "2025-01-22T21:59:22.760060Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-zoezwuf55opyccfvtj27fb3phhnfqpd4kovpbsirea4tkaoejfba", "get": "https://api.replicate.com/v1/predictions/m8yeekzng1rmc0cmj03b8w5708", "cancel": "https://api.replicate.com/v1/predictions/m8yeekzng1rmc0cmj03b8w5708/cancel" }, "version": "5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810" }
Generated inLora https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar already loaded Using seed: 37499 0it [00:00, ?it/s] 1it [00:00, 8.48it/s] 2it [00:00, 5.97it/s] 3it [00:00, 5.46it/s] 4it [00:00, 5.24it/s] 5it [00:00, 5.13it/s] 6it [00:01, 5.06it/s] 7it [00:01, 5.02it/s] 8it [00:01, 5.00it/s] 9it [00:01, 4.98it/s] 10it [00:01, 4.97it/s] 11it [00:02, 4.96it/s] 12it [00:02, 4.96it/s] 13it [00:02, 4.95it/s] 14it [00:02, 4.95it/s] 15it [00:02, 4.95it/s] 16it [00:03, 4.95it/s] 17it [00:03, 4.94it/s] 18it [00:03, 4.94it/s] 19it [00:03, 4.94it/s] 20it [00:03, 4.94it/s] 21it [00:04, 4.94it/s] 22it [00:04, 4.94it/s] 23it [00:04, 4.94it/s] 24it [00:04, 4.94it/s] 25it [00:04, 4.94it/s] 26it [00:05, 4.94it/s] 27it [00:05, 4.94it/s] 28it [00:05, 4.94it/s] 28it [00:05, 5.02it/s] Total safe images: 1 out of 1
Prediction
beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810IDhdjyd6ebn5rma0cmj0vtwyn7tcStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- In the style of CYBRPKPP, full-body image of a woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 4:3
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "In the style of CYBRPKPP, full-body image of a woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:3", "output_format": "webp", "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 beancakes/flux-cyberpunk-people using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", { input: { model: "dev", prompt: "In the style of CYBRPKPP, full-body image of a woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit. ", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "4:3", output_format: "webp", 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 beancakes/flux-cyberpunk-people using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", input={ "model": "dev", "prompt": "In the style of CYBRPKPP, full-body image of a woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit. ", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:3", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run beancakes/flux-cyberpunk-people 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": "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", "input": { "model": "dev", "prompt": "In the style of CYBRPKPP, full-body image of a woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:3", "output_format": "webp", "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-01-22T22:52:49.846567Z", "created_at": "2025-01-22T22:52:43.305000Z", "data_removed": false, "error": null, "id": "hdjyd6ebn5rma0cmj0vtwyn7tc", "input": { "model": "dev", "prompt": "In the style of CYBRPKPP, full-body image of a woman standing in the middle of an alley cluttered with chairs, tables, and scattered debris with neon signs at night; Overhead cables and industrial elements line the narrow street; The person has intricate cybernetic facial implants, sleek metallic plating, robotic limbs with glowing circuits. Wears a combat outfit. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:3", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2025-01-22 22:52:43.370 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-22 22:52:43.370 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 90%|█████████ | 275/304 [00:00<00:00, 2741.58it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2654.70it/s]\n2025-01-22 22:52:43.485 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\n2025-01-22 22:52:43.486 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/d59ba61db55b73ab\n2025-01-22 22:52:43.608 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-22 22:52:43.609 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-22 22:52:43.609 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 95%|█████████▌| 290/304 [00:00<00:00, 2898.03it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2809.13it/s]\n2025-01-22 22:52:43.717 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s\nUsing seed: 43891\n0it [00:00, ?it/s]\n1it [00:00, 8.42it/s]\n2it [00:00, 5.87it/s]\n3it [00:00, 5.36it/s]\n4it [00:00, 5.15it/s]\n5it [00:00, 4.98it/s]\n6it [00:01, 4.91it/s]\n7it [00:01, 4.87it/s]\n8it [00:01, 4.86it/s]\n9it [00:01, 4.84it/s]\n10it [00:01, 4.81it/s]\n11it [00:02, 4.79it/s]\n12it [00:02, 4.79it/s]\n13it [00:02, 4.79it/s]\n14it [00:02, 4.79it/s]\n15it [00:03, 4.79it/s]\n16it [00:03, 4.79it/s]\n17it [00:03, 4.79it/s]\n18it [00:03, 4.80it/s]\n19it [00:03, 4.80it/s]\n20it [00:04, 4.79it/s]\n21it [00:04, 4.78it/s]\n22it [00:04, 4.79it/s]\n23it [00:04, 4.80it/s]\n24it [00:04, 4.80it/s]\n25it [00:05, 4.79it/s]\n26it [00:05, 4.78it/s]\n27it [00:05, 4.79it/s]\n28it [00:05, 4.79it/s]\n28it [00:05, 4.87it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 6.475354675, "total_time": 6.541567 }, "output": [ "https://replicate.delivery/xezq/aqWO6Z4e2xTKIKeuz4Fxjw1w1XyYy2FLMoC1zyv9GUqBjyHUA/out-0.webp" ], "started_at": "2025-01-22T22:52:43.371212Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-4pvwiuuixkxnn56ypfvrhaubbfxoion63wrjf6hrkwpb72h2rqoa", "get": "https://api.replicate.com/v1/predictions/hdjyd6ebn5rma0cmj0vtwyn7tc", "cancel": "https://api.replicate.com/v1/predictions/hdjyd6ebn5rma0cmj0vtwyn7tc/cancel" }, "version": "5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810" }
Generated in2025-01-22 22:52:43.370 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-22 22:52:43.370 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 90%|█████████ | 275/304 [00:00<00:00, 2741.58it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2654.70it/s] 2025-01-22 22:52:43.485 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s 2025-01-22 22:52:43.486 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/d59ba61db55b73ab 2025-01-22 22:52:43.608 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-22 22:52:43.609 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-22 22:52:43.609 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 95%|█████████▌| 290/304 [00:00<00:00, 2898.03it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2809.13it/s] 2025-01-22 22:52:43.717 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s Using seed: 43891 0it [00:00, ?it/s] 1it [00:00, 8.42it/s] 2it [00:00, 5.87it/s] 3it [00:00, 5.36it/s] 4it [00:00, 5.15it/s] 5it [00:00, 4.98it/s] 6it [00:01, 4.91it/s] 7it [00:01, 4.87it/s] 8it [00:01, 4.86it/s] 9it [00:01, 4.84it/s] 10it [00:01, 4.81it/s] 11it [00:02, 4.79it/s] 12it [00:02, 4.79it/s] 13it [00:02, 4.79it/s] 14it [00:02, 4.79it/s] 15it [00:03, 4.79it/s] 16it [00:03, 4.79it/s] 17it [00:03, 4.79it/s] 18it [00:03, 4.80it/s] 19it [00:03, 4.80it/s] 20it [00:04, 4.79it/s] 21it [00:04, 4.78it/s] 22it [00:04, 4.79it/s] 23it [00:04, 4.80it/s] 24it [00:04, 4.80it/s] 25it [00:05, 4.79it/s] 26it [00:05, 4.78it/s] 27it [00:05, 4.79it/s] 28it [00:05, 4.79it/s] 28it [00:05, 4.87it/s] Total safe images: 1 out of 1
Prediction
beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810ID021aejgxddrm80cmj11vkchw4rStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- In the style of CYBRPKPP, a grand cityscape with a wall of neon advertisements and holographic signs, a grand staircase leading toward the illuminated facade, with a dark, moody atmosphere enhanced by fog and scattered lighting. Focus on a dense, futuristic urban hub, bustling with dystopian energy.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 4:3
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "In the style of CYBRPKPP, a grand cityscape with a wall of neon advertisements and holographic signs, a grand staircase leading toward the illuminated facade, with a dark, moody atmosphere enhanced by fog and scattered lighting. Focus on a dense, futuristic urban hub, bustling with dystopian energy. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:3", "output_format": "webp", "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 beancakes/flux-cyberpunk-people using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", { input: { model: "dev", prompt: "In the style of CYBRPKPP, a grand cityscape with a wall of neon advertisements and holographic signs, a grand staircase leading toward the illuminated facade, with a dark, moody atmosphere enhanced by fog and scattered lighting. Focus on a dense, futuristic urban hub, bustling with dystopian energy. ", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "4:3", output_format: "webp", 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 beancakes/flux-cyberpunk-people using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", input={ "model": "dev", "prompt": "In the style of CYBRPKPP, a grand cityscape with a wall of neon advertisements and holographic signs, a grand staircase leading toward the illuminated facade, with a dark, moody atmosphere enhanced by fog and scattered lighting. Focus on a dense, futuristic urban hub, bustling with dystopian energy. ", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:3", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run beancakes/flux-cyberpunk-people 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": "beancakes/flux-cyberpunk-people:5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810", "input": { "model": "dev", "prompt": "In the style of CYBRPKPP, a grand cityscape with a wall of neon advertisements and holographic signs, a grand staircase leading toward the illuminated facade, with a dark, moody atmosphere enhanced by fog and scattered lighting. Focus on a dense, futuristic urban hub, bustling with dystopian energy. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:3", "output_format": "webp", "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-01-22T23:05:13.769368Z", "created_at": "2025-01-22T23:05:05.131000Z", "data_removed": false, "error": null, "id": "021aejgxddrm80cmj11vkchw4r", "input": { "model": "dev", "prompt": "In the style of CYBRPKPP, a grand cityscape with a wall of neon advertisements and holographic signs, a grand staircase leading toward the illuminated facade, with a dark, moody atmosphere enhanced by fog and scattered lighting. Focus on a dense, futuristic urban hub, bustling with dystopian energy. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "4:3", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2025-01-22 23:05:06.308 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-22 23:05:06.309 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 91%|█████████ | 277/304 [00:00<00:00, 2758.38it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2629.54it/s]\n2025-01-22 23:05:06.425 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\nfree=29195778867200\nDownloading weights\n2025-01-22T23:05:06Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmph1wn4oy2/weights url=https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar\n2025-01-22T23:05:07Z | INFO | [ Complete ] dest=/tmp/tmph1wn4oy2/weights size=\"215 MB\" total_elapsed=1.078s url=https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar\nDownloaded weights in 1.10s\n2025-01-22 23:05:07.529 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/d59ba61db55b73ab\n2025-01-22 23:05:07.608 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-22 23:05:07.609 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-22 23:05:07.609 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 94%|█████████▍| 285/304 [00:00<00:00, 2841.49it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2739.88it/s]\n2025-01-22 23:05:07.720 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s\nUsing seed: 32229\n0it [00:00, ?it/s]\n1it [00:00, 8.49it/s]\n2it [00:00, 5.95it/s]\n3it [00:00, 5.44it/s]\n4it [00:00, 5.22it/s]\n5it [00:00, 5.09it/s]\n6it [00:01, 4.99it/s]\n7it [00:01, 4.95it/s]\n8it [00:01, 4.94it/s]\n9it [00:01, 4.93it/s]\n10it [00:01, 4.91it/s]\n11it [00:02, 4.89it/s]\n12it [00:02, 4.88it/s]\n13it [00:02, 4.88it/s]\n14it [00:02, 4.88it/s]\n15it [00:02, 4.88it/s]\n16it [00:03, 4.87it/s]\n17it [00:03, 4.87it/s]\n18it [00:03, 4.87it/s]\n19it [00:03, 4.87it/s]\n20it [00:04, 4.87it/s]\n21it [00:04, 4.88it/s]\n22it [00:04, 4.88it/s]\n23it [00:04, 4.88it/s]\n24it [00:04, 4.88it/s]\n25it [00:05, 4.88it/s]\n26it [00:05, 4.87it/s]\n27it [00:05, 4.87it/s]\n28it [00:05, 4.87it/s]\n28it [00:05, 4.95it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 7.460305656, "total_time": 8.638368 }, "output": [ "https://replicate.delivery/xezq/2hD4a9lPMFpmL9fV9bhNyyVvfTVy7F1Nt3pfJsQHLdKSdlPoA/out-0.webp" ], "started_at": "2025-01-22T23:05:06.309063Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-jubrfpn56pa4rkafhhh33r4jclxoddon2nuexphypdobxuzwux7q", "get": "https://api.replicate.com/v1/predictions/021aejgxddrm80cmj11vkchw4r", "cancel": "https://api.replicate.com/v1/predictions/021aejgxddrm80cmj11vkchw4r/cancel" }, "version": "5ece7e410929dfd5a9ce8212e44e70dfdfb600f6afe4009f7b116091c5114810" }
Generated in2025-01-22 23:05:06.308 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-22 23:05:06.309 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 91%|█████████ | 277/304 [00:00<00:00, 2758.38it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2629.54it/s] 2025-01-22 23:05:06.425 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s free=29195778867200 Downloading weights 2025-01-22T23:05:06Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmph1wn4oy2/weights url=https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar 2025-01-22T23:05:07Z | INFO | [ Complete ] dest=/tmp/tmph1wn4oy2/weights size="215 MB" total_elapsed=1.078s url=https://replicate.delivery/xezq/obnQCYkNpgoIPJNb46b51MRMqfFlgjToS7EgK83xXEejYxHUA/trained_model.tar Downloaded weights in 1.10s 2025-01-22 23:05:07.529 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/d59ba61db55b73ab 2025-01-22 23:05:07.608 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-22 23:05:07.609 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-22 23:05:07.609 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 94%|█████████▍| 285/304 [00:00<00:00, 2841.49it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2739.88it/s] 2025-01-22 23:05:07.720 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s Using seed: 32229 0it [00:00, ?it/s] 1it [00:00, 8.49it/s] 2it [00:00, 5.95it/s] 3it [00:00, 5.44it/s] 4it [00:00, 5.22it/s] 5it [00:00, 5.09it/s] 6it [00:01, 4.99it/s] 7it [00:01, 4.95it/s] 8it [00:01, 4.94it/s] 9it [00:01, 4.93it/s] 10it [00:01, 4.91it/s] 11it [00:02, 4.89it/s] 12it [00:02, 4.88it/s] 13it [00:02, 4.88it/s] 14it [00:02, 4.88it/s] 15it [00:02, 4.88it/s] 16it [00:03, 4.87it/s] 17it [00:03, 4.87it/s] 18it [00:03, 4.87it/s] 19it [00:03, 4.87it/s] 20it [00:04, 4.87it/s] 21it [00:04, 4.88it/s] 22it [00:04, 4.88it/s] 23it [00:04, 4.88it/s] 24it [00:04, 4.88it/s] 25it [00:05, 4.88it/s] 26it [00:05, 4.87it/s] 27it [00:05, 4.87it/s] 28it [00:05, 4.87it/s] 28it [00:05, 4.95it/s] Total safe images: 1 out of 1
Want to make some of these yourself?
Run this model