fofr
/
flux-cyberpunk-typeface
Flux lora by AggravatingScree7189, use "cyberpunk typeface" to trigger image generation
Prediction
fofr/flux-cyberpunk-typeface:0a155773Input
- model
- dev
- prompt
- "Flux" in a Cyberpunk typeface on a movie poster
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "\"Flux\" in a Cyberpunk typeface on a movie poster", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/flux-cyberpunk-typeface using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/flux-cyberpunk-typeface:0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1", { input: { model: "dev", prompt: "\"Flux\" in a Cyberpunk typeface on a movie poster", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "webp", guidance_scale: 3.5, output_quality: 80, extra_lora_scale: 0.8, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run fofr/flux-cyberpunk-typeface using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/flux-cyberpunk-typeface:0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1", input={ "model": "dev", "prompt": "\"Flux\" in a Cyberpunk typeface on a movie poster", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run fofr/flux-cyberpunk-typeface 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": "0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1", "input": { "model": "dev", "prompt": "\\"Flux\\" in a Cyberpunk typeface on a movie poster", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-24T17:37:54.191093Z", "created_at": "2024-08-24T17:37:31.001000Z", "data_removed": false, "error": null, "id": "qxkf99zkf5rm00chgnv9319a1g", "input": { "model": "dev", "prompt": "\"Flux\" in a Cyberpunk typeface on a movie poster", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 56551\nPrompt: \"Flux\" in a Cyberpunk typeface on a movie poster\ntxt2img mode\nUsing dev model\nfree=9626333323264\nDownloading weights\n2024-08-24T17:37:31Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpq33qbqto/weights url=https://replicate.delivery/yhqm/PW4uqvfQiKxLL6QH8FdX3KxndfQaQgvoE4lGo2carJe5b5rmA/trained_model.tar\n2024-08-24T17:37:32Z | INFO | [ Complete ] dest=/tmp/tmpq33qbqto/weights size=\"344 MB\" total_elapsed=1.880s url=https://replicate.delivery/yhqm/PW4uqvfQiKxLL6QH8FdX3KxndfQaQgvoE4lGo2carJe5b5rmA/trained_model.tar\nDownloaded weights in 1.93s\nLoaded LoRAs in 15.30s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.78it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.34it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.06it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.95it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.88it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.84it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.82it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.81it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.80it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.79it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.79it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.79it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.78it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.78it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.78it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.78it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.78it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.78it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.78it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.78it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.78it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.78it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.78it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.78it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.77it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.77it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.77it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.78it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.81it/s]", "metrics": { "predict_time": 23.181350764, "total_time": 23.190093 }, "output": [ "https://replicate.delivery/yhqm/o4oshli5CRZtNNdhDlBpi5FWnWVaw85VC9RXEXrvx8qcMfqJA/out-0.webp" ], "started_at": "2024-08-24T17:37:31.009742Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/qxkf99zkf5rm00chgnv9319a1g", "cancel": "https://api.replicate.com/v1/predictions/qxkf99zkf5rm00chgnv9319a1g/cancel" }, "version": "0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1" }
Generated inUsing seed: 56551 Prompt: "Flux" in a Cyberpunk typeface on a movie poster txt2img mode Using dev model free=9626333323264 Downloading weights 2024-08-24T17:37:31Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpq33qbqto/weights url=https://replicate.delivery/yhqm/PW4uqvfQiKxLL6QH8FdX3KxndfQaQgvoE4lGo2carJe5b5rmA/trained_model.tar 2024-08-24T17:37:32Z | INFO | [ Complete ] dest=/tmp/tmpq33qbqto/weights size="344 MB" total_elapsed=1.880s url=https://replicate.delivery/yhqm/PW4uqvfQiKxLL6QH8FdX3KxndfQaQgvoE4lGo2carJe5b5rmA/trained_model.tar Downloaded weights in 1.93s Loaded LoRAs in 15.30s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.78it/s] 7%|▋ | 2/28 [00:00<00:05, 4.34it/s] 11%|█ | 3/28 [00:00<00:06, 4.06it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.95it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.88it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.84it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.82it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.81it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.80it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.79it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.79it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.79it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.78it/s] 50%|█████ | 14/28 [00:03<00:03, 3.78it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.78it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.78it/s] 61%|██████ | 17/28 [00:04<00:02, 3.78it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.78it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.78it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.78it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.78it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.78it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.78it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.78it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.77it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.77it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.77it/s] 100%|██████████| 28/28 [00:07<00:00, 3.78it/s] 100%|██████████| 28/28 [00:07<00:00, 3.81it/s]
Prediction
fofr/flux-cyberpunk-typeface:0a155773IDtqqaddd825rm60chgnvtm5zvrwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- "Flux" in a Cyberpunk typeface on a movie poster against a cityscape
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "\"Flux\" in a Cyberpunk typeface on a movie poster against a cityscape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/flux-cyberpunk-typeface using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/flux-cyberpunk-typeface:0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1", { input: { model: "dev", prompt: "\"Flux\" in a Cyberpunk typeface on a movie poster against a cityscape", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "webp", guidance_scale: 3.5, output_quality: 80, extra_lora_scale: 0.8, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run fofr/flux-cyberpunk-typeface using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/flux-cyberpunk-typeface:0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1", input={ "model": "dev", "prompt": "\"Flux\" in a Cyberpunk typeface on a movie poster against a cityscape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run fofr/flux-cyberpunk-typeface 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": "0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1", "input": { "model": "dev", "prompt": "\\"Flux\\" in a Cyberpunk typeface on a movie poster against a cityscape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-24T17:38:41.282788Z", "created_at": "2024-08-24T17:38:17.233000Z", "data_removed": false, "error": null, "id": "tqqaddd825rm60chgnvtm5zvrw", "input": { "model": "dev", "prompt": "\"Flux\" in a Cyberpunk typeface on a movie poster against a cityscape", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 44498\nPrompt: \"Flux\" in a Cyberpunk typeface on a movie poster against a cityscape\ntxt2img mode\nUsing dev model\nfree=9667608453120\nDownloading weights\n2024-08-24T17:38:17Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpmx7daty8/weights url=https://replicate.delivery/yhqm/PW4uqvfQiKxLL6QH8FdX3KxndfQaQgvoE4lGo2carJe5b5rmA/trained_model.tar\n2024-08-24T17:38:20Z | INFO | [ Complete ] dest=/tmp/tmpmx7daty8/weights size=\"344 MB\" total_elapsed=3.531s url=https://replicate.delivery/yhqm/PW4uqvfQiKxLL6QH8FdX3KxndfQaQgvoE4lGo2carJe5b5rmA/trained_model.tar\nDownloaded weights in 3.57s\nLoaded LoRAs in 16.13s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.76it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.33it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.05it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.93it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.87it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.83it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.81it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.79it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.78it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.77it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.77it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.77it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.77it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.77it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.77it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.77it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.77it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.77it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.77it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.77it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.77it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.77it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.77it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.77it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.77it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.77it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.77it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.77it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.80it/s]", "metrics": { "predict_time": 24.040878078, "total_time": 24.049788 }, "output": [ "https://replicate.delivery/yhqm/LsH8i9TCBybdN9euJFqI8wlbTLNnGic1I6fELPu0NF0hy8VTA/out-0.webp" ], "started_at": "2024-08-24T17:38:17.241910Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/tqqaddd825rm60chgnvtm5zvrw", "cancel": "https://api.replicate.com/v1/predictions/tqqaddd825rm60chgnvtm5zvrw/cancel" }, "version": "0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1" }
Generated inUsing seed: 44498 Prompt: "Flux" in a Cyberpunk typeface on a movie poster against a cityscape txt2img mode Using dev model free=9667608453120 Downloading weights 2024-08-24T17:38:17Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpmx7daty8/weights url=https://replicate.delivery/yhqm/PW4uqvfQiKxLL6QH8FdX3KxndfQaQgvoE4lGo2carJe5b5rmA/trained_model.tar 2024-08-24T17:38:20Z | INFO | [ Complete ] dest=/tmp/tmpmx7daty8/weights size="344 MB" total_elapsed=3.531s url=https://replicate.delivery/yhqm/PW4uqvfQiKxLL6QH8FdX3KxndfQaQgvoE4lGo2carJe5b5rmA/trained_model.tar Downloaded weights in 3.57s Loaded LoRAs in 16.13s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.76it/s] 7%|▋ | 2/28 [00:00<00:06, 4.33it/s] 11%|█ | 3/28 [00:00<00:06, 4.05it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.93it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.87it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.83it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.81it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.79it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.78it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.77it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.77it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.77it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.77it/s] 50%|█████ | 14/28 [00:03<00:03, 3.77it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.77it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.77it/s] 61%|██████ | 17/28 [00:04<00:02, 3.77it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.77it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.77it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.77it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.77it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.77it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.77it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.77it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.77it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.77it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.77it/s] 100%|██████████| 28/28 [00:07<00:00, 3.77it/s] 100%|██████████| 28/28 [00:07<00:00, 3.80it/s]
Prediction
fofr/flux-cyberpunk-typeface:0a155773IDaa73asmyr9rm00chgqhams7fw8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a daytime 80s cyberpunk photo of a sports car driving fast, with a title in a cyberpunk typeface saying “latent space”
- extra_lora
- fofr/flux-80s-cyberpunk
- lora_scale
- 1.03
- num_outputs
- 4
- aspect_ratio
- 3:4
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a daytime 80s cyberpunk photo of a sports car driving fast, with a title in a cyberpunk typeface saying “latent space”", "extra_lora": "fofr/flux-80s-cyberpunk", "lora_scale": 1.03, "num_outputs": 4, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/flux-cyberpunk-typeface using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/flux-cyberpunk-typeface:0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1", { input: { model: "dev", prompt: "a daytime 80s cyberpunk photo of a sports car driving fast, with a title in a cyberpunk typeface saying “latent space”", extra_lora: "fofr/flux-80s-cyberpunk", lora_scale: 1.03, num_outputs: 4, aspect_ratio: "3:4", output_format: "webp", guidance_scale: 3.5, output_quality: 80, extra_lora_scale: 0.8, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run fofr/flux-cyberpunk-typeface using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/flux-cyberpunk-typeface:0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1", input={ "model": "dev", "prompt": "a daytime 80s cyberpunk photo of a sports car driving fast, with a title in a cyberpunk typeface saying “latent space”", "extra_lora": "fofr/flux-80s-cyberpunk", "lora_scale": 1.03, "num_outputs": 4, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run fofr/flux-cyberpunk-typeface 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": "0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1", "input": { "model": "dev", "prompt": "a daytime 80s cyberpunk photo of a sports car driving fast, with a title in a cyberpunk typeface saying “latent space”", "extra_lora": "fofr/flux-80s-cyberpunk", "lora_scale": 1.03, "num_outputs": 4, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-24T19:36:02.295130Z", "created_at": "2024-08-24T19:35:07.202000Z", "data_removed": false, "error": null, "id": "aa73asmyr9rm00chgqhams7fw8", "input": { "model": "dev", "prompt": "a daytime 80s cyberpunk photo of a sports car driving fast, with a title in a cyberpunk typeface saying “latent space”", "extra_lora": "fofr/flux-80s-cyberpunk", "lora_scale": 1.03, "num_outputs": 4, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 53544\nPrompt: a daytime 80s cyberpunk photo of a sports car driving fast, with a title in a cyberpunk typeface saying “latent space”\ntxt2img mode\nUsing dev model\nLoading extra LoRA weights from: fofr/flux-80s-cyberpunk\nfree=9816129433600\nDownloading weights\n2024-08-24T19:35:18Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpcxe6b3xe/weights url=https://replicate.com/fofr/flux-80s-cyberpunk/_weights\n2024-08-24T19:35:18Z | INFO | [ Redirect ] redirect_url=https://replicate.delivery/yhqm/DDR8uNjZIRZrChCj3jFgxcjMvgyGZcAolnnE7YEva8cEPv0E/trained_model.tar url=https://replicate.com/fofr/flux-80s-cyberpunk/_weights\n2024-08-24T19:35:19Z | INFO | [ Complete ] dest=/tmp/tmpcxe6b3xe/weights size=\"172 MB\" total_elapsed=1.719s url=https://replicate.com/fofr/flux-80s-cyberpunk/_weights\nDownloaded weights in 1.75s\nLoaded LoRAs in 21.99s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:30, 1.13s/it]\n 7%|▋ | 2/28 [00:02<00:26, 1.03s/it]\n 11%|█ | 3/28 [00:03<00:26, 1.08s/it]\n 14%|█▍ | 4/28 [00:04<00:26, 1.10s/it]\n 18%|█▊ | 5/28 [00:05<00:25, 1.11s/it]\n 21%|██▏ | 6/28 [00:06<00:24, 1.11s/it]\n 25%|██▌ | 7/28 [00:07<00:23, 1.12s/it]\n 29%|██▊ | 8/28 [00:08<00:22, 1.12s/it]\n 32%|███▏ | 9/28 [00:09<00:21, 1.12s/it]\n 36%|███▌ | 10/28 [00:11<00:20, 1.13s/it]\n 39%|███▉ | 11/28 [00:12<00:19, 1.13s/it]\n 43%|████▎ | 12/28 [00:13<00:18, 1.13s/it]\n 46%|████▋ | 13/28 [00:14<00:16, 1.13s/it]\n 50%|█████ | 14/28 [00:15<00:15, 1.13s/it]\n 54%|█████▎ | 15/28 [00:16<00:14, 1.13s/it]\n 57%|█████▋ | 16/28 [00:17<00:13, 1.13s/it]\n 61%|██████ | 17/28 [00:19<00:12, 1.13s/it]\n 64%|██████▍ | 18/28 [00:20<00:11, 1.13s/it]\n 68%|██████▊ | 19/28 [00:21<00:10, 1.13s/it]\n 71%|███████▏ | 20/28 [00:22<00:09, 1.13s/it]\n 75%|███████▌ | 21/28 [00:23<00:07, 1.13s/it]\n 79%|███████▊ | 22/28 [00:24<00:06, 1.14s/it]\n 82%|████████▏ | 23/28 [00:25<00:05, 1.13s/it]\n 86%|████████▌ | 24/28 [00:26<00:04, 1.14s/it]\n 89%|████████▉ | 25/28 [00:28<00:03, 1.14s/it]\n 93%|█████████▎| 26/28 [00:29<00:02, 1.14s/it]\n 96%|█████████▋| 27/28 [00:30<00:01, 1.13s/it]\n100%|██████████| 28/28 [00:31<00:00, 1.13s/it]\n100%|██████████| 28/28 [00:31<00:00, 1.13s/it]", "metrics": { "predict_time": 55.083400385, "total_time": 55.09313 }, "output": [ "https://replicate.delivery/yhqm/OYEv3ZbmAZ5XA1wh2RGOwuRKtiUVUqgmiA2jw8UtJyQIofqJA/out-0.webp", "https://replicate.delivery/yhqm/ne8Gy7qZe4kUA0giKDiyKDv5H9x5rcSvaEP7o8jRRNnigermA/out-1.webp", "https://replicate.delivery/yhqm/MFFmJYawtP5LMtgYRbVsQc0YeDIHbHZSJlB96BxXVXdRQfVTA/out-2.webp", "https://replicate.delivery/yhqm/Pfdfd7mvf1Gn0pheo9SnqWwSq8nVbsCbKMYSk9IZkNVKC6XNB/out-3.webp" ], "started_at": "2024-08-24T19:35:07.211730Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/aa73asmyr9rm00chgqhams7fw8", "cancel": "https://api.replicate.com/v1/predictions/aa73asmyr9rm00chgqhams7fw8/cancel" }, "version": "0a155773ae9a59d4cf87c778776024f5826f1e1c70dc2b817dae5732937dd1e1" }
Generated inUsing seed: 53544 Prompt: a daytime 80s cyberpunk photo of a sports car driving fast, with a title in a cyberpunk typeface saying “latent space” txt2img mode Using dev model Loading extra LoRA weights from: fofr/flux-80s-cyberpunk free=9816129433600 Downloading weights 2024-08-24T19:35:18Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpcxe6b3xe/weights url=https://replicate.com/fofr/flux-80s-cyberpunk/_weights 2024-08-24T19:35:18Z | INFO | [ Redirect ] redirect_url=https://replicate.delivery/yhqm/DDR8uNjZIRZrChCj3jFgxcjMvgyGZcAolnnE7YEva8cEPv0E/trained_model.tar url=https://replicate.com/fofr/flux-80s-cyberpunk/_weights 2024-08-24T19:35:19Z | INFO | [ Complete ] dest=/tmp/tmpcxe6b3xe/weights size="172 MB" total_elapsed=1.719s url=https://replicate.com/fofr/flux-80s-cyberpunk/_weights Downloaded weights in 1.75s Loaded LoRAs in 21.99s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:30, 1.13s/it] 7%|▋ | 2/28 [00:02<00:26, 1.03s/it] 11%|█ | 3/28 [00:03<00:26, 1.08s/it] 14%|█▍ | 4/28 [00:04<00:26, 1.10s/it] 18%|█▊ | 5/28 [00:05<00:25, 1.11s/it] 21%|██▏ | 6/28 [00:06<00:24, 1.11s/it] 25%|██▌ | 7/28 [00:07<00:23, 1.12s/it] 29%|██▊ | 8/28 [00:08<00:22, 1.12s/it] 32%|███▏ | 9/28 [00:09<00:21, 1.12s/it] 36%|███▌ | 10/28 [00:11<00:20, 1.13s/it] 39%|███▉ | 11/28 [00:12<00:19, 1.13s/it] 43%|████▎ | 12/28 [00:13<00:18, 1.13s/it] 46%|████▋ | 13/28 [00:14<00:16, 1.13s/it] 50%|█████ | 14/28 [00:15<00:15, 1.13s/it] 54%|█████▎ | 15/28 [00:16<00:14, 1.13s/it] 57%|█████▋ | 16/28 [00:17<00:13, 1.13s/it] 61%|██████ | 17/28 [00:19<00:12, 1.13s/it] 64%|██████▍ | 18/28 [00:20<00:11, 1.13s/it] 68%|██████▊ | 19/28 [00:21<00:10, 1.13s/it] 71%|███████▏ | 20/28 [00:22<00:09, 1.13s/it] 75%|███████▌ | 21/28 [00:23<00:07, 1.13s/it] 79%|███████▊ | 22/28 [00:24<00:06, 1.14s/it] 82%|████████▏ | 23/28 [00:25<00:05, 1.13s/it] 86%|████████▌ | 24/28 [00:26<00:04, 1.14s/it] 89%|████████▉ | 25/28 [00:28<00:03, 1.14s/it] 93%|█████████▎| 26/28 [00:29<00:02, 1.14s/it] 96%|█████████▋| 27/28 [00:30<00:01, 1.13s/it] 100%|██████████| 28/28 [00:31<00:00, 1.13s/it] 100%|██████████| 28/28 [00:31<00:00, 1.13s/it]
Want to make some of these yourself?
Run this model