jhorovitz
/
flux-schnell-redux-control
Change the strength of the prompt to enable editing style and content. Recommendation: keep the seed constant and tune the strength.
Prediction
jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102ID0pysdtw7n5rma0cm8srs8rkq9rStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 42
- width
- 1024
- height
- 1024
- prompt
- A pencil drawing of a car.
- num_outputs
- 1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- redux_strength
- 0.05
- num_inference_steps
- 4
{ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoiIdUvBzRAzTPJNMgFmvzRwatzoGmDA1Os437OBwt2ZdNV/car.webp", "width": 1024, "height": 1024, "prompt": "A pencil drawing of a car.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 }
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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", { input: { seed: 42, redux: "https://replicate.delivery/pbxt/MHoiIdUvBzRAzTPJNMgFmvzRwatzoGmDA1Os437OBwt2ZdNV/car.webp", width: 1024, height: 1024, prompt: "A pencil drawing of a car.", num_outputs: 1, output_format: "webp", guidance_scale: 3.5, output_quality: 80, redux_strength: 0.05, num_inference_steps: 4 } } ); // 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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", input={ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoiIdUvBzRAzTPJNMgFmvzRwatzoGmDA1Os437OBwt2ZdNV/car.webp", "width": 1024, "height": 1024, "prompt": "A pencil drawing of a car.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/flux-schnell-redux-control 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": "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoiIdUvBzRAzTPJNMgFmvzRwatzoGmDA1Os437OBwt2ZdNV/car.webp", "width": 1024, "height": 1024, "prompt": "A pencil drawing of a car.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-08T15:03:56.972292Z", "created_at": "2025-01-08T15:03:53.001000Z", "data_removed": false, "error": null, "id": "0pysdtw7n5rma0cm8srs8rkq9r", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoiIdUvBzRAzTPJNMgFmvzRwatzoGmDA1Os437OBwt2ZdNV/car.webp", "width": 1024, "height": 1024, "prompt": "A pencil drawing of a car.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 }, "logs": "Using seed: 42\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s]\n 50%|█████ | 2/4 [00:01<00:01, 1.32it/s]\n 75%|███████▌ | 3/4 [00:02<00:00, 1.21it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.17it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.19it/s]", "metrics": { "predict_time": 3.963123016, "total_time": 3.971292 }, "output": [ "https://replicate.delivery/xezq/mauqC0Dwl9ZCLlwgWU8rVnkieegw7ujQBvQLKZEftSQ4uIGoA/out-0.webp" ], "started_at": "2025-01-08T15:03:53.009169Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-hzcuc5wrupyrconzr34fhhpgdauw5zeayuze5tvunngalveie3ta", "get": "https://api.replicate.com/v1/predictions/0pysdtw7n5rma0cm8srs8rkq9r", "cancel": "https://api.replicate.com/v1/predictions/0pysdtw7n5rma0cm8srs8rkq9r/cancel" }, "version": "2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102" }
Generated inUsing seed: 42 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s] 50%|█████ | 2/4 [00:01<00:01, 1.32it/s] 75%|███████▌ | 3/4 [00:02<00:00, 1.21it/s] 100%|██████████| 4/4 [00:03<00:00, 1.17it/s] 100%|██████████| 4/4 [00:03<00:00, 1.19it/s]
Prediction
jhorovitz/flux-schnell-redux-control:8f7df63cad643d9f42a8bb69201f7a206844c1bc7cc69b6cb8e377df80730da5ID5tb6wm6zd9rmc0cm8strr2x044StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 42
- width
- 1024
- height
- 1024
- prompt
- A woman riding a jet ski.
- num_outputs
- 1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- redux_strength
- 0.08
- num_inference_steps
- 4
{ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHogqiTE7XgxU1zkHfaSplz4hTheBBUsNZkHkkOCJC7XqTEm/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman riding a jet ski.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.08, "num_inference_steps": 4 }
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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/flux-schnell-redux-control:8f7df63cad643d9f42a8bb69201f7a206844c1bc7cc69b6cb8e377df80730da5", { input: { seed: 42, redux: "https://replicate.delivery/pbxt/MHogqiTE7XgxU1zkHfaSplz4hTheBBUsNZkHkkOCJC7XqTEm/lisa.jpg", width: 1024, height: 1024, prompt: "A woman riding a jet ski.", num_outputs: 1, output_format: "webp", guidance_scale: 3.5, output_quality: 80, redux_strength: 0.08, num_inference_steps: 4 } } ); // 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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/flux-schnell-redux-control:8f7df63cad643d9f42a8bb69201f7a206844c1bc7cc69b6cb8e377df80730da5", input={ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHogqiTE7XgxU1zkHfaSplz4hTheBBUsNZkHkkOCJC7XqTEm/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman riding a jet ski.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.08, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/flux-schnell-redux-control 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": "jhorovitz/flux-schnell-redux-control:8f7df63cad643d9f42a8bb69201f7a206844c1bc7cc69b6cb8e377df80730da5", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHogqiTE7XgxU1zkHfaSplz4hTheBBUsNZkHkkOCJC7XqTEm/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman riding a jet ski.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.08, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-08T15:08:42.513232Z", "created_at": "2025-01-08T15:08:37.610000Z", "data_removed": false, "error": null, "id": "5tb6wm6zd9rmc0cm8strr2x044", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHogqiTE7XgxU1zkHfaSplz4hTheBBUsNZkHkkOCJC7XqTEm/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman riding a jet ski.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.08, "num_inference_steps": 4 }, "logs": "Using seed: 42\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s]\n 50%|█████ | 2/4 [00:01<00:01, 1.32it/s]\n 75%|███████▌ | 3/4 [00:02<00:00, 1.22it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.17it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.19it/s]", "metrics": { "predict_time": 4.891581199, "total_time": 4.903232 }, "output": [ "https://replicate.delivery/xezq/jX9dek8KjZXFLaK8u591hPWJSKXkNjwu6SpxjtAEaOC9NiBKA/out-0.webp" ], "started_at": "2025-01-08T15:08:37.621651Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-dofa37u5jpraq6l2bbpven5sn7q7d4dk7mnn6xlepxrme2cbuw5a", "get": "https://api.replicate.com/v1/predictions/5tb6wm6zd9rmc0cm8strr2x044", "cancel": "https://api.replicate.com/v1/predictions/5tb6wm6zd9rmc0cm8strr2x044/cancel" }, "version": "8f7df63cad643d9f42a8bb69201f7a206844c1bc7cc69b6cb8e377df80730da5" }
Generated inUsing seed: 42 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s] 50%|█████ | 2/4 [00:01<00:01, 1.32it/s] 75%|███████▌ | 3/4 [00:02<00:00, 1.22it/s] 100%|██████████| 4/4 [00:03<00:00, 1.17it/s] 100%|██████████| 4/4 [00:03<00:00, 1.19it/s]
Prediction
jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102ID6btfgeacr5rmc0cm8swr65r2vgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 42
- width
- 1024
- height
- 1024
- prompt
- A woman wearing sunglasses.
- num_outputs
- 1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- redux_strength
- 0.05
- num_inference_steps
- 4
{ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoYvmSKv0pnQPcKtRlHWgrKQSPf5PjKbcvFxuNvWHXiNFeM/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman wearing sunglasses.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 }
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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", { input: { seed: 42, redux: "https://replicate.delivery/pbxt/MHoYvmSKv0pnQPcKtRlHWgrKQSPf5PjKbcvFxuNvWHXiNFeM/lisa.jpg", width: 1024, height: 1024, prompt: "A woman wearing sunglasses.", num_outputs: 1, output_format: "webp", guidance_scale: 3.5, output_quality: 80, redux_strength: 0.05, num_inference_steps: 4 } } ); // 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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", input={ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoYvmSKv0pnQPcKtRlHWgrKQSPf5PjKbcvFxuNvWHXiNFeM/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman wearing sunglasses.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/flux-schnell-redux-control 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": "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoYvmSKv0pnQPcKtRlHWgrKQSPf5PjKbcvFxuNvWHXiNFeM/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman wearing sunglasses.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-08T15:13:31.207898Z", "created_at": "2025-01-08T15:12:22.209000Z", "data_removed": false, "error": null, "id": "6btfgeacr5rmc0cm8swr65r2vg", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoYvmSKv0pnQPcKtRlHWgrKQSPf5PjKbcvFxuNvWHXiNFeM/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman wearing sunglasses.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 }, "logs": "Using seed: 42\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s]\n 50%|█████ | 2/4 [00:01<00:01, 1.32it/s]\n 75%|███████▌ | 3/4 [00:02<00:00, 1.22it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.17it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.19it/s]", "metrics": { "predict_time": 5.752753517, "total_time": 68.998898 }, "output": [ "https://replicate.delivery/xezq/eJwuz93DcN1EDKOWuU9X7FR3qPDERiiaBhJ5xX5XdfTbgEDUA/out-0.webp" ], "started_at": "2025-01-08T15:13:25.455144Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-f4rysrsnvc6kpahwbtdvtaraes27rvbzuziq7a4kgwceircsve6q", "get": "https://api.replicate.com/v1/predictions/6btfgeacr5rmc0cm8swr65r2vg", "cancel": "https://api.replicate.com/v1/predictions/6btfgeacr5rmc0cm8swr65r2vg/cancel" }, "version": "2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102" }
Generated inUsing seed: 42 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s] 50%|█████ | 2/4 [00:01<00:01, 1.32it/s] 75%|███████▌ | 3/4 [00:02<00:00, 1.22it/s] 100%|██████████| 4/4 [00:03<00:00, 1.17it/s] 100%|██████████| 4/4 [00:03<00:00, 1.19it/s]
Prediction
jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102IDjwbeh3gd7nrme0cm8sz9dtpascStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 42
- width
- 1024
- height
- 1024
- prompt
- A cartoon drawing of a car.
- num_outputs
- 1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- redux_strength
- 0.03
- num_inference_steps
- 4
{ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHocNcBT9rCyEg704LnolXXFDwf10UzowHqvJ2bYJ83CdCEa/car.webp", "width": 1024, "height": 1024, "prompt": "A cartoon drawing of a car.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.03, "num_inference_steps": 4 }
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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", { input: { seed: 42, redux: "https://replicate.delivery/pbxt/MHocNcBT9rCyEg704LnolXXFDwf10UzowHqvJ2bYJ83CdCEa/car.webp", width: 1024, height: 1024, prompt: "A cartoon drawing of a car.", num_outputs: 1, output_format: "webp", guidance_scale: 3.5, output_quality: 80, redux_strength: 0.03, num_inference_steps: 4 } } ); // 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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", input={ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHocNcBT9rCyEg704LnolXXFDwf10UzowHqvJ2bYJ83CdCEa/car.webp", "width": 1024, "height": 1024, "prompt": "A cartoon drawing of a car.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.03, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/flux-schnell-redux-control 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": "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHocNcBT9rCyEg704LnolXXFDwf10UzowHqvJ2bYJ83CdCEa/car.webp", "width": 1024, "height": 1024, "prompt": "A cartoon drawing of a car.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.03, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-08T15:18:53.950249Z", "created_at": "2025-01-08T15:17:33.629000Z", "data_removed": false, "error": null, "id": "jwbeh3gd7nrme0cm8sz9dtpasc", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHocNcBT9rCyEg704LnolXXFDwf10UzowHqvJ2bYJ83CdCEa/car.webp", "width": 1024, "height": 1024, "prompt": "A cartoon drawing of a car.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.03, "num_inference_steps": 4 }, "logs": "Using seed: 42\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s]\n 50%|█████ | 2/4 [00:01<00:01, 1.32it/s]\n 75%|███████▌ | 3/4 [00:02<00:00, 1.22it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.17it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.19it/s]", "metrics": { "predict_time": 3.922339666, "total_time": 80.321249 }, "output": [ "https://replicate.delivery/xezq/YSy5w8CW0Ea7I9DxsD8Tlf2Gb4hBxtnexfuHtVa2jSe3VSMQB/out-0.webp" ], "started_at": "2025-01-08T15:18:50.027910Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-yjma4joikji4jootqpvu6qzutk4ehh5mjgxc5nlnguhxh7ce2sca", "get": "https://api.replicate.com/v1/predictions/jwbeh3gd7nrme0cm8sz9dtpasc", "cancel": "https://api.replicate.com/v1/predictions/jwbeh3gd7nrme0cm8sz9dtpasc/cancel" }, "version": "2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102" }
Generated inUsing seed: 42 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s] 50%|█████ | 2/4 [00:01<00:01, 1.32it/s] 75%|███████▌ | 3/4 [00:02<00:00, 1.22it/s] 100%|██████████| 4/4 [00:03<00:00, 1.17it/s] 100%|██████████| 4/4 [00:03<00:00, 1.19it/s]
Prediction
jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102IDw2t8y1q555rm80cm8t3vcvhdjgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 42
- width
- 1024
- height
- 1024
- prompt
- A car driving underwater.
- num_outputs
- 1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- redux_strength
- 0.01
- num_inference_steps
- 4
{ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoe83H0Zu9833zL3J25RD2C57N8AegV5DVI95stFz2Swro4/car.webp", "width": 1024, "height": 1024, "prompt": "A car driving underwater.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.01, "num_inference_steps": 4 }
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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", { input: { seed: 42, redux: "https://replicate.delivery/pbxt/MHoe83H0Zu9833zL3J25RD2C57N8AegV5DVI95stFz2Swro4/car.webp", width: 1024, height: 1024, prompt: "A car driving underwater.", num_outputs: 1, output_format: "webp", guidance_scale: 3.5, output_quality: 80, redux_strength: 0.01, num_inference_steps: 4 } } ); // 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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", input={ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoe83H0Zu9833zL3J25RD2C57N8AegV5DVI95stFz2Swro4/car.webp", "width": 1024, "height": 1024, "prompt": "A car driving underwater.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.01, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/flux-schnell-redux-control 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": "jhorovitz/flux-schnell-redux-control:2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoe83H0Zu9833zL3J25RD2C57N8AegV5DVI95stFz2Swro4/car.webp", "width": 1024, "height": 1024, "prompt": "A car driving underwater.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.01, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-08T15:28:22.675086Z", "created_at": "2025-01-08T15:28:18.729000Z", "data_removed": false, "error": null, "id": "w2t8y1q555rm80cm8t3vcvhdjg", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHoe83H0Zu9833zL3J25RD2C57N8AegV5DVI95stFz2Swro4/car.webp", "width": 1024, "height": 1024, "prompt": "A car driving underwater.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.01, "num_inference_steps": 4 }, "logs": "Using seed: 42\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s]\n 50%|█████ | 2/4 [00:01<00:01, 1.32it/s]\n 75%|███████▌ | 3/4 [00:02<00:00, 1.21it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.17it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.19it/s]", "metrics": { "predict_time": 3.939492801, "total_time": 3.946086 }, "output": [ "https://replicate.delivery/xezq/zEc0a7yNobazNlY7M3fo4nrD01P0rwGfeFJ3WejRNC9a5SMQB/out-0.webp" ], "started_at": "2025-01-08T15:28:18.735594Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-ox2oem3ujz4oolxu5jo55zqtdgvu47aiqibesjdf7sorhnoe4zsq", "get": "https://api.replicate.com/v1/predictions/w2t8y1q555rm80cm8t3vcvhdjg", "cancel": "https://api.replicate.com/v1/predictions/w2t8y1q555rm80cm8t3vcvhdjg/cancel" }, "version": "2f9ed928d83b752b12759c7eb713a0cb61220827a3143cf65827ce4de1632102" }
Generated inUsing seed: 42 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s] 50%|█████ | 2/4 [00:01<00:01, 1.32it/s] 75%|███████▌ | 3/4 [00:02<00:00, 1.21it/s] 100%|██████████| 4/4 [00:03<00:00, 1.17it/s] 100%|██████████| 4/4 [00:03<00:00, 1.19it/s]
Prediction
jhorovitz/flux-schnell-redux-control:8f7df63cad643d9f42a8bb69201f7a206844c1bc7cc69b6cb8e377df80730da5ID21q13x11yhrma0cm8t4srr9eerStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 42
- width
- 1024
- height
- 1024
- prompt
- A woman with pink hair.
- num_outputs
- 1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- redux_strength
- 0.05
- num_inference_steps
- 4
{ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHogqiTE7XgxU1zkHfaSplz4hTheBBUsNZkHkkOCJC7XqTEm/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman with pink hair.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 }
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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/flux-schnell-redux-control:8f7df63cad643d9f42a8bb69201f7a206844c1bc7cc69b6cb8e377df80730da5", { input: { seed: 42, redux: "https://replicate.delivery/pbxt/MHogqiTE7XgxU1zkHfaSplz4hTheBBUsNZkHkkOCJC7XqTEm/lisa.jpg", width: 1024, height: 1024, prompt: "A woman with pink hair.", num_outputs: 1, output_format: "webp", guidance_scale: 3.5, output_quality: 80, redux_strength: 0.05, num_inference_steps: 4 } } ); // 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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/flux-schnell-redux-control:8f7df63cad643d9f42a8bb69201f7a206844c1bc7cc69b6cb8e377df80730da5", input={ "seed": 42, "redux": "https://replicate.delivery/pbxt/MHogqiTE7XgxU1zkHfaSplz4hTheBBUsNZkHkkOCJC7XqTEm/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman with pink hair.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/flux-schnell-redux-control 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": "jhorovitz/flux-schnell-redux-control:8f7df63cad643d9f42a8bb69201f7a206844c1bc7cc69b6cb8e377df80730da5", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHogqiTE7XgxU1zkHfaSplz4hTheBBUsNZkHkkOCJC7XqTEm/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman with pink hair.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-08T15:29:45.124982Z", "created_at": "2025-01-08T15:29:39.828000Z", "data_removed": false, "error": null, "id": "21q13x11yhrma0cm8t4srr9eer", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/MHogqiTE7XgxU1zkHfaSplz4hTheBBUsNZkHkkOCJC7XqTEm/lisa.jpg", "width": 1024, "height": 1024, "prompt": "A woman with pink hair.", "num_outputs": 1, "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.05, "num_inference_steps": 4 }, "logs": "Using seed: 42\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s]\n 50%|█████ | 2/4 [00:01<00:01, 1.32it/s]\n 75%|███████▌ | 3/4 [00:02<00:00, 1.21it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.17it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.19it/s]", "metrics": { "predict_time": 5.28892598, "total_time": 5.296982 }, "output": [ "https://replicate.delivery/xezq/eq1xYDS4zwwXdqoq88c6qMegM0FqoPqi9zXGqO7hIneTfSMQB/out-0.webp" ], "started_at": "2025-01-08T15:29:39.836056Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-bkyogx5j4gudpirxq2dexk46hshuz2aoud3gojeja4ohkgwz4quq", "get": "https://api.replicate.com/v1/predictions/21q13x11yhrma0cm8t4srr9eer", "cancel": "https://api.replicate.com/v1/predictions/21q13x11yhrma0cm8t4srr9eer/cancel" }, "version": "8f7df63cad643d9f42a8bb69201f7a206844c1bc7cc69b6cb8e377df80730da5" }
Generated inUsing seed: 42 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:02, 1.11it/s] 50%|█████ | 2/4 [00:01<00:01, 1.32it/s] 75%|███████▌ | 3/4 [00:02<00:00, 1.21it/s] 100%|██████████| 4/4 [00:03<00:00, 1.17it/s] 100%|██████████| 4/4 [00:03<00:00, 1.19it/s]
Prediction
jhorovitz/flux-schnell-redux-control:43cb0d31e42d53ce812b62dc866b32ecd492f2d152fb28f43e4d9c7c1426037fIDmm1n1nnhb9rm80cmerz9myz9mgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 42
- width
- 1024
- height
- 1024
- prompt
- A man riding a skateboard.
- num_outputs
- 1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- redux_strength
- 0.02
- num_inference_steps
- 4
{ "seed": 42, "redux": "https://replicate.delivery/pbxt/ML6vfqWinirmntpALxVSLf5Kd6xYHOHWNzlxIhAqJjvj87eS/yoni2.jpg", "width": 1024, "height": 1024, "prompt": "A man riding a skateboard.", "num_outputs": 1, "control_image": "https://replicate.delivery/pbxt/ML6vfTxTOo1hm9wPNsMBIBmcOKqlk3osFoXt73gyKn2LulMG/man_on_skateboard.webp", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.02, "num_inference_steps": 4 }
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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/flux-schnell-redux-control:43cb0d31e42d53ce812b62dc866b32ecd492f2d152fb28f43e4d9c7c1426037f", { input: { seed: 42, redux: "https://replicate.delivery/pbxt/ML6vfqWinirmntpALxVSLf5Kd6xYHOHWNzlxIhAqJjvj87eS/yoni2.jpg", width: 1024, height: 1024, prompt: "A man riding a skateboard.", num_outputs: 1, control_image: "https://replicate.delivery/pbxt/ML6vfTxTOo1hm9wPNsMBIBmcOKqlk3osFoXt73gyKn2LulMG/man_on_skateboard.webp", output_format: "webp", guidance_scale: 3.5, output_quality: 80, redux_strength: 0.02, num_inference_steps: 4 } } ); // 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 jhorovitz/flux-schnell-redux-control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/flux-schnell-redux-control:43cb0d31e42d53ce812b62dc866b32ecd492f2d152fb28f43e4d9c7c1426037f", input={ "seed": 42, "redux": "https://replicate.delivery/pbxt/ML6vfqWinirmntpALxVSLf5Kd6xYHOHWNzlxIhAqJjvj87eS/yoni2.jpg", "width": 1024, "height": 1024, "prompt": "A man riding a skateboard.", "num_outputs": 1, "control_image": "https://replicate.delivery/pbxt/ML6vfTxTOo1hm9wPNsMBIBmcOKqlk3osFoXt73gyKn2LulMG/man_on_skateboard.webp", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.02, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/flux-schnell-redux-control 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": "jhorovitz/flux-schnell-redux-control:43cb0d31e42d53ce812b62dc866b32ecd492f2d152fb28f43e4d9c7c1426037f", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/ML6vfqWinirmntpALxVSLf5Kd6xYHOHWNzlxIhAqJjvj87eS/yoni2.jpg", "width": 1024, "height": 1024, "prompt": "A man riding a skateboard.", "num_outputs": 1, "control_image": "https://replicate.delivery/pbxt/ML6vfTxTOo1hm9wPNsMBIBmcOKqlk3osFoXt73gyKn2LulMG/man_on_skateboard.webp", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.02, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-17T21:50:31.241611Z", "created_at": "2025-01-17T21:50:07.706000Z", "data_removed": false, "error": null, "id": "mm1n1nnhb9rm80cmerz9myz9mg", "input": { "seed": 42, "redux": "https://replicate.delivery/pbxt/ML6vfqWinirmntpALxVSLf5Kd6xYHOHWNzlxIhAqJjvj87eS/yoni2.jpg", "width": 1024, "height": 1024, "prompt": "A man riding a skateboard.", "num_outputs": 1, "control_image": "https://replicate.delivery/pbxt/ML6vfTxTOo1hm9wPNsMBIBmcOKqlk3osFoXt73gyKn2LulMG/man_on_skateboard.webp", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "redux_strength": 0.02, "num_inference_steps": 4 }, "logs": "Using seed: 42\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:02, 1.05it/s]\n 50%|█████ | 2/4 [00:01<00:01, 1.19it/s]\n 75%|███████▌ | 3/4 [00:02<00:00, 1.12it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.10it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.11it/s]", "metrics": { "predict_time": 23.528976507, "total_time": 23.535611 }, "output": [ "https://replicate.delivery/xezq/Iwxxcw8AhDaHDZWUmPcpkMXz46nwLyoA0QV1jZtDJixpCiBF/out-0.webp" ], "started_at": "2025-01-17T21:50:07.712635Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-k53zoypbse6lcgkoy3ay2quuieelkhzqdms5as4ofm7g6dxcsi7q", "get": "https://api.replicate.com/v1/predictions/mm1n1nnhb9rm80cmerz9myz9mg", "cancel": "https://api.replicate.com/v1/predictions/mm1n1nnhb9rm80cmerz9myz9mg/cancel" }, "version": "43cb0d31e42d53ce812b62dc866b32ecd492f2d152fb28f43e4d9c7c1426037f" }
Generated inUsing seed: 42 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:02, 1.05it/s] 50%|█████ | 2/4 [00:01<00:01, 1.19it/s] 75%|███████▌ | 3/4 [00:02<00:00, 1.12it/s] 100%|██████████| 4/4 [00:03<00:00, 1.10it/s] 100%|██████████| 4/4 [00:03<00:00, 1.11it/s]
Want to make some of these yourself?
Run this model