fofr
/
flux-neo-impressionism
A flux fine-tune based on neo-impressionism
- Public
- 1K runs
-
H100
- Weights
Prediction
fofr/flux-neo-impressionism:7cbedb58IDjwyydr49adrm60cjtga9t0s8vrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a neo-impressionism painting of a bioluminescent jellyfish
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:4
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a neo-impressionism painting of a bioluminescent jellyfish", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
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-neo-impressionism using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/flux-neo-impressionism:7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e", { input: { model: "dev", prompt: "a neo-impressionism painting of a bioluminescent jellyfish", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:4", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, 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-neo-impressionism using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/flux-neo-impressionism:7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e", input={ "model": "dev", "prompt": "a neo-impressionism painting of a bioluminescent jellyfish", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "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.
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-neo-impressionism 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": "7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e", "input": { "model": "dev", "prompt": "a neo-impressionism painting of a bioluminescent jellyfish", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-28T17:03:04.591693Z", "created_at": "2024-10-28T17:02:48.659000Z", "data_removed": false, "error": null, "id": "jwyydr49adrm60cjtga9t0s8vr", "input": { "model": "dev", "prompt": "a neo-impressionism painting of a bioluminescent jellyfish", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 14297\nPrompt: a neo-impressionism painting of a bioluminescent jellyfish\n[!] txt2img mode\nUsing dev model\nfree=6549679337472\nDownloading weights\n2024-10-28T17:02:52Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmph9d2vk23/weights url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar\n2024-10-28T17:02:53Z | INFO | [ Complete ] dest=/tmp/tmph9d2vk23/weights size=\"172 MB\" total_elapsed=1.743s url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar\nDownloaded weights in 1.78s\nLoaded LoRAs in 2.52s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.91it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.24it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.08it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.01it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.97it/s]\n 21%|██▏ | 6/28 [00:02<00:07, 2.95it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.94it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.93it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.92it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.92it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.91it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.91it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.91it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.91it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.91it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.91it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.91it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.91it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.91it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.91it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.91it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.91it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.91it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.91it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.91it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.91it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.91it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.91it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.93it/s]", "metrics": { "predict_time": 12.464192698, "total_time": 15.932693 }, "output": [ "https://replicate.delivery/yhqm/ct3X3fkHlqUIRadBtltjUghc8AgXNcLmjZR9Luf2cuKIXXrTA/out-0.webp" ], "started_at": "2024-10-28T17:02:52.127501Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/wcdb-rzo5hcwg4uwsb62st3onl6ketucb4bh53tj54bjsfduqkm6wevwa", "get": "https://api.replicate.com/v1/predictions/jwyydr49adrm60cjtga9t0s8vr", "cancel": "https://api.replicate.com/v1/predictions/jwyydr49adrm60cjtga9t0s8vr/cancel" }, "version": "7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e" }
Generated inUsing seed: 14297 Prompt: a neo-impressionism painting of a bioluminescent jellyfish [!] txt2img mode Using dev model free=6549679337472 Downloading weights 2024-10-28T17:02:52Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmph9d2vk23/weights url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar 2024-10-28T17:02:53Z | INFO | [ Complete ] dest=/tmp/tmph9d2vk23/weights size="172 MB" total_elapsed=1.743s url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar Downloaded weights in 1.78s Loaded LoRAs in 2.52s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.91it/s] 7%|▋ | 2/28 [00:00<00:08, 3.24it/s] 11%|█ | 3/28 [00:00<00:08, 3.08it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.01it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.97it/s] 21%|██▏ | 6/28 [00:02<00:07, 2.95it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.94it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.93it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.92it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.92it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.91it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.91it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.91it/s] 50%|█████ | 14/28 [00:04<00:04, 2.91it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.91it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.91it/s] 61%|██████ | 17/28 [00:05<00:03, 2.91it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.91it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.91it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.91it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.91it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.91it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.91it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.91it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.91it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.91it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.91it/s] 100%|██████████| 28/28 [00:09<00:00, 2.91it/s] 100%|██████████| 28/28 [00:09<00:00, 2.93it/s]
Prediction
fofr/flux-neo-impressionism:7cbedb58ID1nwsmgd1ksrm20cjtgbvcsrpqrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a neo-impressionism portrait painting of a cyberpunk
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:4
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a neo-impressionism portrait painting of a cyberpunk", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
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-neo-impressionism using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/flux-neo-impressionism:7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e", { input: { model: "dev", prompt: "a neo-impressionism portrait painting of a cyberpunk", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:4", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, 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-neo-impressionism using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/flux-neo-impressionism:7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e", input={ "model": "dev", "prompt": "a neo-impressionism portrait painting of a cyberpunk", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "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.
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-neo-impressionism 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": "7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e", "input": { "model": "dev", "prompt": "a neo-impressionism portrait painting of a cyberpunk", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-28T17:06:25.528173Z", "created_at": "2024-10-28T17:06:11.486000Z", "data_removed": false, "error": null, "id": "1nwsmgd1ksrm20cjtgbvcsrpqr", "input": { "model": "dev", "prompt": "a neo-impressionism portrait painting of a cyberpunk", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 51494\nPrompt: a neo-impressionism portrait painting of a cyberpunk\n[!] txt2img mode\nUsing dev model\nfree=8913827016704\nDownloading weights\n2024-10-28T17:06:13Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmppxwr9nt4/weights url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar\n2024-10-28T17:06:14Z | INFO | [ Complete ] dest=/tmp/tmppxwr9nt4/weights size=\"172 MB\" total_elapsed=1.692s url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar\nDownloaded weights in 1.72s\nLoaded LoRAs in 2.45s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.91it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.25it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.09it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.01it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.98it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 2.96it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.94it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.93it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.93it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.92it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.92it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.92it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.92it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.92it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.91it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.91it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.91it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.91it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.91it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.91it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.91it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.91it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.91it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.91it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.91it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.91it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.91it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.91it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.93it/s]", "metrics": { "predict_time": 12.388039569, "total_time": 14.042173 }, "output": [ "https://replicate.delivery/yhqm/2MYF93NgtTpeGKTx1iU4DtyLslWifkskuAEGfzINuQOj0uWnA/out-0.webp" ], "started_at": "2024-10-28T17:06:13.140134Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/wcdb-4m5ljl67ssohgwckwx3omqnnssoco4gq5rctjjph5u75h2judhcq", "get": "https://api.replicate.com/v1/predictions/1nwsmgd1ksrm20cjtgbvcsrpqr", "cancel": "https://api.replicate.com/v1/predictions/1nwsmgd1ksrm20cjtgbvcsrpqr/cancel" }, "version": "7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e" }
Generated inUsing seed: 51494 Prompt: a neo-impressionism portrait painting of a cyberpunk [!] txt2img mode Using dev model free=8913827016704 Downloading weights 2024-10-28T17:06:13Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmppxwr9nt4/weights url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar 2024-10-28T17:06:14Z | INFO | [ Complete ] dest=/tmp/tmppxwr9nt4/weights size="172 MB" total_elapsed=1.692s url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar Downloaded weights in 1.72s Loaded LoRAs in 2.45s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.91it/s] 7%|▋ | 2/28 [00:00<00:08, 3.25it/s] 11%|█ | 3/28 [00:00<00:08, 3.09it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.01it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.98it/s] 21%|██▏ | 6/28 [00:01<00:07, 2.96it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.94it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.93it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.93it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.92it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.92it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.92it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.92it/s] 50%|█████ | 14/28 [00:04<00:04, 2.92it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.91it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.91it/s] 61%|██████ | 17/28 [00:05<00:03, 2.91it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.91it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.91it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.91it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.91it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.91it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.91it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.91it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.91it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.91it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.91it/s] 100%|██████████| 28/28 [00:09<00:00, 2.91it/s] 100%|██████████| 28/28 [00:09<00:00, 2.93it/s]
Prediction
fofr/flux-neo-impressionism:7cbedb58IDh16vy3ak4nrm20cjtge831wd78StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a neo-impressionism closeup portrait painting of a futuristic cyberpunk, a busy street in the background, neon
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:4
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a neo-impressionism closeup portrait painting of a futuristic cyberpunk, a busy street in the background, neon", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
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-neo-impressionism using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/flux-neo-impressionism:7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e", { input: { model: "dev", prompt: "a neo-impressionism closeup portrait painting of a futuristic cyberpunk, a busy street in the background, neon", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:4", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, 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-neo-impressionism using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/flux-neo-impressionism:7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e", input={ "model": "dev", "prompt": "a neo-impressionism closeup portrait painting of a futuristic cyberpunk, a busy street in the background, neon", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "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.
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-neo-impressionism 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": "7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e", "input": { "model": "dev", "prompt": "a neo-impressionism closeup portrait painting of a futuristic cyberpunk, a busy street in the background, neon", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-28T17:11:31.269917Z", "created_at": "2024-10-28T17:11:19.077000Z", "data_removed": false, "error": null, "id": "h16vy3ak4nrm20cjtge831wd78", "input": { "model": "dev", "prompt": "a neo-impressionism closeup portrait painting of a futuristic cyberpunk, a busy street in the background, neon", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 4164\nPrompt: a neo-impressionism closeup portrait painting of a futuristic cyberpunk, a busy street in the background, neon\n[!] txt2img mode\nUsing dev model\nfree=8000231948288\nDownloading weights\n2024-10-28T17:11:19Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpvad3mtr4/weights url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar\n2024-10-28T17:11:20Z | INFO | [ Complete ] dest=/tmp/tmpvad3mtr4/weights size=\"172 MB\" total_elapsed=1.501s url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar\nDownloaded weights in 1.53s\nLoaded LoRAs in 2.14s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.90it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.23it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.07it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.00it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.96it/s]\n 21%|██▏ | 6/28 [00:02<00:07, 2.94it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.93it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.92it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.91it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.91it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.90it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.90it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.90it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.90it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.90it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.90it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.90it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.90it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.90it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.90it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.90it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.90it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.90it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.90it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.90it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.90it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.89it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.89it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.91it/s]", "metrics": { "predict_time": 12.126821518, "total_time": 12.192917 }, "output": [ "https://replicate.delivery/yhqm/iyq6HmqkpvYkFBrLn0HwNEIV5twszmkH8MKC1Zxfqj0hvr1JA/out-0.webp" ], "started_at": "2024-10-28T17:11:19.143095Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/wcdb-wfnummnn5vs5qttyjowpm6jx3dweu6umwo3dyqd2bf47tes7e2ja", "get": "https://api.replicate.com/v1/predictions/h16vy3ak4nrm20cjtge831wd78", "cancel": "https://api.replicate.com/v1/predictions/h16vy3ak4nrm20cjtge831wd78/cancel" }, "version": "7cbedb5821207721873a5dcf248a5d8fe232214e32e5b6b94c4206c218be631e" }
Generated inUsing seed: 4164 Prompt: a neo-impressionism closeup portrait painting of a futuristic cyberpunk, a busy street in the background, neon [!] txt2img mode Using dev model free=8000231948288 Downloading weights 2024-10-28T17:11:19Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpvad3mtr4/weights url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar 2024-10-28T17:11:20Z | INFO | [ Complete ] dest=/tmp/tmpvad3mtr4/weights size="172 MB" total_elapsed=1.501s url=https://replicate.delivery/yhqm/a7j0RHX0T1YqEZT0loRsgby1OR3DHHjccCMad4YqAAVGy16E/trained_model.tar Downloaded weights in 1.53s Loaded LoRAs in 2.14s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.90it/s] 7%|▋ | 2/28 [00:00<00:08, 3.23it/s] 11%|█ | 3/28 [00:00<00:08, 3.07it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.00it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.96it/s] 21%|██▏ | 6/28 [00:02<00:07, 2.94it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.93it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.92it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.91it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.91it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.90it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.90it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.90it/s] 50%|█████ | 14/28 [00:04<00:04, 2.90it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.90it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.90it/s] 61%|██████ | 17/28 [00:05<00:03, 2.90it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.90it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.90it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.90it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.90it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.90it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.90it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.90it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.90it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.90it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.89it/s] 100%|██████████| 28/28 [00:09<00:00, 2.89it/s] 100%|██████████| 28/28 [00:09<00:00, 2.91it/s]
Want to make some of these yourself?
Run this model