black-forest-labs
/
flux-1.1-pro-ultra
FLUX1.1 [pro] in ultra and raw modes. Images are up to 4 megapixels. Use raw mode for realism.
Prediction
black-forest-labs/flux-1.1-pro-ultraOfficial modelIDz27p3r7f81rg80ck0bxtp16kxcStatusSucceededSourceWebTotal durationCreatedInput
- raw
- prompt
- a majestic snow-capped mountain peak bathed in a warm glow of the setting sun
- aspect_ratio
- 3:2
- output_format
- jpg
- safety_tolerance
- 2
{ "raw": false, "prompt": "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { raw: false, prompt: "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun", aspect_ratio: "3:2", output_format: "jpg", safety_tolerance: 2 }; const output = await replicate.run("black-forest-labs/flux-1.1-pro-ultra", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "black-forest-labs/flux-1.1-pro-ultra", input={ "raw": False, "prompt": "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run black-forest-labs/flux-1.1-pro-ultra 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 $'{ "input": { "raw": false, "prompt": "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } }' \ https://api.replicate.com/v1/models/black-forest-labs/flux-1.1-pro-ultra/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-06T19:38:18.606064Z", "created_at": "2024-11-06T19:38:05.504000Z", "data_removed": false, "error": null, "id": "z27p3r7f81rg80ck0bxtp16kxc", "input": { "raw": false, "prompt": "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }, "logs": "Using seed: 28484\nRunning prediction... \nGenerating image...\nGenerated image in 11.1sec", "metrics": { "predict_time": 13.094782598, "total_time": 13.102064 }, "output": "https://replicate.delivery/czjl/r9f00cZeo4inIECF8vfKO4p9Zif2faRqOtGxfqaIwaDRq3l7E/output.jpg", "started_at": "2024-11-06T19:38:05.511282Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-uu4jpvzmd4iwzykodhrhmzdhn6v7sunx4dejtyrzys67elk2btwa", "get": "https://api.replicate.com/v1/predictions/z27p3r7f81rg80ck0bxtp16kxc", "cancel": "https://api.replicate.com/v1/predictions/z27p3r7f81rg80ck0bxtp16kxc/cancel" }, "version": "hidden" }
Generated inUsing seed: 28484 Running prediction... Generating image... Generated image in 11.1sec
Prediction
black-forest-labs/flux-1.1-pro-ultraOfficial modelIDpvz6pfs219rge0ck0byvzvs5k0StatusSucceededSourceWebTotal durationCreatedInput
- raw
- prompt
- an old couple holding hands, walking along the beach
- aspect_ratio
- 3:2
- output_format
- jpg
- safety_tolerance
- 2
{ "raw": false, "prompt": "an old couple holding hands, walking along the beach", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { raw: false, prompt: "an old couple holding hands, walking along the beach", aspect_ratio: "3:2", output_format: "jpg", safety_tolerance: 2 }; const output = await replicate.run("black-forest-labs/flux-1.1-pro-ultra", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "black-forest-labs/flux-1.1-pro-ultra", input={ "raw": False, "prompt": "an old couple holding hands, walking along the beach", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run black-forest-labs/flux-1.1-pro-ultra 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 $'{ "input": { "raw": false, "prompt": "an old couple holding hands, walking along the beach", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } }' \ https://api.replicate.com/v1/models/black-forest-labs/flux-1.1-pro-ultra/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-06T19:39:39.784662Z", "created_at": "2024-11-06T19:39:24.042000Z", "data_removed": false, "error": null, "id": "pvz6pfs219rge0ck0byvzvs5k0", "input": { "raw": false, "prompt": "an old couple holding hands, walking along the beach", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }, "logs": "Using seed: 20513\nRunning prediction... \nGenerating image...\nGenerated image in 13.9sec", "metrics": { "predict_time": 15.735320581, "total_time": 15.742662 }, "output": "https://replicate.delivery/czjl/EHFL8RPvuJorGRnnqcS8ioTBDWCBKgZxYNlNG4BneGg9vL3JA/output.jpg", "started_at": "2024-11-06T19:39:24.049342Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-nm6mwtemv467wojc2iuscyyaujqb4rwanup6eogxka3yd7ayozya", "get": "https://api.replicate.com/v1/predictions/pvz6pfs219rge0ck0byvzvs5k0", "cancel": "https://api.replicate.com/v1/predictions/pvz6pfs219rge0ck0byvzvs5k0/cancel" }, "version": "hidden" }
Generated inUsing seed: 20513 Running prediction... Generating image... Generated image in 13.9sec
Prediction
black-forest-labs/flux-1.1-pro-ultraOfficial modelID2x0k3bqq59rga0ck0bzs0zwhf8StatusSucceededSourceWebTotal durationCreatedInput
- raw
- prompt
- a close-up of a blueberry surrounded by a splash of dark blue water and tiny leaves and bubbles, across a blurred background
- aspect_ratio
- 3:2
- output_format
- jpg
- safety_tolerance
- 2
{ "raw": false, "prompt": "a close-up of a blueberry surrounded by a splash of dark blue water and tiny leaves and bubbles, across a blurred background", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { raw: false, prompt: "a close-up of a blueberry surrounded by a splash of dark blue water and tiny leaves and bubbles, across a blurred background", aspect_ratio: "3:2", output_format: "jpg", safety_tolerance: 2 }; const output = await replicate.run("black-forest-labs/flux-1.1-pro-ultra", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "black-forest-labs/flux-1.1-pro-ultra", input={ "raw": False, "prompt": "a close-up of a blueberry surrounded by a splash of dark blue water and tiny leaves and bubbles, across a blurred background", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run black-forest-labs/flux-1.1-pro-ultra 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 $'{ "input": { "raw": false, "prompt": "a close-up of a blueberry surrounded by a splash of dark blue water and tiny leaves and bubbles, across a blurred background", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } }' \ https://api.replicate.com/v1/models/black-forest-labs/flux-1.1-pro-ultra/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-06T19:42:51.232028Z", "created_at": "2024-11-06T19:42:29.674000Z", "data_removed": false, "error": null, "id": "2x0k3bqq59rga0ck0bzs0zwhf8", "input": { "raw": false, "prompt": "a close-up of a blueberry surrounded by a splash of dark blue water and tiny leaves and bubbles, across a blurred background", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }, "logs": "Using seed: 17533\nRunning prediction... \nGenerating image...\nGenerated image in 19.6sec", "metrics": { "predict_time": 21.54923061, "total_time": 21.558028 }, "output": "https://replicate.delivery/czjl/seflbeMQxIJB9JlQ2tZbdYyClKv5OBsoeK4ct8RODQ3qLeydC/output.jpg", "started_at": "2024-11-06T19:42:29.682798Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-jbeqowsuxzuoy7o3exzksycy5u7xdx4tqexaqvdiptrppot7bvtq", "get": "https://api.replicate.com/v1/predictions/2x0k3bqq59rga0ck0bzs0zwhf8", "cancel": "https://api.replicate.com/v1/predictions/2x0k3bqq59rga0ck0bzs0zwhf8/cancel" }, "version": "hidden" }
Generated inUsing seed: 17533 Running prediction... Generating image... Generated image in 19.6sec
Prediction
black-forest-labs/flux-1.1-pro-ultraOfficial modelIDtp61zb6nrxrg80ck0c0b2bzjnwStatusSucceededSourceWebTotal durationCreatedInput
- raw
- prompt
- Three adults are dressed in colorful animal costumes at a club, including a blue bunny with a white cloud pattern, a pink bunny with white polka dots, and a yellow bunny with pink ears, all smiling and posing for a photo
- aspect_ratio
- 3:2
- output_format
- jpg
- safety_tolerance
- 2
{ "raw": false, "prompt": "Three adults are dressed in colorful animal costumes at a club, including a blue bunny with a white cloud pattern, a pink bunny with white polka dots, and a yellow bunny with pink ears, all smiling and posing for a photo", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { raw: false, prompt: "Three adults are dressed in colorful animal costumes at a club, including a blue bunny with a white cloud pattern, a pink bunny with white polka dots, and a yellow bunny with pink ears, all smiling and posing for a photo", aspect_ratio: "3:2", output_format: "jpg", safety_tolerance: 2 }; const output = await replicate.run("black-forest-labs/flux-1.1-pro-ultra", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "black-forest-labs/flux-1.1-pro-ultra", input={ "raw": False, "prompt": "Three adults are dressed in colorful animal costumes at a club, including a blue bunny with a white cloud pattern, a pink bunny with white polka dots, and a yellow bunny with pink ears, all smiling and posing for a photo", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run black-forest-labs/flux-1.1-pro-ultra 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 $'{ "input": { "raw": false, "prompt": "Three adults are dressed in colorful animal costumes at a club, including a blue bunny with a white cloud pattern, a pink bunny with white polka dots, and a yellow bunny with pink ears, all smiling and posing for a photo", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } }' \ https://api.replicate.com/v1/models/black-forest-labs/flux-1.1-pro-ultra/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-06T19:43:38.524772Z", "created_at": "2024-11-06T19:43:26.663000Z", "data_removed": false, "error": null, "id": "tp61zb6nrxrg80ck0c0b2bzjnw", "input": { "raw": false, "prompt": "Three adults are dressed in colorful animal costumes at a club, including a blue bunny with a white cloud pattern, a pink bunny with white polka dots, and a yellow bunny with pink ears, all smiling and posing for a photo", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }, "logs": "Using seed: 57601\nRunning prediction... \nGenerating image...\nGenerated image in 9.9sec", "metrics": { "predict_time": 11.854333548, "total_time": 11.861772 }, "output": "https://replicate.delivery/czjl/MAmPIV8yJ864Lx0lGHkApfxoxfI8mzl1nUaoFfAsSVdTHvcnA/output.jpg", "started_at": "2024-11-06T19:43:26.670438Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-2cezfp7iw7qox4ng23eavfoeluhm6lr6pkzkhxibqy4aop5n7eia", "get": "https://api.replicate.com/v1/predictions/tp61zb6nrxrg80ck0c0b2bzjnw", "cancel": "https://api.replicate.com/v1/predictions/tp61zb6nrxrg80ck0c0b2bzjnw/cancel" }, "version": "hidden" }
Generated inUsing seed: 57601 Running prediction... Generating image... Generated image in 9.9sec
Prediction
black-forest-labs/flux-1.1-pro-ultraOfficial modelIDb2ztdbesnxrg80ck0c1vyw2fk4StatusSucceededSourceWebTotal durationCreatedInput
- raw
- prompt
- a futuristic robot with a metallic, angular design, set against a background of vibrant, colorful light effects that appear to be emanating from a tunnel or corridor
- aspect_ratio
- 3:2
- output_format
- jpg
- safety_tolerance
- 2
{ "raw": false, "prompt": "a futuristic robot with a metallic, angular design, set against a background of vibrant, colorful light effects that appear to be emanating from a tunnel or corridor", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { raw: false, prompt: "a futuristic robot with a metallic, angular design, set against a background of vibrant, colorful light effects that appear to be emanating from a tunnel or corridor", aspect_ratio: "3:2", output_format: "jpg", safety_tolerance: 2 }; const output = await replicate.run("black-forest-labs/flux-1.1-pro-ultra", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "black-forest-labs/flux-1.1-pro-ultra", input={ "raw": False, "prompt": "a futuristic robot with a metallic, angular design, set against a background of vibrant, colorful light effects that appear to be emanating from a tunnel or corridor", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run black-forest-labs/flux-1.1-pro-ultra 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 $'{ "input": { "raw": false, "prompt": "a futuristic robot with a metallic, angular design, set against a background of vibrant, colorful light effects that appear to be emanating from a tunnel or corridor", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } }' \ https://api.replicate.com/v1/models/black-forest-labs/flux-1.1-pro-ultra/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-06T19:47:00.691878Z", "created_at": "2024-11-06T19:46:44.271000Z", "data_removed": false, "error": null, "id": "b2ztdbesnxrg80ck0c1vyw2fk4", "input": { "raw": false, "prompt": "a futuristic robot with a metallic, angular design, set against a background of vibrant, colorful light effects that appear to be emanating from a tunnel or corridor", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }, "logs": "Using seed: 30976\nRunning prediction... \nGenerating image...\nGenerated image in 14.4sec", "metrics": { "predict_time": 16.413462877, "total_time": 16.420878 }, "output": "https://replicate.delivery/czjl/QFGcDKLrHYojChzVNls3BQ5NDCUBSBOED4bmkPAGHV4s5l7E/output.jpg", "started_at": "2024-11-06T19:46:44.278416Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-bej5i6r7ak42rfehzyga53xt2ie5ow6nkuudpzfcbw5chillud2q", "get": "https://api.replicate.com/v1/predictions/b2ztdbesnxrg80ck0c1vyw2fk4", "cancel": "https://api.replicate.com/v1/predictions/b2ztdbesnxrg80ck0c1vyw2fk4/cancel" }, "version": "hidden" }
Generated inUsing seed: 30976 Running prediction... Generating image... Generated image in 14.4sec
Prediction
black-forest-labs/flux-1.1-pro-ultraOfficial modelID7nhzq87q0hrgc0ck0c590p9n7cStatusSucceededSourceWebTotal durationCreatedInput
- raw
- prompt
- the serene interior of a cave, where a pool of water is nestled amidst an abundance of greenery. Sunlight filters through the cave opening, casting a soft glow on the surrounding foliage and the tranquil water below
- aspect_ratio
- 3:2
- output_format
- jpg
- safety_tolerance
- 2
{ "raw": false, "prompt": "the serene interior of a cave, where a pool of water is nestled amidst an abundance of greenery. Sunlight filters through the cave opening, casting a soft glow on the surrounding foliage and the tranquil water below", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { raw: false, prompt: "the serene interior of a cave, where a pool of water is nestled amidst an abundance of greenery. Sunlight filters through the cave opening, casting a soft glow on the surrounding foliage and the tranquil water below", aspect_ratio: "3:2", output_format: "jpg", safety_tolerance: 2 }; const output = await replicate.run("black-forest-labs/flux-1.1-pro-ultra", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "black-forest-labs/flux-1.1-pro-ultra", input={ "raw": False, "prompt": "the serene interior of a cave, where a pool of water is nestled amidst an abundance of greenery. Sunlight filters through the cave opening, casting a soft glow on the surrounding foliage and the tranquil water below", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run black-forest-labs/flux-1.1-pro-ultra 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 $'{ "input": { "raw": false, "prompt": "the serene interior of a cave, where a pool of water is nestled amidst an abundance of greenery. Sunlight filters through the cave opening, casting a soft glow on the surrounding foliage and the tranquil water below", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } }' \ https://api.replicate.com/v1/models/black-forest-labs/flux-1.1-pro-ultra/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-06T19:54:42.731237Z", "created_at": "2024-11-06T19:54:30.532000Z", "data_removed": false, "error": null, "id": "7nhzq87q0hrgc0ck0c590p9n7c", "input": { "raw": false, "prompt": "the serene interior of a cave, where a pool of water is nestled amidst an abundance of greenery. Sunlight filters through the cave opening, casting a soft glow on the surrounding foliage and the tranquil water below", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }, "logs": "Using seed: 4692\nRunning prediction... \nGenerating image...\nGenerated image in 9.8sec", "metrics": { "predict_time": 12.192301299, "total_time": 12.199237 }, "output": "https://replicate.delivery/czjl/vH9FzddxMloECF6r2xWzlwZyyXSfcHaoMeywtebjXltCcvcnA/output.jpg", "started_at": "2024-11-06T19:54:30.538936Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-2qxsky63ix2osxkc54duulibmgxyuyzewvee7ngbcgzcdqm2ze4q", "get": "https://api.replicate.com/v1/predictions/7nhzq87q0hrgc0ck0c590p9n7c", "cancel": "https://api.replicate.com/v1/predictions/7nhzq87q0hrgc0ck0c590p9n7c/cancel" }, "version": "hidden" }
Generated inUsing seed: 4692 Running prediction... Generating image... Generated image in 9.8sec
Prediction
black-forest-labs/flux-1.1-pro-ultraOfficial modelIDdb1gg0sfvsrgc0ck0c9spzygagStatusSucceededSourceWebTotal durationCreatedInput
- raw
- prompt
- a close up of a miniature model of a small village nestled amidst a lush, verdant landscape, featuring a winding river and a backdrop of trees and buildings.
- aspect_ratio
- 3:2
- output_format
- jpg
- safety_tolerance
- 2
{ "raw": false, "prompt": "a close up of a miniature model of a small village nestled amidst a lush, verdant landscape, featuring a winding river and a backdrop of trees and buildings.", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { raw: false, prompt: "a close up of a miniature model of a small village nestled amidst a lush, verdant landscape, featuring a winding river and a backdrop of trees and buildings.", aspect_ratio: "3:2", output_format: "jpg", safety_tolerance: 2 }; const output = await replicate.run("black-forest-labs/flux-1.1-pro-ultra", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "black-forest-labs/flux-1.1-pro-ultra", input={ "raw": False, "prompt": "a close up of a miniature model of a small village nestled amidst a lush, verdant landscape, featuring a winding river and a backdrop of trees and buildings.", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run black-forest-labs/flux-1.1-pro-ultra 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 $'{ "input": { "raw": false, "prompt": "a close up of a miniature model of a small village nestled amidst a lush, verdant landscape, featuring a winding river and a backdrop of trees and buildings.", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 } }' \ https://api.replicate.com/v1/models/black-forest-labs/flux-1.1-pro-ultra/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-06T20:03:41.561573Z", "created_at": "2024-11-06T20:03:29.374000Z", "data_removed": false, "error": null, "id": "db1gg0sfvsrgc0ck0c9spzygag", "input": { "raw": false, "prompt": "a close up of a miniature model of a small village nestled amidst a lush, verdant landscape, featuring a winding river and a backdrop of trees and buildings.", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2 }, "logs": "Using seed: 25208\nRunning prediction... \nGenerating image...\nGenerated image in 10.0sec", "metrics": { "image_count": 1, "predict_time": 12.178293591, "total_time": 12.187573 }, "output": "https://replicate.delivery/czjl/5gqAdhhaYV7kIZKQL2YpLHuHpXnkdjuugsbUvqvOxGMn9l7E/output.jpg", "started_at": "2024-11-06T20:03:29.383279Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-zf47hxpkz22dr4jbzb6quj4alxp52p73wfsv4qoxdxdqznsp4cda", "get": "https://api.replicate.com/v1/predictions/db1gg0sfvsrgc0ck0c9spzygag", "cancel": "https://api.replicate.com/v1/predictions/db1gg0sfvsrgc0ck0c9spzygag/cancel" }, "version": "hidden" }
Generated inUsing seed: 25208 Running prediction... Generating image... Generated image in 10.0sec
Prediction
black-forest-labs/flux-1.1-pro-ultraOfficial modelIDdyq83qfxv9rg80ckcmbvpwv91rStatusSucceededSourceWebTotal durationCreatedInput
- raw
- prompt
- a majestic snow-capped mountain peak bathed in a warm glow of the setting sun
- aspect_ratio
- 3:2
- output_format
- jpg
- safety_tolerance
- 2
- image_prompt_strength
- 0.1
{ "raw": false, "prompt": "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2, "image_prompt_strength": 0.1 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { raw: false, prompt: "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun", aspect_ratio: "3:2", output_format: "jpg", safety_tolerance: 2, image_prompt_strength: 0.1 }; const output = await replicate.run("black-forest-labs/flux-1.1-pro-ultra", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run black-forest-labs/flux-1.1-pro-ultra using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "black-forest-labs/flux-1.1-pro-ultra", input={ "raw": False, "prompt": "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2, "image_prompt_strength": 0.1 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run black-forest-labs/flux-1.1-pro-ultra 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 $'{ "input": { "raw": false, "prompt": "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2, "image_prompt_strength": 0.1 } }' \ https://api.replicate.com/v1/models/black-forest-labs/flux-1.1-pro-ultra/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-25T20:51:39.559538Z", "created_at": "2024-11-25T20:51:31.418000Z", "data_removed": false, "error": null, "id": "dyq83qfxv9rg80ckcmbvpwv91r", "input": { "raw": false, "prompt": "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun", "aspect_ratio": "3:2", "output_format": "jpg", "safety_tolerance": 2, "image_prompt_strength": 0.1 }, "logs": "Running prediction... \nUsing seed: 14351\nGenerating image...\nGenerated image in 8.0sec\nDownloaded image in 0.13sec", "metrics": { "image_count": 1, "predict_time": 8.132732037, "total_time": 8.141538 }, "output": "https://replicate.delivery/czjl/jqtNvxYHcnLELpszvkVf0APhMkBnwzrdo205RaVB7MttqU6JA/tmppokfymld.jpg", "started_at": "2024-11-25T20:51:31.426806Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-iy2aaylhwyx75okovamhaia3wfv644cf2vkghgpwqqzls6246tzq", "get": "https://api.replicate.com/v1/predictions/dyq83qfxv9rg80ckcmbvpwv91r", "cancel": "https://api.replicate.com/v1/predictions/dyq83qfxv9rg80ckcmbvpwv91r/cancel" }, "version": "hidden" }
Generated inRunning prediction... Using seed: 14351 Generating image... Generated image in 8.0sec Downloaded image in 0.13sec
Want to make some of these yourself?
Run this model