ostris / openflux.1
OpenFLUX.1 (Beta v0.1.0), is a fine tune of the FLUX.1-Schnell model with the distillation trained out of it
Prediction
ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293IDw3jdewxbw1rj40cjjrz9f2sc0cStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- prompt
- a retro diner with the neon sign "OpenFLUX.1" glowing in pink. A classic red car is parked outside, complementing the vintage aesthetic of the diner. Behind the car, is a jukebox. Above the car, a UFO hovers, casting a beam of light onto the ground
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "prompt": "a retro diner with the neon sign \"OpenFLUX.1\" glowing in pink. A classic red car is parked outside, complementing the vintage aesthetic of the diner. Behind the car, is a jukebox. Above the car, a UFO hovers, casting a beam of light onto the ground", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 ostris/openflux.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", { input: { prompt: "a retro diner with the neon sign \"OpenFLUX.1\" glowing in pink. A classic red car is parked outside, complementing the vintage aesthetic of the diner. Behind the car, is a jukebox. Above the car, a UFO hovers, casting a beam of light onto the ground", num_outputs: 1, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 ostris/openflux.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", input={ "prompt": "a retro diner with the neon sign \"OpenFLUX.1\" glowing in pink. A classic red car is parked outside, complementing the vintage aesthetic of the diner. Behind the car, is a jukebox. Above the car, a UFO hovers, casting a beam of light onto the ground", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run ostris/openflux.1 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": "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", "input": { "prompt": "a retro diner with the neon sign \\"OpenFLUX.1\\" glowing in pink. A classic red car is parked outside, complementing the vintage aesthetic of the diner. Behind the car, is a jukebox. Above the car, a UFO hovers, casting a beam of light onto the ground", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-16T16:52:48.915385Z", "created_at": "2024-10-16T16:52:22.624000Z", "data_removed": false, "error": null, "id": "w3jdewxbw1rj40cjjrz9f2sc0c", "input": { "prompt": "a retro diner with the neon sign \"OpenFLUX.1\" glowing in pink. A classic red car is parked outside, complementing the vintage aesthetic of the diner. Behind the car, is a jukebox. Above the car, a UFO hovers, casting a beam of light onto the ground", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 48461\nPrompt: a retro diner with the neon sign \"OpenFLUX.1\" glowing in pink. A classic red car is parked outside, complementing the vintage aesthetic of the diner. Behind the car, is a jukebox. Above the car, a UFO hovers, casting a beam of light onto the ground\ntxt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:24, 1.09it/s]\n 7%|▋ | 2/28 [00:01<00:21, 1.23it/s]\n 11%|█ | 3/28 [00:02<00:21, 1.16it/s]\n 14%|█▍ | 4/28 [00:03<00:21, 1.13it/s]\n 18%|█▊ | 5/28 [00:04<00:20, 1.11it/s]\n 21%|██▏ | 6/28 [00:05<00:19, 1.10it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.10it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.09it/s]\n 32%|███▏ | 9/28 [00:08<00:17, 1.09it/s]\n 36%|███▌ | 10/28 [00:09<00:16, 1.09it/s]\n 39%|███▉ | 11/28 [00:09<00:15, 1.08it/s]\n 43%|████▎ | 12/28 [00:10<00:14, 1.08it/s]\n 46%|████▋ | 13/28 [00:11<00:13, 1.08it/s]\n 50%|█████ | 14/28 [00:12<00:12, 1.08it/s]\n 54%|█████▎ | 15/28 [00:13<00:12, 1.08it/s]\n 57%|█████▋ | 16/28 [00:14<00:11, 1.08it/s]\n 61%|██████ | 17/28 [00:15<00:10, 1.08it/s]\n 64%|██████▍ | 18/28 [00:16<00:09, 1.08it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.08it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.08it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.08it/s]\n 79%|███████▊ | 22/28 [00:20<00:05, 1.08it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.08it/s]\n 86%|████████▌ | 24/28 [00:21<00:03, 1.08it/s]\n 89%|████████▉ | 25/28 [00:22<00:02, 1.08it/s]\n 93%|█████████▎| 26/28 [00:23<00:01, 1.08it/s]\n 96%|█████████▋| 27/28 [00:24<00:00, 1.08it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.08it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.09it/s]", "metrics": { "predict_time": 26.282083335, "total_time": 26.291385 }, "output": [ "https://replicate.delivery/yhqm/koNC0VX6qfQlcaBoGVxpbkI5ja1YlZ6L8d1KaywM9WUwCtzJA/out-0.webp" ], "started_at": "2024-10-16T16:52:22.633301Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/w3jdewxbw1rj40cjjrz9f2sc0c", "cancel": "https://api.replicate.com/v1/predictions/w3jdewxbw1rj40cjjrz9f2sc0c/cancel" }, "version": "042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293" }
Generated inUsing seed: 48461 Prompt: a retro diner with the neon sign "OpenFLUX.1" glowing in pink. A classic red car is parked outside, complementing the vintage aesthetic of the diner. Behind the car, is a jukebox. Above the car, a UFO hovers, casting a beam of light onto the ground txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:24, 1.09it/s] 7%|▋ | 2/28 [00:01<00:21, 1.23it/s] 11%|█ | 3/28 [00:02<00:21, 1.16it/s] 14%|█▍ | 4/28 [00:03<00:21, 1.13it/s] 18%|█▊ | 5/28 [00:04<00:20, 1.11it/s] 21%|██▏ | 6/28 [00:05<00:19, 1.10it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.10it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.09it/s] 32%|███▏ | 9/28 [00:08<00:17, 1.09it/s] 36%|███▌ | 10/28 [00:09<00:16, 1.09it/s] 39%|███▉ | 11/28 [00:09<00:15, 1.08it/s] 43%|████▎ | 12/28 [00:10<00:14, 1.08it/s] 46%|████▋ | 13/28 [00:11<00:13, 1.08it/s] 50%|█████ | 14/28 [00:12<00:12, 1.08it/s] 54%|█████▎ | 15/28 [00:13<00:12, 1.08it/s] 57%|█████▋ | 16/28 [00:14<00:11, 1.08it/s] 61%|██████ | 17/28 [00:15<00:10, 1.08it/s] 64%|██████▍ | 18/28 [00:16<00:09, 1.08it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.08it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.08it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.08it/s] 79%|███████▊ | 22/28 [00:20<00:05, 1.08it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.08it/s] 86%|████████▌ | 24/28 [00:21<00:03, 1.08it/s] 89%|████████▉ | 25/28 [00:22<00:02, 1.08it/s] 93%|█████████▎| 26/28 [00:23<00:01, 1.08it/s] 96%|█████████▋| 27/28 [00:24<00:00, 1.08it/s] 100%|██████████| 28/28 [00:25<00:00, 1.08it/s] 100%|██████████| 28/28 [00:25<00:00, 1.09it/s]
Prediction
ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293IDvdmdws9w3nrj60cjjs1s13n1f0StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- prompt
- a dimly lit industrial setting, possibly a workshop or a lab. There are several individuals dressed in yellow protective suits, which cover their entire bodies, leaving only their heads visible through the hoods. The suits are reminiscent of those worn in hazardous environments to protect against contamination or exposure to harmful materials. The individuals are in various postures, some standing and others seated, all of them seemingly engrossed in their tasks or contemplation. The setting appears to be a workspace with desks, chairs, and various tools and equipment scattered about
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "prompt": "a dimly lit industrial setting, possibly a workshop or a lab. There are several individuals dressed in yellow protective suits, which cover their entire bodies, leaving only their heads visible through the hoods. The suits are reminiscent of those worn in hazardous environments to protect against contamination or exposure to harmful materials. The individuals are in various postures, some standing and others seated, all of them seemingly engrossed in their tasks or contemplation. The setting appears to be a workspace with desks, chairs, and various tools and equipment scattered about", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 ostris/openflux.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", { input: { prompt: "a dimly lit industrial setting, possibly a workshop or a lab. There are several individuals dressed in yellow protective suits, which cover their entire bodies, leaving only their heads visible through the hoods. The suits are reminiscent of those worn in hazardous environments to protect against contamination or exposure to harmful materials. The individuals are in various postures, some standing and others seated, all of them seemingly engrossed in their tasks or contemplation. The setting appears to be a workspace with desks, chairs, and various tools and equipment scattered about", num_outputs: 1, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 ostris/openflux.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", input={ "prompt": "a dimly lit industrial setting, possibly a workshop or a lab. There are several individuals dressed in yellow protective suits, which cover their entire bodies, leaving only their heads visible through the hoods. The suits are reminiscent of those worn in hazardous environments to protect against contamination or exposure to harmful materials. The individuals are in various postures, some standing and others seated, all of them seemingly engrossed in their tasks or contemplation. The setting appears to be a workspace with desks, chairs, and various tools and equipment scattered about", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run ostris/openflux.1 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": "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", "input": { "prompt": "a dimly lit industrial setting, possibly a workshop or a lab. There are several individuals dressed in yellow protective suits, which cover their entire bodies, leaving only their heads visible through the hoods. The suits are reminiscent of those worn in hazardous environments to protect against contamination or exposure to harmful materials. The individuals are in various postures, some standing and others seated, all of them seemingly engrossed in their tasks or contemplation. The setting appears to be a workspace with desks, chairs, and various tools and equipment scattered about", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-16T16:57:47.729583Z", "created_at": "2024-10-16T16:57:21.693000Z", "data_removed": false, "error": null, "id": "vdmdws9w3nrj60cjjs1s13n1f0", "input": { "prompt": "a dimly lit industrial setting, possibly a workshop or a lab. There are several individuals dressed in yellow protective suits, which cover their entire bodies, leaving only their heads visible through the hoods. The suits are reminiscent of those worn in hazardous environments to protect against contamination or exposure to harmful materials. The individuals are in various postures, some standing and others seated, all of them seemingly engrossed in their tasks or contemplation. The setting appears to be a workspace with desks, chairs, and various tools and equipment scattered about", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 25282\nPrompt: a dimly lit industrial setting, possibly a workshop or a lab. There are several individuals dressed in yellow protective suits, which cover their entire bodies, leaving only their heads visible through the hoods. The suits are reminiscent of those worn in hazardous environments to protect against contamination or exposure to harmful materials. The individuals are in various postures, some standing and others seated, all of them seemingly engrossed in their tasks or contemplation. The setting appears to be a workspace with desks, chairs, and various tools and equipment scattered about\ntxt2img mode\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['them seemingly engrossed in their tasks or contemplation. the setting appears to be a workspace with desks, chairs, and various tools and equipment scattered about']\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:24, 1.10it/s]\n 7%|▋ | 2/28 [00:01<00:20, 1.25it/s]\n 11%|█ | 3/28 [00:02<00:21, 1.17it/s]\n 14%|█▍ | 4/28 [00:03<00:21, 1.14it/s]\n 18%|█▊ | 5/28 [00:04<00:20, 1.12it/s]\n 21%|██▏ | 6/28 [00:05<00:19, 1.11it/s]\n 25%|██▌ | 7/28 [00:06<00:18, 1.11it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.10it/s]\n 32%|███▏ | 9/28 [00:08<00:17, 1.10it/s]\n 36%|███▌ | 10/28 [00:08<00:16, 1.10it/s]\n 39%|███▉ | 11/28 [00:09<00:15, 1.10it/s]\n 43%|████▎ | 12/28 [00:10<00:14, 1.10it/s]\n 46%|████▋ | 13/28 [00:11<00:13, 1.10it/s]\n 50%|█████ | 14/28 [00:12<00:12, 1.09it/s]\n 54%|█████▎ | 15/28 [00:13<00:11, 1.09it/s]\n 57%|█████▋ | 16/28 [00:14<00:10, 1.09it/s]\n 61%|██████ | 17/28 [00:15<00:10, 1.09it/s]\n 64%|██████▍ | 18/28 [00:16<00:09, 1.09it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.09it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.09it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.09it/s]\n 79%|███████▊ | 22/28 [00:19<00:05, 1.09it/s]\n 82%|████████▏ | 23/28 [00:20<00:04, 1.09it/s]\n 86%|████████▌ | 24/28 [00:21<00:03, 1.09it/s]\n 89%|████████▉ | 25/28 [00:22<00:02, 1.09it/s]\n 93%|█████████▎| 26/28 [00:23<00:01, 1.09it/s]\n 96%|█████████▋| 27/28 [00:24<00:00, 1.09it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.09it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.10it/s]", "metrics": { "predict_time": 26.027744654, "total_time": 26.036583 }, "output": [ "https://replicate.delivery/yhqm/yNX7feX2NQgPFUzZy7bNw81DBrLbP8jnNoqov808nqvLKanTA/out-0.webp" ], "started_at": "2024-10-16T16:57:21.701838Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/vdmdws9w3nrj60cjjs1s13n1f0", "cancel": "https://api.replicate.com/v1/predictions/vdmdws9w3nrj60cjjs1s13n1f0/cancel" }, "version": "042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293" }
Generated inUsing seed: 25282 Prompt: a dimly lit industrial setting, possibly a workshop or a lab. There are several individuals dressed in yellow protective suits, which cover their entire bodies, leaving only their heads visible through the hoods. The suits are reminiscent of those worn in hazardous environments to protect against contamination or exposure to harmful materials. The individuals are in various postures, some standing and others seated, all of them seemingly engrossed in their tasks or contemplation. The setting appears to be a workspace with desks, chairs, and various tools and equipment scattered about txt2img mode The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['them seemingly engrossed in their tasks or contemplation. the setting appears to be a workspace with desks, chairs, and various tools and equipment scattered about'] 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:24, 1.10it/s] 7%|▋ | 2/28 [00:01<00:20, 1.25it/s] 11%|█ | 3/28 [00:02<00:21, 1.17it/s] 14%|█▍ | 4/28 [00:03<00:21, 1.14it/s] 18%|█▊ | 5/28 [00:04<00:20, 1.12it/s] 21%|██▏ | 6/28 [00:05<00:19, 1.11it/s] 25%|██▌ | 7/28 [00:06<00:18, 1.11it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.10it/s] 32%|███▏ | 9/28 [00:08<00:17, 1.10it/s] 36%|███▌ | 10/28 [00:08<00:16, 1.10it/s] 39%|███▉ | 11/28 [00:09<00:15, 1.10it/s] 43%|████▎ | 12/28 [00:10<00:14, 1.10it/s] 46%|████▋ | 13/28 [00:11<00:13, 1.10it/s] 50%|█████ | 14/28 [00:12<00:12, 1.09it/s] 54%|█████▎ | 15/28 [00:13<00:11, 1.09it/s] 57%|█████▋ | 16/28 [00:14<00:10, 1.09it/s] 61%|██████ | 17/28 [00:15<00:10, 1.09it/s] 64%|██████▍ | 18/28 [00:16<00:09, 1.09it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.09it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.09it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.09it/s] 79%|███████▊ | 22/28 [00:19<00:05, 1.09it/s] 82%|████████▏ | 23/28 [00:20<00:04, 1.09it/s] 86%|████████▌ | 24/28 [00:21<00:03, 1.09it/s] 89%|████████▉ | 25/28 [00:22<00:02, 1.09it/s] 93%|█████████▎| 26/28 [00:23<00:01, 1.09it/s] 96%|█████████▋| 27/28 [00:24<00:00, 1.09it/s] 100%|██████████| 28/28 [00:25<00:00, 1.09it/s] 100%|██████████| 28/28 [00:25<00:00, 1.10it/s]
Prediction
ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293IDh7py0c2q35rj40cjjs4rgk89v8StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- prompt
- an individual, seemingly engrossed in reading a sheet of paper, positioned in front of a complex, ornate board or desk. The desk is adorned with numerous intricate gears, dials, and other mechanical components, suggesting a steampunk aesthetic. The prominent feature is a lit sign that reads "OpenFLUX 1.1." The overall mood of the image is contemplative and serene, with soft lighting enhancing the vintage feel
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "prompt": "an individual, seemingly engrossed in reading a sheet of paper, positioned in front of a complex, ornate board or desk. The desk is adorned with numerous intricate gears, dials, and other mechanical components, suggesting a steampunk aesthetic. The prominent feature is a lit sign that reads \"OpenFLUX 1.1.\" The overall mood of the image is contemplative and serene, with soft lighting enhancing the vintage feel", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 ostris/openflux.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", { input: { prompt: "an individual, seemingly engrossed in reading a sheet of paper, positioned in front of a complex, ornate board or desk. The desk is adorned with numerous intricate gears, dials, and other mechanical components, suggesting a steampunk aesthetic. The prominent feature is a lit sign that reads \"OpenFLUX 1.1.\" The overall mood of the image is contemplative and serene, with soft lighting enhancing the vintage feel", num_outputs: 1, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 ostris/openflux.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", input={ "prompt": "an individual, seemingly engrossed in reading a sheet of paper, positioned in front of a complex, ornate board or desk. The desk is adorned with numerous intricate gears, dials, and other mechanical components, suggesting a steampunk aesthetic. The prominent feature is a lit sign that reads \"OpenFLUX 1.1.\" The overall mood of the image is contemplative and serene, with soft lighting enhancing the vintage feel", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run ostris/openflux.1 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": "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", "input": { "prompt": "an individual, seemingly engrossed in reading a sheet of paper, positioned in front of a complex, ornate board or desk. The desk is adorned with numerous intricate gears, dials, and other mechanical components, suggesting a steampunk aesthetic. The prominent feature is a lit sign that reads \\"OpenFLUX 1.1.\\" The overall mood of the image is contemplative and serene, with soft lighting enhancing the vintage feel", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-16T17:04:27.912215Z", "created_at": "2024-10-16T17:04:01.817000Z", "data_removed": false, "error": null, "id": "h7py0c2q35rj40cjjs4rgk89v8", "input": { "prompt": "an individual, seemingly engrossed in reading a sheet of paper, positioned in front of a complex, ornate board or desk. The desk is adorned with numerous intricate gears, dials, and other mechanical components, suggesting a steampunk aesthetic. The prominent feature is a lit sign that reads \"OpenFLUX 1.1.\" The overall mood of the image is contemplative and serene, with soft lighting enhancing the vintage feel", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 31477\nPrompt: an individual, seemingly engrossed in reading a sheet of paper, positioned in front of a complex, ornate board or desk. The desk is adorned with numerous intricate gears, dials, and other mechanical components, suggesting a steampunk aesthetic. The prominent feature is a lit sign that reads \"OpenFLUX 1.1.\" The overall mood of the image is contemplative and serene, with soft lighting enhancing the vintage feel\ntxt2img mode\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', with soft lighting enhancing the vintage feel']\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:24, 1.10it/s]\n 7%|▋ | 2/28 [00:01<00:20, 1.25it/s]\n 11%|█ | 3/28 [00:02<00:21, 1.17it/s]\n 14%|█▍ | 4/28 [00:03<00:21, 1.14it/s]\n 18%|█▊ | 5/28 [00:04<00:20, 1.12it/s]\n 21%|██▏ | 6/28 [00:05<00:19, 1.11it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.10it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.10it/s]\n 32%|███▏ | 9/28 [00:08<00:17, 1.10it/s]\n 36%|███▌ | 10/28 [00:08<00:16, 1.10it/s]\n 39%|███▉ | 11/28 [00:09<00:15, 1.09it/s]\n 43%|████▎ | 12/28 [00:10<00:14, 1.09it/s]\n 46%|████▋ | 13/28 [00:11<00:13, 1.09it/s]\n 50%|█████ | 14/28 [00:12<00:12, 1.09it/s]\n 54%|█████▎ | 15/28 [00:13<00:11, 1.09it/s]\n 57%|█████▋ | 16/28 [00:14<00:11, 1.09it/s]\n 61%|██████ | 17/28 [00:15<00:10, 1.09it/s]\n 64%|██████▍ | 18/28 [00:16<00:09, 1.09it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.09it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.09it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.09it/s]\n 79%|███████▊ | 22/28 [00:19<00:05, 1.09it/s]\n 82%|████████▏ | 23/28 [00:20<00:04, 1.09it/s]\n 86%|████████▌ | 24/28 [00:21<00:03, 1.09it/s]\n 89%|████████▉ | 25/28 [00:22<00:02, 1.09it/s]\n 93%|█████████▎| 26/28 [00:23<00:01, 1.09it/s]\n 96%|█████████▋| 27/28 [00:24<00:00, 1.09it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.09it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.10it/s]", "metrics": { "predict_time": 26.087571406, "total_time": 26.095215 }, "output": [ "https://replicate.delivery/yhqm/QR9TIXOOMOZxL134whvN1gb0MKusQz1fhstFMKWVfSxbQanTA/out-0.webp" ], "started_at": "2024-10-16T17:04:01.824643Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/h7py0c2q35rj40cjjs4rgk89v8", "cancel": "https://api.replicate.com/v1/predictions/h7py0c2q35rj40cjjs4rgk89v8/cancel" }, "version": "042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293" }
Generated inUsing seed: 31477 Prompt: an individual, seemingly engrossed in reading a sheet of paper, positioned in front of a complex, ornate board or desk. The desk is adorned with numerous intricate gears, dials, and other mechanical components, suggesting a steampunk aesthetic. The prominent feature is a lit sign that reads "OpenFLUX 1.1." The overall mood of the image is contemplative and serene, with soft lighting enhancing the vintage feel txt2img mode The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', with soft lighting enhancing the vintage feel'] 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:24, 1.10it/s] 7%|▋ | 2/28 [00:01<00:20, 1.25it/s] 11%|█ | 3/28 [00:02<00:21, 1.17it/s] 14%|█▍ | 4/28 [00:03<00:21, 1.14it/s] 18%|█▊ | 5/28 [00:04<00:20, 1.12it/s] 21%|██▏ | 6/28 [00:05<00:19, 1.11it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.10it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.10it/s] 32%|███▏ | 9/28 [00:08<00:17, 1.10it/s] 36%|███▌ | 10/28 [00:08<00:16, 1.10it/s] 39%|███▉ | 11/28 [00:09<00:15, 1.09it/s] 43%|████▎ | 12/28 [00:10<00:14, 1.09it/s] 46%|████▋ | 13/28 [00:11<00:13, 1.09it/s] 50%|█████ | 14/28 [00:12<00:12, 1.09it/s] 54%|█████▎ | 15/28 [00:13<00:11, 1.09it/s] 57%|█████▋ | 16/28 [00:14<00:11, 1.09it/s] 61%|██████ | 17/28 [00:15<00:10, 1.09it/s] 64%|██████▍ | 18/28 [00:16<00:09, 1.09it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.09it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.09it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.09it/s] 79%|███████▊ | 22/28 [00:19<00:05, 1.09it/s] 82%|████████▏ | 23/28 [00:20<00:04, 1.09it/s] 86%|████████▌ | 24/28 [00:21<00:03, 1.09it/s] 89%|████████▉ | 25/28 [00:22<00:02, 1.09it/s] 93%|█████████▎| 26/28 [00:23<00:01, 1.09it/s] 96%|█████████▋| 27/28 [00:24<00:00, 1.09it/s] 100%|██████████| 28/28 [00:25<00:00, 1.09it/s] 100%|██████████| 28/28 [00:25<00:00, 1.10it/s]
Prediction
ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293IDc3ee33eakhrj20cjjs6awc5x60StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- prompt
- digital artwork that features a humanoid figure covered in a glittering blue substance, seemingly interacting with small floating luminous orbs of various sizes and colors. The figure is centrally positioned, appearing to be in a marketplace setting, surrounded by market stalls that display various items. The stalls are illuminated by warm lights, creating a cozy and inviting atmosphere. In the background, there are several indistinct figures, likely representing market customers, contributing to the bustling ambiance of the scene. The name "OpenFLUX.1" is prominently displayed on the humanoid figure
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "prompt": "digital artwork that features a humanoid figure covered in a glittering blue substance, seemingly interacting with small floating luminous orbs of various sizes and colors. The figure is centrally positioned, appearing to be in a marketplace setting, surrounded by market stalls that display various items. The stalls are illuminated by warm lights, creating a cozy and inviting atmosphere. In the background, there are several indistinct figures, likely representing market customers, contributing to the bustling ambiance of the scene. The name \"OpenFLUX.1\" is prominently displayed on the humanoid figure", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 ostris/openflux.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", { input: { prompt: "digital artwork that features a humanoid figure covered in a glittering blue substance, seemingly interacting with small floating luminous orbs of various sizes and colors. The figure is centrally positioned, appearing to be in a marketplace setting, surrounded by market stalls that display various items. The stalls are illuminated by warm lights, creating a cozy and inviting atmosphere. In the background, there are several indistinct figures, likely representing market customers, contributing to the bustling ambiance of the scene. The name \"OpenFLUX.1\" is prominently displayed on the humanoid figure", num_outputs: 1, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 ostris/openflux.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", input={ "prompt": "digital artwork that features a humanoid figure covered in a glittering blue substance, seemingly interacting with small floating luminous orbs of various sizes and colors. The figure is centrally positioned, appearing to be in a marketplace setting, surrounded by market stalls that display various items. The stalls are illuminated by warm lights, creating a cozy and inviting atmosphere. In the background, there are several indistinct figures, likely representing market customers, contributing to the bustling ambiance of the scene. The name \"OpenFLUX.1\" is prominently displayed on the humanoid figure", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run ostris/openflux.1 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": "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", "input": { "prompt": "digital artwork that features a humanoid figure covered in a glittering blue substance, seemingly interacting with small floating luminous orbs of various sizes and colors. The figure is centrally positioned, appearing to be in a marketplace setting, surrounded by market stalls that display various items. The stalls are illuminated by warm lights, creating a cozy and inviting atmosphere. In the background, there are several indistinct figures, likely representing market customers, contributing to the bustling ambiance of the scene. The name \\"OpenFLUX.1\\" is prominently displayed on the humanoid figure", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-16T17:08:14.378665Z", "created_at": "2024-10-16T17:07:47.996000Z", "data_removed": false, "error": null, "id": "c3ee33eakhrj20cjjs6awc5x60", "input": { "prompt": "digital artwork that features a humanoid figure covered in a glittering blue substance, seemingly interacting with small floating luminous orbs of various sizes and colors. The figure is centrally positioned, appearing to be in a marketplace setting, surrounded by market stalls that display various items. The stalls are illuminated by warm lights, creating a cozy and inviting atmosphere. In the background, there are several indistinct figures, likely representing market customers, contributing to the bustling ambiance of the scene. The name \"OpenFLUX.1\" is prominently displayed on the humanoid figure", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 62726\nPrompt: digital artwork that features a humanoid figure covered in a glittering blue substance, seemingly interacting with small floating luminous orbs of various sizes and colors. The figure is centrally positioned, appearing to be in a marketplace setting, surrounded by market stalls that display various items. The stalls are illuminated by warm lights, creating a cozy and inviting atmosphere. In the background, there are several indistinct figures, likely representing market customers, contributing to the bustling ambiance of the scene. The name \"OpenFLUX.1\" is prominently displayed on the humanoid figure\ntxt2img mode\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['several indistinct figures, likely representing market customers, contributing to the bustling ambiance of the scene. the name \" openflux. 1 \" is prominently displayed on the humanoid figure']\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:24, 1.09it/s]\n 7%|▋ | 2/28 [00:01<00:21, 1.23it/s]\n 11%|█ | 3/28 [00:02<00:21, 1.16it/s]\n 14%|█▍ | 4/28 [00:03<00:21, 1.13it/s]\n 18%|█▊ | 5/28 [00:04<00:20, 1.11it/s]\n 21%|██▏ | 6/28 [00:05<00:20, 1.10it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.09it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.09it/s]\n 32%|███▏ | 9/28 [00:08<00:17, 1.08it/s]\n 36%|███▌ | 10/28 [00:09<00:16, 1.08it/s]\n 39%|███▉ | 11/28 [00:09<00:15, 1.08it/s]\n 43%|████▎ | 12/28 [00:10<00:14, 1.08it/s]\n 46%|████▋ | 13/28 [00:11<00:13, 1.08it/s]\n 50%|█████ | 14/28 [00:12<00:12, 1.08it/s]\n 54%|█████▎ | 15/28 [00:13<00:12, 1.08it/s]\n 57%|█████▋ | 16/28 [00:14<00:11, 1.08it/s]\n 61%|██████ | 17/28 [00:15<00:10, 1.08it/s]\n 64%|██████▍ | 18/28 [00:16<00:09, 1.08it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.08it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.08it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.08it/s]\n 79%|███████▊ | 22/28 [00:20<00:05, 1.08it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.08it/s]\n 86%|████████▌ | 24/28 [00:22<00:03, 1.08it/s]\n 89%|████████▉ | 25/28 [00:22<00:02, 1.08it/s]\n 93%|█████████▎| 26/28 [00:23<00:01, 1.08it/s]\n 96%|█████████▋| 27/28 [00:24<00:00, 1.08it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.08it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.09it/s]", "metrics": { "predict_time": 26.375388774, "total_time": 26.382665 }, "output": [ "https://replicate.delivery/yhqm/e8H0dlCCAJ2TOizR8f2Y9ytx4vThgBsk8VMDhQwVLkcen0OnA/out-0.webp" ], "started_at": "2024-10-16T17:07:48.003276Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/c3ee33eakhrj20cjjs6awc5x60", "cancel": "https://api.replicate.com/v1/predictions/c3ee33eakhrj20cjjs6awc5x60/cancel" }, "version": "042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293" }
Generated inUsing seed: 62726 Prompt: digital artwork that features a humanoid figure covered in a glittering blue substance, seemingly interacting with small floating luminous orbs of various sizes and colors. The figure is centrally positioned, appearing to be in a marketplace setting, surrounded by market stalls that display various items. The stalls are illuminated by warm lights, creating a cozy and inviting atmosphere. In the background, there are several indistinct figures, likely representing market customers, contributing to the bustling ambiance of the scene. The name "OpenFLUX.1" is prominently displayed on the humanoid figure txt2img mode The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['several indistinct figures, likely representing market customers, contributing to the bustling ambiance of the scene. the name " openflux. 1 " is prominently displayed on the humanoid figure'] 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:24, 1.09it/s] 7%|▋ | 2/28 [00:01<00:21, 1.23it/s] 11%|█ | 3/28 [00:02<00:21, 1.16it/s] 14%|█▍ | 4/28 [00:03<00:21, 1.13it/s] 18%|█▊ | 5/28 [00:04<00:20, 1.11it/s] 21%|██▏ | 6/28 [00:05<00:20, 1.10it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.09it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.09it/s] 32%|███▏ | 9/28 [00:08<00:17, 1.08it/s] 36%|███▌ | 10/28 [00:09<00:16, 1.08it/s] 39%|███▉ | 11/28 [00:09<00:15, 1.08it/s] 43%|████▎ | 12/28 [00:10<00:14, 1.08it/s] 46%|████▋ | 13/28 [00:11<00:13, 1.08it/s] 50%|█████ | 14/28 [00:12<00:12, 1.08it/s] 54%|█████▎ | 15/28 [00:13<00:12, 1.08it/s] 57%|█████▋ | 16/28 [00:14<00:11, 1.08it/s] 61%|██████ | 17/28 [00:15<00:10, 1.08it/s] 64%|██████▍ | 18/28 [00:16<00:09, 1.08it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.08it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.08it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.08it/s] 79%|███████▊ | 22/28 [00:20<00:05, 1.08it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.08it/s] 86%|████████▌ | 24/28 [00:22<00:03, 1.08it/s] 89%|████████▉ | 25/28 [00:22<00:02, 1.08it/s] 93%|█████████▎| 26/28 [00:23<00:01, 1.08it/s] 96%|█████████▋| 27/28 [00:24<00:00, 1.08it/s] 100%|██████████| 28/28 [00:25<00:00, 1.08it/s] 100%|██████████| 28/28 [00:25<00:00, 1.09it/s]
Prediction
ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293IDxq3xzv2sgdrj20cjjs8rk112rgStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- prompt
- a large, cylindrical structure that appears to be a hive or beehive, with a textured surface resembling honeycomb. It is adorned with various mechanical parts, such as gears and cogs, giving it a steampunk aesthetic. The hive is illuminated from within, casting a warm, amber glow that stands out against the cooler tones of the surrounding environment. The word "OpenFLUX.1" is prominently displayed on the hive
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "prompt": " a large, cylindrical structure that appears to be a hive or beehive, with a textured surface resembling honeycomb. It is adorned with various mechanical parts, such as gears and cogs, giving it a steampunk aesthetic. The hive is illuminated from within, casting a warm, amber glow that stands out against the cooler tones of the surrounding environment. The word \"OpenFLUX.1\" is prominently displayed on the hive", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 ostris/openflux.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", { input: { prompt: " a large, cylindrical structure that appears to be a hive or beehive, with a textured surface resembling honeycomb. It is adorned with various mechanical parts, such as gears and cogs, giving it a steampunk aesthetic. The hive is illuminated from within, casting a warm, amber glow that stands out against the cooler tones of the surrounding environment. The word \"OpenFLUX.1\" is prominently displayed on the hive", num_outputs: 1, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 ostris/openflux.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", input={ "prompt": " a large, cylindrical structure that appears to be a hive or beehive, with a textured surface resembling honeycomb. It is adorned with various mechanical parts, such as gears and cogs, giving it a steampunk aesthetic. The hive is illuminated from within, casting a warm, amber glow that stands out against the cooler tones of the surrounding environment. The word \"OpenFLUX.1\" is prominently displayed on the hive", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run ostris/openflux.1 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": "ostris/openflux.1:042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293", "input": { "prompt": " a large, cylindrical structure that appears to be a hive or beehive, with a textured surface resembling honeycomb. It is adorned with various mechanical parts, such as gears and cogs, giving it a steampunk aesthetic. The hive is illuminated from within, casting a warm, amber glow that stands out against the cooler tones of the surrounding environment. The word \\"OpenFLUX.1\\" is prominently displayed on the hive", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-16T17:13:12.806983Z", "created_at": "2024-10-16T17:12:46.723000Z", "data_removed": false, "error": null, "id": "xq3xzv2sgdrj20cjjs8rk112rg", "input": { "prompt": " a large, cylindrical structure that appears to be a hive or beehive, with a textured surface resembling honeycomb. It is adorned with various mechanical parts, such as gears and cogs, giving it a steampunk aesthetic. The hive is illuminated from within, casting a warm, amber glow that stands out against the cooler tones of the surrounding environment. The word \"OpenFLUX.1\" is prominently displayed on the hive", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 21999\nPrompt: a large, cylindrical structure that appears to be a hive or beehive, with a textured surface resembling honeycomb. It is adorned with various mechanical parts, such as gears and cogs, giving it a steampunk aesthetic. The hive is illuminated from within, casting a warm, amber glow that stands out against the cooler tones of the surrounding environment. The word \"OpenFLUX.1\" is prominently displayed on the hive\ntxt2img mode\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['flux. 1 \" is prominently displayed on the hive']\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:24, 1.10it/s]\n 7%|▋ | 2/28 [00:01<00:20, 1.25it/s]\n 11%|█ | 3/28 [00:02<00:21, 1.17it/s]\n 14%|█▍ | 4/28 [00:03<00:21, 1.14it/s]\n 18%|█▊ | 5/28 [00:04<00:20, 1.12it/s]\n 21%|██▏ | 6/28 [00:05<00:19, 1.11it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.11it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.10it/s]\n 32%|███▏ | 9/28 [00:08<00:17, 1.10it/s]\n 36%|███▌ | 10/28 [00:08<00:16, 1.10it/s]\n 39%|███▉ | 11/28 [00:09<00:15, 1.09it/s]\n 43%|████▎ | 12/28 [00:10<00:14, 1.09it/s]\n 46%|████▋ | 13/28 [00:11<00:13, 1.09it/s]\n 50%|█████ | 14/28 [00:12<00:12, 1.09it/s]\n 54%|█████▎ | 15/28 [00:13<00:11, 1.09it/s]\n 57%|█████▋ | 16/28 [00:14<00:10, 1.09it/s]\n 61%|██████ | 17/28 [00:15<00:10, 1.09it/s]\n 64%|██████▍ | 18/28 [00:16<00:09, 1.09it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.09it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.09it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.09it/s]\n 79%|███████▊ | 22/28 [00:19<00:05, 1.09it/s]\n 82%|████████▏ | 23/28 [00:20<00:04, 1.09it/s]\n 86%|████████▌ | 24/28 [00:21<00:03, 1.09it/s]\n 89%|████████▉ | 25/28 [00:22<00:02, 1.09it/s]\n 93%|█████████▎| 26/28 [00:23<00:01, 1.09it/s]\n 96%|█████████▋| 27/28 [00:24<00:00, 1.09it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.09it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.10it/s]", "metrics": { "predict_time": 26.074029062, "total_time": 26.083983 }, "output": [ "https://replicate.delivery/yhqm/siYeJRPD3j0nLaW2ySDEZJcTasGeGJTfMVywknyRamZRx0OnA/out-0.webp" ], "started_at": "2024-10-16T17:12:46.732954Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/xq3xzv2sgdrj20cjjs8rk112rg", "cancel": "https://api.replicate.com/v1/predictions/xq3xzv2sgdrj20cjjs8rk112rg/cancel" }, "version": "042cd79629af366fca1c414c17361d886d6f5be5967b367a4fddcfe6b6290293" }
Generated inUsing seed: 21999 Prompt: a large, cylindrical structure that appears to be a hive or beehive, with a textured surface resembling honeycomb. It is adorned with various mechanical parts, such as gears and cogs, giving it a steampunk aesthetic. The hive is illuminated from within, casting a warm, amber glow that stands out against the cooler tones of the surrounding environment. The word "OpenFLUX.1" is prominently displayed on the hive txt2img mode The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['flux. 1 " is prominently displayed on the hive'] 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:24, 1.10it/s] 7%|▋ | 2/28 [00:01<00:20, 1.25it/s] 11%|█ | 3/28 [00:02<00:21, 1.17it/s] 14%|█▍ | 4/28 [00:03<00:21, 1.14it/s] 18%|█▊ | 5/28 [00:04<00:20, 1.12it/s] 21%|██▏ | 6/28 [00:05<00:19, 1.11it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.11it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.10it/s] 32%|███▏ | 9/28 [00:08<00:17, 1.10it/s] 36%|███▌ | 10/28 [00:08<00:16, 1.10it/s] 39%|███▉ | 11/28 [00:09<00:15, 1.09it/s] 43%|████▎ | 12/28 [00:10<00:14, 1.09it/s] 46%|████▋ | 13/28 [00:11<00:13, 1.09it/s] 50%|█████ | 14/28 [00:12<00:12, 1.09it/s] 54%|█████▎ | 15/28 [00:13<00:11, 1.09it/s] 57%|█████▋ | 16/28 [00:14<00:10, 1.09it/s] 61%|██████ | 17/28 [00:15<00:10, 1.09it/s] 64%|██████▍ | 18/28 [00:16<00:09, 1.09it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.09it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.09it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.09it/s] 79%|███████▊ | 22/28 [00:19<00:05, 1.09it/s] 82%|████████▏ | 23/28 [00:20<00:04, 1.09it/s] 86%|████████▌ | 24/28 [00:21<00:03, 1.09it/s] 89%|████████▉ | 25/28 [00:22<00:02, 1.09it/s] 93%|█████████▎| 26/28 [00:23<00:01, 1.09it/s] 96%|█████████▋| 27/28 [00:24<00:00, 1.09it/s] 100%|██████████| 28/28 [00:25<00:00, 1.09it/s] 100%|██████████| 28/28 [00:25<00:00, 1.10it/s]
Want to make some of these yourself?
Run this model