jhorovitz
/
omini-schnell
Place items in a scene without needing to train on them
- Public
- 2.4K runs
-
A100 (80GB)
- Paper
Prediction
jhorovitz/omini-schnell:c07c96d92cc1c2736cc8c17115fe245338a224bb2d9e08c25d6f5173a7ce83ebIDsqtstnznz5rj60cn30ctzdax3rStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- A backpack in the style of this.
- num_outputs
- 1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "A backpack in the style of this.", "num_outputs": 1, "control_image": "https://replicate.delivery/pbxt/MWGfEgIUHJwl6NcBVNslTD3xe1S3TF9tL0CShbR3AyS3bM68/2.jpeg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:c07c96d92cc1c2736cc8c17115fe245338a224bb2d9e08c25d6f5173a7ce83eb", { input: { task: "subject_1024", prompt: "A backpack in the style of this.", num_outputs: 1, control_image: "https://replicate.delivery/pbxt/MWGfEgIUHJwl6NcBVNslTD3xe1S3TF9tL0CShbR3AyS3bM68/2.jpeg", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:c07c96d92cc1c2736cc8c17115fe245338a224bb2d9e08c25d6f5173a7ce83eb", input={ "task": "subject_1024", "prompt": "A backpack in the style of this.", "num_outputs": 1, "control_image": "https://replicate.delivery/pbxt/MWGfEgIUHJwl6NcBVNslTD3xe1S3TF9tL0CShbR3AyS3bM68/2.jpeg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "c07c96d92cc1c2736cc8c17115fe245338a224bb2d9e08c25d6f5173a7ce83eb", "input": { "task": "subject_1024", "prompt": "A backpack in the style of this.", "num_outputs": 1, "control_image": "https://replicate.delivery/pbxt/MWGfEgIUHJwl6NcBVNslTD3xe1S3TF9tL0CShbR3AyS3bM68/2.jpeg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-18T08:10:00.087197Z", "created_at": "2025-02-18T08:08:29.433000Z", "data_removed": false, "error": null, "id": "sqtstnznz5rj60cn30ctzdax3r", "input": { "task": "subject_1024", "prompt": "A backpack in the style of this.", "num_outputs": 1, "control_image": "https://replicate.delivery/pbxt/MWGfEgIUHJwl6NcBVNslTD3xe1S3TF9tL0CShbR3AyS3bM68/2.jpeg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 2978\nWarning: image is not square. Center cropping to make it square\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.40it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.59it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.56it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.55it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.53it/s]", "metrics": { "predict_time": 6.513984694, "total_time": 90.654197 }, "output": [ "https://replicate.delivery/yhqm/BntYdP5ZZw5sBdRl6gof70cj6t4rJOcDcBE3nIEfv6XYJfgoA/out-0.webp" ], "started_at": "2025-02-18T08:09:53.573212Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-4eau5ahwf4vyk34xrdbj7xdcspyhztdj6soedzwkgfkggayndmga", "get": "https://api.replicate.com/v1/predictions/sqtstnznz5rj60cn30ctzdax3r", "cancel": "https://api.replicate.com/v1/predictions/sqtstnznz5rj60cn30ctzdax3r/cancel" }, "version": "c07c96d92cc1c2736cc8c17115fe245338a224bb2d9e08c25d6f5173a7ce83eb" }
Generated inUsing seed: 2978 Warning: image is not square. Center cropping to make it square 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.40it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.59it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.56it/s] 50%|█████ | 4/8 [00:02<00:02, 1.55it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.53it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDfg4vxjj609rj20cn2kr88msgygStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @jhorovitzInput
- seed
- 42
- task
- subject_1024
- prompt
- These sandals on a model walking on a boardwalk. Advertisement for shoe. glamour shot.
- num_outputs
- 1
- control_image
- download?expiry=1739816217&owner=jhorovitz&signature=CH%252BBMSgYMB1bOEU4zJYyEUCcsf3%252BX5aD0wTC37ZaMaI%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "seed": 42, "task": "subject_1024", "prompt": "These sandals on a model walking on a boardwalk. Advertisement for shoe. glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NWExMDgyZDUtNmMwMC00ZDlmLWFhNmMtNDQ3ZDRmZjM4MzBk/download?expiry=1739816217&owner=jhorovitz&signature=CH%252BBMSgYMB1bOEU4zJYyEUCcsf3%252BX5aD0wTC37ZaMaI%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { seed: 42, task: "subject_1024", prompt: "These sandals on a model walking on a boardwalk. Advertisement for shoe. glamour shot.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/NWExMDgyZDUtNmMwMC00ZDlmLWFhNmMtNDQ3ZDRmZjM4MzBk/download?expiry=1739816217&owner=jhorovitz&signature=CH%252BBMSgYMB1bOEU4zJYyEUCcsf3%252BX5aD0wTC37ZaMaI%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "seed": 42, "task": "subject_1024", "prompt": "These sandals on a model walking on a boardwalk. Advertisement for shoe. glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NWExMDgyZDUtNmMwMC00ZDlmLWFhNmMtNDQ3ZDRmZjM4MzBk/download?expiry=1739816217&owner=jhorovitz&signature=CH%252BBMSgYMB1bOEU4zJYyEUCcsf3%252BX5aD0wTC37ZaMaI%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "seed": 42, "task": "subject_1024", "prompt": "These sandals on a model walking on a boardwalk. Advertisement for shoe. glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NWExMDgyZDUtNmMwMC00ZDlmLWFhNmMtNDQ3ZDRmZjM4MzBk/download?expiry=1739816217&owner=jhorovitz&signature=CH%252BBMSgYMB1bOEU4zJYyEUCcsf3%252BX5aD0wTC37ZaMaI%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T17:24:18.231010Z", "created_at": "2025-02-17T17:24:05.762000Z", "data_removed": false, "error": null, "id": "fg4vxjj609rj20cn2kr88msgyg", "input": { "seed": 42, "task": "subject_1024", "prompt": "These sandals on a model walking on a boardwalk. Advertisement for shoe. glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NWExMDgyZDUtNmMwMC00ZDlmLWFhNmMtNDQ3ZDRmZjM4MzBk/download?expiry=1739816217&owner=jhorovitz&signature=CH%252BBMSgYMB1bOEU4zJYyEUCcsf3%252BX5aD0wTC37ZaMaI%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 42\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.56it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]", "metrics": { "predict_time": 5.84245185, "total_time": 12.46901 }, "output": [ "https://replicate.delivery/yhqm/aNKF8yj8LYZuDlDlflntuAaUETeSuicMD8EAB3CVsyeFWkgoA/out-0.webp" ], "started_at": "2025-02-17T17:24:12.388558Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-cxnd4zpc62br2xo3artoid5btsgiqoaw5m4x23v23zatarpdpqvq", "get": "https://api.replicate.com/v1/predictions/fg4vxjj609rj20cn2kr88msgyg", "cancel": "https://api.replicate.com/v1/predictions/fg4vxjj609rj20cn2kr88msgyg/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 42 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s] 50%|█████ | 4/8 [00:02<00:02, 1.56it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDbg55jxqhd1rj60cn2kq8aa3bxwStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @jhorovitzInput
- seed
- 0
- task
- subject_512
- prompt
- A backpack in the style of this.
- num_outputs
- 1
- control_image
- download?expiry=1739814591&owner=jhorovitz&signature=nBWnhobmPFY%252F9lEkyZ1g%252FknzIRI49SU80KbtG9OPzRk%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "seed": 0, "task": "subject_512", "prompt": "A backpack in the style of this.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YjZmOWU2YmQtOWVhNy00ODA1LTg4MDMtY2E1OGVjZTZiZTZl/download?expiry=1739814591&owner=jhorovitz&signature=nBWnhobmPFY%252F9lEkyZ1g%252FknzIRI49SU80KbtG9OPzRk%253D", "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"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run jhorovitz/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { seed: 0, task: "subject_512", prompt: "A backpack in the style of this.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/YjZmOWU2YmQtOWVhNy00ODA1LTg4MDMtY2E1OGVjZTZiZTZl/download?expiry=1739814591&owner=jhorovitz&signature=nBWnhobmPFY%252F9lEkyZ1g%252FknzIRI49SU80KbtG9OPzRk%253D", 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 jhorovitz/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "seed": 0, "task": "subject_512", "prompt": "A backpack in the style of this.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YjZmOWU2YmQtOWVhNy00ODA1LTg4MDMtY2E1OGVjZTZiZTZl/download?expiry=1739814591&owner=jhorovitz&signature=nBWnhobmPFY%252F9lEkyZ1g%252FknzIRI49SU80KbtG9OPzRk%253D", "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 jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "seed": 0, "task": "subject_512", "prompt": "A backpack in the style of this.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YjZmOWU2YmQtOWVhNy00ODA1LTg4MDMtY2E1OGVjZTZiZTZl/download?expiry=1739814591&owner=jhorovitz&signature=nBWnhobmPFY%252F9lEkyZ1g%252FknzIRI49SU80KbtG9OPzRk%253D", "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": "2025-02-17T17:24:12.232648Z", "created_at": "2025-02-17T17:22:38.568000Z", "data_removed": false, "error": null, "id": "bg55jxqhd1rj60cn2kq8aa3bxw", "input": { "seed": 0, "task": "subject_512", "prompt": "A backpack in the style of this.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YjZmOWU2YmQtOWVhNy00ODA1LTg4MDMtY2E1OGVjZTZiZTZl/download?expiry=1739814591&owner=jhorovitz&signature=nBWnhobmPFY%252F9lEkyZ1g%252FknzIRI49SU80KbtG9OPzRk%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 0\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.77it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.34it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.38it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.39it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.40it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.41it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.41it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.42it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.42it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.42it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.42it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.42it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.42it/s]\n 50%|█████ | 14/28 [00:04<00:04, 3.42it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.42it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.42it/s]\n 61%|██████ | 17/28 [00:05<00:03, 3.42it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.42it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.42it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.42it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.42it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.42it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.42it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.42it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.42it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.42it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.42it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.42it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.41it/s]", "metrics": { "predict_time": 9.164266376, "total_time": 93.664648 }, "output": [ "https://replicate.delivery/yhqm/9uiQZaHvcarqIRGH0kjAeUaOGDDNku2fEY0fYBlObelwrIBRB/out-0.webp" ], "started_at": "2025-02-17T17:24:03.068381Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-ji5w6lgayfh7bp6e3v6jns73pgytglossnckkxvecaumcsra6pba", "get": "https://api.replicate.com/v1/predictions/bg55jxqhd1rj60cn2kq8aa3bxw", "cancel": "https://api.replicate.com/v1/predictions/bg55jxqhd1rj60cn2kq8aa3bxw/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 0 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.77it/s] 7%|▋ | 2/28 [00:00<00:07, 3.34it/s] 11%|█ | 3/28 [00:00<00:07, 3.38it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.39it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.40it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.41it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.41it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.42it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.42it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.42it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.42it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.42it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.42it/s] 50%|█████ | 14/28 [00:04<00:04, 3.42it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.42it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.42it/s] 61%|██████ | 17/28 [00:05<00:03, 3.42it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.42it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.42it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.42it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.42it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.42it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.42it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.42it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.42it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.42it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.42it/s] 100%|██████████| 28/28 [00:08<00:00, 3.42it/s] 100%|██████████| 28/28 [00:08<00:00, 3.41it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDq7zx73gaadrj60cn2kz94316m4StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @jhorovitzInput
- seed
- 45
- task
- subject_512
- prompt
- These shoes on a man walking on the lunar surface.
- num_outputs
- 1
- control_image
- download?expiry=1739817547&owner=jhorovitz&signature=D2F3dQ1gnoNjpg0ynH%252Bmt1GcgTo2lyMjO2UUseKVeT4%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "seed": 45, "task": "subject_512", "prompt": "These shoes on a man walking on the lunar surface.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZjM2ZjkwMGYtMWQ1MC00NWZjLWI4ZjEtMTRiNTJjZGZmYjY3/download?expiry=1739817547&owner=jhorovitz&signature=D2F3dQ1gnoNjpg0ynH%252Bmt1GcgTo2lyMjO2UUseKVeT4%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { seed: 45, task: "subject_512", prompt: "These shoes on a man walking on the lunar surface.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/ZjM2ZjkwMGYtMWQ1MC00NWZjLWI4ZjEtMTRiNTJjZGZmYjY3/download?expiry=1739817547&owner=jhorovitz&signature=D2F3dQ1gnoNjpg0ynH%252Bmt1GcgTo2lyMjO2UUseKVeT4%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "seed": 45, "task": "subject_512", "prompt": "These shoes on a man walking on the lunar surface.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZjM2ZjkwMGYtMWQ1MC00NWZjLWI4ZjEtMTRiNTJjZGZmYjY3/download?expiry=1739817547&owner=jhorovitz&signature=D2F3dQ1gnoNjpg0ynH%252Bmt1GcgTo2lyMjO2UUseKVeT4%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "seed": 45, "task": "subject_512", "prompt": "These shoes on a man walking on the lunar surface.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZjM2ZjkwMGYtMWQ1MC00NWZjLWI4ZjEtMTRiNTJjZGZmYjY3/download?expiry=1739817547&owner=jhorovitz&signature=D2F3dQ1gnoNjpg0ynH%252Bmt1GcgTo2lyMjO2UUseKVeT4%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T17:39:20.066513Z", "created_at": "2025-02-17T17:39:07.987000Z", "data_removed": false, "error": null, "id": "q7zx73gaadrj60cn2kz94316m4", "input": { "seed": 45, "task": "subject_512", "prompt": "These shoes on a man walking on the lunar surface.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZjM2ZjkwMGYtMWQ1MC00NWZjLWI4ZjEtMTRiNTJjZGZmYjY3/download?expiry=1739817547&owner=jhorovitz&signature=D2F3dQ1gnoNjpg0ynH%252Bmt1GcgTo2lyMjO2UUseKVeT4%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 45\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:02, 3.40it/s]\n 25%|██▌ | 2/8 [00:00<00:01, 3.68it/s]\n 38%|███▊ | 3/8 [00:00<00:01, 3.56it/s]\n 50%|█████ | 4/8 [00:01<00:01, 3.51it/s]\n 62%|██████▎ | 5/8 [00:01<00:00, 3.48it/s]\n 75%|███████▌ | 6/8 [00:01<00:00, 3.46it/s]\n 88%|████████▊ | 7/8 [00:02<00:00, 3.45it/s]\n100%|██████████| 8/8 [00:02<00:00, 3.44it/s]\n100%|██████████| 8/8 [00:02<00:00, 3.48it/s]", "metrics": { "predict_time": 2.893771546, "total_time": 12.079513 }, "output": [ "https://replicate.delivery/yhqm/YzJmE7Jb1L6BIJDjO7z3UGe9Gh1eZwdherBs7Nv4QcMRykgoA/out-0.webp" ], "started_at": "2025-02-17T17:39:17.172741Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-oafqgr4m5cg6ueirvcqg2p223zzrt3fr4gpbwvwkusapqt5g3zsq", "get": "https://api.replicate.com/v1/predictions/q7zx73gaadrj60cn2kz94316m4", "cancel": "https://api.replicate.com/v1/predictions/q7zx73gaadrj60cn2kz94316m4/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 45 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:02, 3.40it/s] 25%|██▌ | 2/8 [00:00<00:01, 3.68it/s] 38%|███▊ | 3/8 [00:00<00:01, 3.56it/s] 50%|█████ | 4/8 [00:01<00:01, 3.51it/s] 62%|██████▎ | 5/8 [00:01<00:00, 3.48it/s] 75%|███████▌ | 6/8 [00:01<00:00, 3.46it/s] 88%|████████▊ | 7/8 [00:02<00:00, 3.45it/s] 100%|██████████| 8/8 [00:02<00:00, 3.44it/s] 100%|██████████| 8/8 [00:02<00:00, 3.48it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDvsy70yjtgnrj00cn2m9tdzx2z0StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @jhorovitzInput
- task
- subject_512
- prompt
- This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.
- num_outputs
- 1
- control_image
- download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_512", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YWM5NjBjMzQtMDFlNS00N2UzLWIxNGUtODI5ZGU3YzQ1ZjQ5/download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_512", prompt: "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/YWM5NjBjMzQtMDFlNS00N2UzLWIxNGUtODI5ZGU3YzQ1ZjQ5/download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_512", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YWM5NjBjMzQtMDFlNS00N2UzLWIxNGUtODI5ZGU3YzQ1ZjQ5/download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_512", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YWM5NjBjMzQtMDFlNS00N2UzLWIxNGUtODI5ZGU3YzQ1ZjQ5/download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:03:14.726775Z", "created_at": "2025-02-17T18:02:24.773000Z", "data_removed": false, "error": null, "id": "vsy70yjtgnrj00cn2m9tdzx2z0", "input": { "task": "subject_512", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YWM5NjBjMzQtMDFlNS00N2UzLWIxNGUtODI5ZGU3YzQ1ZjQ5/download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 44455\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:02, 3.40it/s]\n 25%|██▌ | 2/8 [00:00<00:01, 3.67it/s]\n 38%|███▊ | 3/8 [00:00<00:01, 3.54it/s]\n 50%|█████ | 4/8 [00:01<00:01, 3.49it/s]\n 62%|██████▎ | 5/8 [00:01<00:00, 3.47it/s]\n 75%|███████▌ | 6/8 [00:01<00:00, 3.45it/s]\n 88%|████████▊ | 7/8 [00:02<00:00, 3.43it/s]\n100%|██████████| 8/8 [00:02<00:00, 3.42it/s]\n100%|██████████| 8/8 [00:02<00:00, 3.46it/s]", "metrics": { "predict_time": 2.778043072, "total_time": 49.953775 }, "output": [ "https://replicate.delivery/yhqm/iFvJTk0335qGAl0j2RxCzCL1Ci9l0k12mSflH4E8nxJxXJIKA/out-0.webp" ], "started_at": "2025-02-17T18:03:11.948732Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-3ogwqfg3vyzescuq4ppjgcgmrbui3bs43lo4hpvjoitabn6ldgyq", "get": "https://api.replicate.com/v1/predictions/vsy70yjtgnrj00cn2m9tdzx2z0", "cancel": "https://api.replicate.com/v1/predictions/vsy70yjtgnrj00cn2m9tdzx2z0/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 44455 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:02, 3.40it/s] 25%|██▌ | 2/8 [00:00<00:01, 3.67it/s] 38%|███▊ | 3/8 [00:00<00:01, 3.54it/s] 50%|█████ | 4/8 [00:01<00:01, 3.49it/s] 62%|██████▎ | 5/8 [00:01<00:00, 3.47it/s] 75%|███████▌ | 6/8 [00:01<00:00, 3.45it/s] 88%|████████▊ | 7/8 [00:02<00:00, 3.43it/s] 100%|██████████| 8/8 [00:02<00:00, 3.42it/s] 100%|██████████| 8/8 [00:02<00:00, 3.46it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDyqr3eyhyp9rj60cn2m4af8fycrStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @jhorovitzInput
- seed
- 3
- task
- subject_1024
- prompt
- A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.
- num_outputs
- 1
- control_image
- download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "seed": 3, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/M2EwOGE3NTItMGZmYy00ODM3LTkzNWUtZDY2MWU2NGUxYmM1/download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { seed: 3, task: "subject_1024", prompt: "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/M2EwOGE3NTItMGZmYy00ODM3LTkzNWUtZDY2MWU2NGUxYmM1/download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "seed": 3, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/M2EwOGE3NTItMGZmYy00ODM3LTkzNWUtZDY2MWU2NGUxYmM1/download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "seed": 3, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/M2EwOGE3NTItMGZmYy00ODM3LTkzNWUtZDY2MWU2NGUxYmM1/download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T17:51:44.421031Z", "created_at": "2025-02-17T17:50:16.754000Z", "data_removed": false, "error": null, "id": "yqr3eyhyp9rj60cn2m4af8fycr", "input": { "seed": 3, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/M2EwOGE3NTItMGZmYy00ODM3LTkzNWUtZDY2MWU2NGUxYmM1/download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 3\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.41it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.60it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.55it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.55it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.54it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]", "metrics": { "predict_time": 8.370057768, "total_time": 87.667031 }, "output": [ "https://replicate.delivery/yhqm/hzdpcKcMHY5hO1zlQk3rDwskElZMBPrIWgOEujK1XUtLpEEF/out-0.webp" ], "started_at": "2025-02-17T17:51:36.050974Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-rrrnivjnaaxbaz753uvd5ky4j2yqos5fktkxcoex3f2kzazlrp4a", "get": "https://api.replicate.com/v1/predictions/yqr3eyhyp9rj60cn2m4af8fycr", "cancel": "https://api.replicate.com/v1/predictions/yqr3eyhyp9rj60cn2m4af8fycr/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 3 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.41it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.60it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s] 50%|█████ | 4/8 [00:02<00:02, 1.55it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.55it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.54it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDmd4rgv17ksrj40cn2maarfkj3wStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.
- num_outputs
- 1
- control_image
- download?expiry=1739818997&owner=jhorovitz&signature=%252BwBO7wFkyYneFsaPP0Ga%252F0Chdwue21uPyrqXOmA1PNQ%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/Mjc1OTJjYmItMTQxMC00ODE1LTkzYzctMjE3ZmYwM2ZjMjBi/download?expiry=1739818997&owner=jhorovitz&signature=%252BwBO7wFkyYneFsaPP0Ga%252F0Chdwue21uPyrqXOmA1PNQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/Mjc1OTJjYmItMTQxMC00ODE1LTkzYzctMjE3ZmYwM2ZjMjBi/download?expiry=1739818997&owner=jhorovitz&signature=%252BwBO7wFkyYneFsaPP0Ga%252F0Chdwue21uPyrqXOmA1PNQ%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/Mjc1OTJjYmItMTQxMC00ODE1LTkzYzctMjE3ZmYwM2ZjMjBi/download?expiry=1739818997&owner=jhorovitz&signature=%252BwBO7wFkyYneFsaPP0Ga%252F0Chdwue21uPyrqXOmA1PNQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/Mjc1OTJjYmItMTQxMC00ODE1LTkzYzctMjE3ZmYwM2ZjMjBi/download?expiry=1739818997&owner=jhorovitz&signature=%252BwBO7wFkyYneFsaPP0Ga%252F0Chdwue21uPyrqXOmA1PNQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:04:08.276367Z", "created_at": "2025-02-17T18:03:17.278000Z", "data_removed": false, "error": null, "id": "md4rgv17ksrj40cn2maarfkj3w", "input": { "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/Mjc1OTJjYmItMTQxMC00ODE1LTkzYzctMjE3ZmYwM2ZjMjBi/download?expiry=1739818997&owner=jhorovitz&signature=%252BwBO7wFkyYneFsaPP0Ga%252F0Chdwue21uPyrqXOmA1PNQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 3623\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.63it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.54it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.53it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.52it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.51it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.51it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.53it/s]", "metrics": { "predict_time": 5.987660755, "total_time": 50.998367 }, "output": [ "https://replicate.delivery/yhqm/UyGCowrtxpo0KFeFrQ45ZZHYUapIcieJfckNLLPlSUdwglgoA/out-0.webp" ], "started_at": "2025-02-17T18:04:02.288707Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-csiasmzceskthuokztjs5wapaumrfrl3xhdiz62tf6fckyt54ouq", "get": "https://api.replicate.com/v1/predictions/md4rgv17ksrj40cn2maarfkj3w", "cancel": "https://api.replicate.com/v1/predictions/md4rgv17ksrj40cn2maarfkj3w/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 3623 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.63it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s] 50%|█████ | 4/8 [00:02<00:02, 1.54it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.53it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.52it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.51it/s] 100%|██████████| 8/8 [00:05<00:00, 1.51it/s] 100%|██████████| 8/8 [00:05<00:00, 1.53it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDasxcvzrcw9rj00cn2mabp55xs8StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @jhorovitzInput
- task
- subject_1024
- prompt
- This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.
- num_outputs
- 1
- control_image
- download?expiry=1739818990&owner=jhorovitz&signature=lT7fC7xBjpOoqu7%252FOsHxGo9IO0cd8CVjk7S0Jkyw0KM%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZThkZmE1NDYtOTVjOS00ZjM5LWE0OWYtZmU4YjA5MmNhNDA1/download?expiry=1739818990&owner=jhorovitz&signature=lT7fC7xBjpOoqu7%252FOsHxGo9IO0cd8CVjk7S0Jkyw0KM%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/ZThkZmE1NDYtOTVjOS00ZjM5LWE0OWYtZmU4YjA5MmNhNDA1/download?expiry=1739818990&owner=jhorovitz&signature=lT7fC7xBjpOoqu7%252FOsHxGo9IO0cd8CVjk7S0Jkyw0KM%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZThkZmE1NDYtOTVjOS00ZjM5LWE0OWYtZmU4YjA5MmNhNDA1/download?expiry=1739818990&owner=jhorovitz&signature=lT7fC7xBjpOoqu7%252FOsHxGo9IO0cd8CVjk7S0Jkyw0KM%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZThkZmE1NDYtOTVjOS00ZjM5LWE0OWYtZmU4YjA5MmNhNDA1/download?expiry=1739818990&owner=jhorovitz&signature=lT7fC7xBjpOoqu7%252FOsHxGo9IO0cd8CVjk7S0Jkyw0KM%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:03:53.119044Z", "created_at": "2025-02-17T18:03:10.434000Z", "data_removed": false, "error": null, "id": "asxcvzrcw9rj00cn2mabp55xs8", "input": { "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZThkZmE1NDYtOTVjOS00ZjM5LWE0OWYtZmU4YjA5MmNhNDA1/download?expiry=1739818990&owner=jhorovitz&signature=lT7fC7xBjpOoqu7%252FOsHxGo9IO0cd8CVjk7S0Jkyw0KM%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 28978\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.63it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.54it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.53it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.52it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.51it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.53it/s]", "metrics": { "predict_time": 5.979007932, "total_time": 42.685044 }, "output": [ "https://replicate.delivery/yhqm/ft2MKVFDjRUHOKVIcekQ64ysmImeoQ7fv0gKka204jMnALBRB/out-0.webp" ], "started_at": "2025-02-17T18:03:47.140036Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-lx7ca5hatwkyscqdvp3reh6eblqrvartfgvt7hrd55ie4c6jtw7a", "get": "https://api.replicate.com/v1/predictions/asxcvzrcw9rj00cn2mabp55xs8", "cancel": "https://api.replicate.com/v1/predictions/asxcvzrcw9rj00cn2mabp55xs8/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 28978 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.63it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s] 50%|█████ | 4/8 [00:02<00:02, 1.54it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.53it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.52it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.51it/s] 100%|██████████| 8/8 [00:05<00:00, 1.53it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDvsy70yjtgnrj00cn2m9tdzx2z0StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @jhorovitzInput
- task
- subject_512
- prompt
- This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.
- num_outputs
- 1
- control_image
- download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_512", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YWM5NjBjMzQtMDFlNS00N2UzLWIxNGUtODI5ZGU3YzQ1ZjQ5/download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_512", prompt: "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/YWM5NjBjMzQtMDFlNS00N2UzLWIxNGUtODI5ZGU3YzQ1ZjQ5/download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_512", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YWM5NjBjMzQtMDFlNS00N2UzLWIxNGUtODI5ZGU3YzQ1ZjQ5/download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_512", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YWM5NjBjMzQtMDFlNS00N2UzLWIxNGUtODI5ZGU3YzQ1ZjQ5/download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:03:14.726775Z", "created_at": "2025-02-17T18:02:24.773000Z", "data_removed": false, "error": null, "id": "vsy70yjtgnrj00cn2m9tdzx2z0", "input": { "task": "subject_512", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YWM5NjBjMzQtMDFlNS00N2UzLWIxNGUtODI5ZGU3YzQ1ZjQ5/download?expiry=1739818944&owner=jhorovitz&signature=Kmr2UnHVqwkGZmoxA%252BLFmdpiY1uB4k7p6FPPD4k9Pw0%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 44455\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:02, 3.40it/s]\n 25%|██▌ | 2/8 [00:00<00:01, 3.67it/s]\n 38%|███▊ | 3/8 [00:00<00:01, 3.54it/s]\n 50%|█████ | 4/8 [00:01<00:01, 3.49it/s]\n 62%|██████▎ | 5/8 [00:01<00:00, 3.47it/s]\n 75%|███████▌ | 6/8 [00:01<00:00, 3.45it/s]\n 88%|████████▊ | 7/8 [00:02<00:00, 3.43it/s]\n100%|██████████| 8/8 [00:02<00:00, 3.42it/s]\n100%|██████████| 8/8 [00:02<00:00, 3.46it/s]", "metrics": { "predict_time": 2.778043072, "total_time": 49.953775 }, "output": [ "https://replicate.delivery/yhqm/iFvJTk0335qGAl0j2RxCzCL1Ci9l0k12mSflH4E8nxJxXJIKA/out-0.webp" ], "started_at": "2025-02-17T18:03:11.948732Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-3ogwqfg3vyzescuq4ppjgcgmrbui3bs43lo4hpvjoitabn6ldgyq", "get": "https://api.replicate.com/v1/predictions/vsy70yjtgnrj00cn2m9tdzx2z0", "cancel": "https://api.replicate.com/v1/predictions/vsy70yjtgnrj00cn2m9tdzx2z0/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 44455 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:02, 3.40it/s] 25%|██▌ | 2/8 [00:00<00:01, 3.67it/s] 38%|███▊ | 3/8 [00:00<00:01, 3.54it/s] 50%|█████ | 4/8 [00:01<00:01, 3.49it/s] 62%|██████▎ | 5/8 [00:01<00:00, 3.47it/s] 75%|███████▌ | 6/8 [00:01<00:00, 3.45it/s] 88%|████████▊ | 7/8 [00:02<00:00, 3.43it/s] 100%|██████████| 8/8 [00:02<00:00, 3.42it/s] 100%|██████████| 8/8 [00:02<00:00, 3.46it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDxxeqrjskksrj40cn2ma9geykr4StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @jhorovitzInput
- task
- subject_1024
- prompt
- This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.
- num_outputs
- 1
- control_image
- download?expiry=1739819000&owner=jhorovitz&signature=RTWRZXf2yQlGg%252FgYLEYplhRTjLFcc5s9R2tr9P1k3rQ%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NDk3OWIxOGMtMjAwZS00NmUzLTllZTktM2M0ZjFmNmY2YTg4/download?expiry=1739819000&owner=jhorovitz&signature=RTWRZXf2yQlGg%252FgYLEYplhRTjLFcc5s9R2tr9P1k3rQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/NDk3OWIxOGMtMjAwZS00NmUzLTllZTktM2M0ZjFmNmY2YTg4/download?expiry=1739819000&owner=jhorovitz&signature=RTWRZXf2yQlGg%252FgYLEYplhRTjLFcc5s9R2tr9P1k3rQ%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NDk3OWIxOGMtMjAwZS00NmUzLTllZTktM2M0ZjFmNmY2YTg4/download?expiry=1739819000&owner=jhorovitz&signature=RTWRZXf2yQlGg%252FgYLEYplhRTjLFcc5s9R2tr9P1k3rQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NDk3OWIxOGMtMjAwZS00NmUzLTllZTktM2M0ZjFmNmY2YTg4/download?expiry=1739819000&owner=jhorovitz&signature=RTWRZXf2yQlGg%252FgYLEYplhRTjLFcc5s9R2tr9P1k3rQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:04:04.170928Z", "created_at": "2025-02-17T18:03:20.350000Z", "data_removed": false, "error": null, "id": "xxeqrjskksrj40cn2ma9geykr4", "input": { "task": "subject_1024", "prompt": "This figurine on the dashboard of a sleek convertible. The sunset reflects off the background. anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NDk3OWIxOGMtMjAwZS00NmUzLTllZTktM2M0ZjFmNmY2YTg4/download?expiry=1739819000&owner=jhorovitz&signature=RTWRZXf2yQlGg%252FgYLEYplhRTjLFcc5s9R2tr9P1k3rQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 43554\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.42it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.61it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.56it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.55it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.55it/s]", "metrics": { "predict_time": 6.427619076, "total_time": 43.820928 }, "output": [ "https://replicate.delivery/yhqm/koj20Tc0cv6aH1t4AMjUbvSRgS5HYpiTkqj5fBK4fBAUwSQUA/out-0.webp" ], "started_at": "2025-02-17T18:03:57.743309Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-izo6vto7z7ri2m6hgjyck3tr5avyuzdgffcezqiicmy6cxfyb22a", "get": "https://api.replicate.com/v1/predictions/xxeqrjskksrj40cn2ma9geykr4", "cancel": "https://api.replicate.com/v1/predictions/xxeqrjskksrj40cn2ma9geykr4/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 43554 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.42it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.61it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s] 50%|█████ | 4/8 [00:02<00:02, 1.56it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.55it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.55it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbID56mw7k74zdrj40cn2mdrqa8r64StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.
- num_outputs
- 1
- control_image
- download?expiry=1739819504&owner=jhorovitz&signature=WtyjDZphty8Sv0skL5uCHFLrvlw65zV%252FSC70bjWk294%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NzBlOWFmNzUtYzE0YS00ZDE1LWFiOGMtZmRhZmE5ZmUwNjg3/download?expiry=1739819504&owner=jhorovitz&signature=WtyjDZphty8Sv0skL5uCHFLrvlw65zV%252FSC70bjWk294%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/NzBlOWFmNzUtYzE0YS00ZDE1LWFiOGMtZmRhZmE5ZmUwNjg3/download?expiry=1739819504&owner=jhorovitz&signature=WtyjDZphty8Sv0skL5uCHFLrvlw65zV%252FSC70bjWk294%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NzBlOWFmNzUtYzE0YS00ZDE1LWFiOGMtZmRhZmE5ZmUwNjg3/download?expiry=1739819504&owner=jhorovitz&signature=WtyjDZphty8Sv0skL5uCHFLrvlw65zV%252FSC70bjWk294%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NzBlOWFmNzUtYzE0YS00ZDE1LWFiOGMtZmRhZmE5ZmUwNjg3/download?expiry=1739819504&owner=jhorovitz&signature=WtyjDZphty8Sv0skL5uCHFLrvlw65zV%252FSC70bjWk294%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:13:42.019302Z", "created_at": "2025-02-17T18:11:44.507000Z", "data_removed": false, "error": null, "id": "56mw7k74zdrj40cn2mdrqa8r64", "input": { "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NzBlOWFmNzUtYzE0YS00ZDE1LWFiOGMtZmRhZmE5ZmUwNjg3/download?expiry=1739819504&owner=jhorovitz&signature=WtyjDZphty8Sv0skL5uCHFLrvlw65zV%252FSC70bjWk294%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 1603\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.53it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.65it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.59it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.57it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.55it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.54it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.55it/s]", "metrics": { "predict_time": 5.974407189, "total_time": 117.512302 }, "output": [ "https://replicate.delivery/yhqm/9lP5QMfvtvz1dCAhOFY9eyFdoDhf9wpQIj9MfkpYUEzZlLBRB/out-0.webp" ], "started_at": "2025-02-17T18:13:36.044895Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-ozigg42bbw3m6yvlong3cpsqriu2xl64dhhqrnnuvj3mlbjsfzjq", "get": "https://api.replicate.com/v1/predictions/56mw7k74zdrj40cn2mdrqa8r64", "cancel": "https://api.replicate.com/v1/predictions/56mw7k74zdrj40cn2mdrqa8r64/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 1603 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.53it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.65it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.59it/s] 50%|█████ | 4/8 [00:02<00:02, 1.57it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.55it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.54it/s] 100%|██████████| 8/8 [00:05<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.55it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDp80hy3r4f9rj20cn2me8wzgq40StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.
- num_outputs
- 1
- control_image
- download?expiry=1739819512&owner=jhorovitz&signature=7LyOlMeuDYsJQYzlVIBurhauNIUH5431fQ9TPeBIjkQ%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NGNmNGZlODYtNTg3MC00ODRlLWE1OTMtMGQ4ODBlNGViM2E4/download?expiry=1739819512&owner=jhorovitz&signature=7LyOlMeuDYsJQYzlVIBurhauNIUH5431fQ9TPeBIjkQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/NGNmNGZlODYtNTg3MC00ODRlLWE1OTMtMGQ4ODBlNGViM2E4/download?expiry=1739819512&owner=jhorovitz&signature=7LyOlMeuDYsJQYzlVIBurhauNIUH5431fQ9TPeBIjkQ%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NGNmNGZlODYtNTg3MC00ODRlLWE1OTMtMGQ4ODBlNGViM2E4/download?expiry=1739819512&owner=jhorovitz&signature=7LyOlMeuDYsJQYzlVIBurhauNIUH5431fQ9TPeBIjkQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NGNmNGZlODYtNTg3MC00ODRlLWE1OTMtMGQ4ODBlNGViM2E4/download?expiry=1739819512&owner=jhorovitz&signature=7LyOlMeuDYsJQYzlVIBurhauNIUH5431fQ9TPeBIjkQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:13:35.866049Z", "created_at": "2025-02-17T18:11:52.570000Z", "data_removed": false, "error": null, "id": "p80hy3r4f9rj20cn2me8wzgq40", "input": { "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NGNmNGZlODYtNTg3MC00ODRlLWE1OTMtMGQ4ODBlNGViM2E4/download?expiry=1739819512&owner=jhorovitz&signature=7LyOlMeuDYsJQYzlVIBurhauNIUH5431fQ9TPeBIjkQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 38750\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.41it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.60it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.55it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.55it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.54it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]", "metrics": { "predict_time": 6.485601836, "total_time": 103.296049 }, "output": [ "https://replicate.delivery/yhqm/vefoSZ9EPWr90UNtfQ6SGSrnxffYijO89I79Y5fJn5O0TuEEF/out-0.webp" ], "started_at": "2025-02-17T18:13:29.380448Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-jtzyi5sxyg4yywhiqhcrp57isght2vh4dpnmg6arvtiubw5f6lqq", "get": "https://api.replicate.com/v1/predictions/p80hy3r4f9rj20cn2me8wzgq40", "cancel": "https://api.replicate.com/v1/predictions/p80hy3r4f9rj20cn2me8wzgq40/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 38750 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.41it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.60it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s] 50%|█████ | 4/8 [00:02<00:02, 1.55it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.55it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.54it/s] 100%|██████████| 8/8 [00:05<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDt91b4zzt3hrj60cn2mdv001eh8StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.
- num_outputs
- 1
- control_image
- download?expiry=1739819509&owner=jhorovitz&signature=gllkgIbJ1wzNNX68Ai%252FA1u%252FXY0Q6gd%252FlmR1kFUNxy2Q%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/MzUyYzkyN2QtYTU5OS00NzViLTg5OWQtY2ZhZjFjYWNhM2Uy/download?expiry=1739819509&owner=jhorovitz&signature=gllkgIbJ1wzNNX68Ai%252FA1u%252FXY0Q6gd%252FlmR1kFUNxy2Q%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/MzUyYzkyN2QtYTU5OS00NzViLTg5OWQtY2ZhZjFjYWNhM2Uy/download?expiry=1739819509&owner=jhorovitz&signature=gllkgIbJ1wzNNX68Ai%252FA1u%252FXY0Q6gd%252FlmR1kFUNxy2Q%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/MzUyYzkyN2QtYTU5OS00NzViLTg5OWQtY2ZhZjFjYWNhM2Uy/download?expiry=1739819509&owner=jhorovitz&signature=gllkgIbJ1wzNNX68Ai%252FA1u%252FXY0Q6gd%252FlmR1kFUNxy2Q%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/MzUyYzkyN2QtYTU5OS00NzViLTg5OWQtY2ZhZjFjYWNhM2Uy/download?expiry=1739819509&owner=jhorovitz&signature=gllkgIbJ1wzNNX68Ai%252FA1u%252FXY0Q6gd%252FlmR1kFUNxy2Q%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:13:39.081522Z", "created_at": "2025-02-17T18:11:49.916000Z", "data_removed": false, "error": null, "id": "t91b4zzt3hrj60cn2mdv001eh8", "input": { "task": "subject_1024", "prompt": "The image shows two plates, both from the same angle, against a white background. The first is a china plate with an intricate design depicting a woman walking through a field of spring flowers. The second is the same woman and in the same style, but this time walking through a forest filled with evergreen trees.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/MzUyYzkyN2QtYTU5OS00NzViLTg5OWQtY2ZhZjFjYWNhM2Uy/download?expiry=1739819509&owner=jhorovitz&signature=gllkgIbJ1wzNNX68Ai%252FA1u%252FXY0Q6gd%252FlmR1kFUNxy2Q%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 37825\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.54it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.67it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.61it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.58it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.57it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.56it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.57it/s]", "metrics": { "predict_time": 5.868208903, "total_time": 109.165522 }, "output": [ "https://replicate.delivery/yhqm/B0fcOW65KV34ba3xsU8gb8bvp7lfIGYe5ALrwJQNbHMnylgoA/out-0.webp" ], "started_at": "2025-02-17T18:13:33.213313Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-fj6vhkh5vzebxsy7haqirprc7enl43utsc7vtq6b3b3kihasjama", "get": "https://api.replicate.com/v1/predictions/t91b4zzt3hrj60cn2mdv001eh8", "cancel": "https://api.replicate.com/v1/predictions/t91b4zzt3hrj60cn2mdv001eh8/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 37825 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.54it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.67it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.61it/s] 50%|█████ | 4/8 [00:02<00:02, 1.58it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.57it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.56it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.57it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDz9n91b21pnrj20cn2m4ahemhgmStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @jhorovitzInput
- seed
- 4
- task
- subject_1024
- prompt
- A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.
- num_outputs
- 1
- control_image
- download?expiry=1739818217&owner=jhorovitz&signature=THP46fL%252BW2g%252FkAT0kTZ2%252F3hlMDYndXa7GpycmTRxMlE%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "seed": 4, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/OWQyNGY3NjEtZGI3MS00Mjg4LWE5ZDQtNTRkYzFmYmJiZTY1/download?expiry=1739818217&owner=jhorovitz&signature=THP46fL%252BW2g%252FkAT0kTZ2%252F3hlMDYndXa7GpycmTRxMlE%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { seed: 4, task: "subject_1024", prompt: "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/OWQyNGY3NjEtZGI3MS00Mjg4LWE5ZDQtNTRkYzFmYmJiZTY1/download?expiry=1739818217&owner=jhorovitz&signature=THP46fL%252BW2g%252FkAT0kTZ2%252F3hlMDYndXa7GpycmTRxMlE%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "seed": 4, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/OWQyNGY3NjEtZGI3MS00Mjg4LWE5ZDQtNTRkYzFmYmJiZTY1/download?expiry=1739818217&owner=jhorovitz&signature=THP46fL%252BW2g%252FkAT0kTZ2%252F3hlMDYndXa7GpycmTRxMlE%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "seed": 4, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/OWQyNGY3NjEtZGI3MS00Mjg4LWE5ZDQtNTRkYzFmYmJiZTY1/download?expiry=1739818217&owner=jhorovitz&signature=THP46fL%252BW2g%252FkAT0kTZ2%252F3hlMDYndXa7GpycmTRxMlE%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T17:52:11.503882Z", "created_at": "2025-02-17T17:50:17.525000Z", "data_removed": false, "error": null, "id": "z9n91b21pnrj20cn2m4ahemhgm", "input": { "seed": 4, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/OWQyNGY3NjEtZGI3MS00Mjg4LWE5ZDQtNTRkYzFmYmJiZTY1/download?expiry=1739818217&owner=jhorovitz&signature=THP46fL%252BW2g%252FkAT0kTZ2%252F3hlMDYndXa7GpycmTRxMlE%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 4\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.52it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.56it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]", "metrics": { "predict_time": 6.100871756, "total_time": 113.978882 }, "output": [ "https://replicate.delivery/yhqm/cstb1xM6ls6pK9FFeArIEcYkJY50FilYITqpSz03yWxlSJIKA/out-0.webp" ], "started_at": "2025-02-17T17:52:05.403010Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-bpukrxiaoddymkcd4oayexuilj3tyt3aatl4hu2g5fr322zfqxmq", "get": "https://api.replicate.com/v1/predictions/z9n91b21pnrj20cn2m4ahemhgm", "cancel": "https://api.replicate.com/v1/predictions/z9n91b21pnrj20cn2m4ahemhgm/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 4 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.52it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s] 50%|█████ | 4/8 [00:02<00:02, 1.56it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDyqr3eyhyp9rj60cn2m4af8fycrStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @jhorovitzInput
- seed
- 3
- task
- subject_1024
- prompt
- A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.
- num_outputs
- 1
- control_image
- download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "seed": 3, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/M2EwOGE3NTItMGZmYy00ODM3LTkzNWUtZDY2MWU2NGUxYmM1/download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { seed: 3, task: "subject_1024", prompt: "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/M2EwOGE3NTItMGZmYy00ODM3LTkzNWUtZDY2MWU2NGUxYmM1/download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "seed": 3, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/M2EwOGE3NTItMGZmYy00ODM3LTkzNWUtZDY2MWU2NGUxYmM1/download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "seed": 3, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/M2EwOGE3NTItMGZmYy00ODM3LTkzNWUtZDY2MWU2NGUxYmM1/download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T17:51:44.421031Z", "created_at": "2025-02-17T17:50:16.754000Z", "data_removed": false, "error": null, "id": "yqr3eyhyp9rj60cn2m4af8fycr", "input": { "seed": 3, "task": "subject_1024", "prompt": "A man wearing this shoe hiking up snowy mountain. Photorealistic glamour shot.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/M2EwOGE3NTItMGZmYy00ODM3LTkzNWUtZDY2MWU2NGUxYmM1/download?expiry=1739818216&owner=jhorovitz&signature=KGlIhQmFvK%252FUsfinKBxdPWTyWGigtW56w8yJ1foCM4o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 3\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.41it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.60it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.55it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.55it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.54it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]", "metrics": { "predict_time": 8.370057768, "total_time": 87.667031 }, "output": [ "https://replicate.delivery/yhqm/hzdpcKcMHY5hO1zlQk3rDwskElZMBPrIWgOEujK1XUtLpEEF/out-0.webp" ], "started_at": "2025-02-17T17:51:36.050974Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-rrrnivjnaaxbaz753uvd5ky4j2yqos5fktkxcoex3f2kzazlrp4a", "get": "https://api.replicate.com/v1/predictions/yqr3eyhyp9rj60cn2m4af8fycr", "cancel": "https://api.replicate.com/v1/predictions/yqr3eyhyp9rj60cn2m4af8fycr/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 3 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.41it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.60it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s] 50%|█████ | 4/8 [00:02<00:02, 1.55it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.55it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.54it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDp2acz27qs9rj40cn2mj8fx0apcStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- This character and a friend who is a similarly styled raccoon sit in an inflatable tub on the front lawn of a suburban home.
- num_outputs
- 1
- control_image
- download?expiry=1739820099&owner=jhorovitz&signature=LpZ8XwsDBK4Me1HwbS1HZ%252BcLB9Qn3OBHzLKXBqkhjso%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "This character and a friend who is a similarly styled raccoon sit in an inflatable tub on the front lawn of a suburban home.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZTI4ZjYyZGYtNjg1MC00N2JkLThiNzEtYjY3YWFlODZkZGQz/download?expiry=1739820099&owner=jhorovitz&signature=LpZ8XwsDBK4Me1HwbS1HZ%252BcLB9Qn3OBHzLKXBqkhjso%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "This character and a friend who is a similarly styled raccoon sit in an inflatable tub on the front lawn of a suburban home.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/ZTI4ZjYyZGYtNjg1MC00N2JkLThiNzEtYjY3YWFlODZkZGQz/download?expiry=1739820099&owner=jhorovitz&signature=LpZ8XwsDBK4Me1HwbS1HZ%252BcLB9Qn3OBHzLKXBqkhjso%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "This character and a friend who is a similarly styled raccoon sit in an inflatable tub on the front lawn of a suburban home.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZTI4ZjYyZGYtNjg1MC00N2JkLThiNzEtYjY3YWFlODZkZGQz/download?expiry=1739820099&owner=jhorovitz&signature=LpZ8XwsDBK4Me1HwbS1HZ%252BcLB9Qn3OBHzLKXBqkhjso%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "This character and a friend who is a similarly styled raccoon sit in an inflatable tub on the front lawn of a suburban home.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZTI4ZjYyZGYtNjg1MC00N2JkLThiNzEtYjY3YWFlODZkZGQz/download?expiry=1739820099&owner=jhorovitz&signature=LpZ8XwsDBK4Me1HwbS1HZ%252BcLB9Qn3OBHzLKXBqkhjso%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:23:32.826186Z", "created_at": "2025-02-17T18:21:39.146000Z", "data_removed": false, "error": null, "id": "p2acz27qs9rj40cn2mj8fx0apc", "input": { "task": "subject_1024", "prompt": "This character and a friend who is a similarly styled raccoon sit in an inflatable tub on the front lawn of a suburban home.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/ZTI4ZjYyZGYtNjg1MC00N2JkLThiNzEtYjY3YWFlODZkZGQz/download?expiry=1739820099&owner=jhorovitz&signature=LpZ8XwsDBK4Me1HwbS1HZ%252BcLB9Qn3OBHzLKXBqkhjso%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 8819\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.63it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.55it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.53it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.52it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.53it/s]", "metrics": { "predict_time": 6.106841458, "total_time": 113.680186 }, "output": [ "https://replicate.delivery/yhqm/jI9lwOxzleT1Dqjf0Oa0I4VFXY03eAxEbxhP4xVMwqlIFmgoA/out-0.webp" ], "started_at": "2025-02-17T18:23:26.719345Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-bmzzqxoerp3xen5qotevu5hofxmniuuz2ne5hyxfptanhngkhm7q", "get": "https://api.replicate.com/v1/predictions/p2acz27qs9rj40cn2mj8fx0apc", "cancel": "https://api.replicate.com/v1/predictions/p2acz27qs9rj40cn2mj8fx0apc/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 8819 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.63it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.57it/s] 50%|█████ | 4/8 [00:02<00:02, 1.55it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.53it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.52it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.53it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDhptjhq43t1rj00cn2mf95anyerStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- A grid of four images of this shoe. In each image the shoe is in the same position, but the background is different. One on snow climbing a mountain. One in a lush jungle. One in the desert standing on a sand dune. And one walking on a cobblestone street.
- num_outputs
- 1
- control_image
- download?expiry=1739819676&owner=jhorovitz&signature=piMNQQ5l9ZzxgPFs4Y%252Bmb54Iud07pa5eRcsi4NH2XlQ%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "A grid of four images of this shoe. In each image the shoe is in the same position, but the background is different. One on snow climbing a mountain. One in a lush jungle. One in the desert standing on a sand dune. And one walking on a cobblestone street.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NjM1N2E2MDgtMzAxYS00NjY0LWJiMzItN2E2MDAwYTlmYTdh/download?expiry=1739819676&owner=jhorovitz&signature=piMNQQ5l9ZzxgPFs4Y%252Bmb54Iud07pa5eRcsi4NH2XlQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "A grid of four images of this shoe. In each image the shoe is in the same position, but the background is different. One on snow climbing a mountain. One in a lush jungle. One in the desert standing on a sand dune. And one walking on a cobblestone street.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/NjM1N2E2MDgtMzAxYS00NjY0LWJiMzItN2E2MDAwYTlmYTdh/download?expiry=1739819676&owner=jhorovitz&signature=piMNQQ5l9ZzxgPFs4Y%252Bmb54Iud07pa5eRcsi4NH2XlQ%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "A grid of four images of this shoe. In each image the shoe is in the same position, but the background is different. One on snow climbing a mountain. One in a lush jungle. One in the desert standing on a sand dune. And one walking on a cobblestone street.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NjM1N2E2MDgtMzAxYS00NjY0LWJiMzItN2E2MDAwYTlmYTdh/download?expiry=1739819676&owner=jhorovitz&signature=piMNQQ5l9ZzxgPFs4Y%252Bmb54Iud07pa5eRcsi4NH2XlQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "A grid of four images of this shoe. In each image the shoe is in the same position, but the background is different. One on snow climbing a mountain. One in a lush jungle. One in the desert standing on a sand dune. And one walking on a cobblestone street.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NjM1N2E2MDgtMzAxYS00NjY0LWJiMzItN2E2MDAwYTlmYTdh/download?expiry=1739819676&owner=jhorovitz&signature=piMNQQ5l9ZzxgPFs4Y%252Bmb54Iud07pa5eRcsi4NH2XlQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:14:42.231232Z", "created_at": "2025-02-17T18:14:36.240000Z", "data_removed": false, "error": null, "id": "hptjhq43t1rj00cn2mf95anyer", "input": { "task": "subject_1024", "prompt": "A grid of four images of this shoe. In each image the shoe is in the same position, but the background is different. One on snow climbing a mountain. One in a lush jungle. One in the desert standing on a sand dune. And one walking on a cobblestone street.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NjM1N2E2MDgtMzAxYS00NjY0LWJiMzItN2E2MDAwYTlmYTdh/download?expiry=1739819676&owner=jhorovitz&signature=piMNQQ5l9ZzxgPFs4Y%252Bmb54Iud07pa5eRcsi4NH2XlQ%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 36602\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.55it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.68it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.61it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.58it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.57it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.56it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.56it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.57it/s]", "metrics": { "predict_time": 5.983030502, "total_time": 5.991232 }, "output": [ "https://replicate.delivery/yhqm/ODH7LrCZgt41OJxeYuy0jEoIxebuixWlGYBJF9wZvGvS6SQUA/out-0.webp" ], "started_at": "2025-02-17T18:14:36.248201Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-xr6jtupprbcxzcma6detolkj4mxkc75yyhsjfzyqkek4z2r7iqdq", "get": "https://api.replicate.com/v1/predictions/hptjhq43t1rj00cn2mf95anyer", "cancel": "https://api.replicate.com/v1/predictions/hptjhq43t1rj00cn2mf95anyer/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 36602 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.55it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.68it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.61it/s] 50%|█████ | 4/8 [00:02<00:02, 1.58it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.57it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.56it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.56it/s] 100%|██████████| 8/8 [00:05<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.57it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDb2abebh1qdrj20cn2mqt77tctwStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- This woman in a loose flowy watercolor style
- num_outputs
- 1
- control_image
- download?expiry=1739820765&owner=jhorovitz&signature=85Tg9bsL3QKti%252Buiv7FaJQZjSw3PfT5MOXX90S88BEg%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "This woman in a loose flowy watercolor style", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/MThlZTBhMDAtNGQ3Mi00ZjkxLWJiNTMtMTY3MWI0NGNkNTY0/download?expiry=1739820765&owner=jhorovitz&signature=85Tg9bsL3QKti%252Buiv7FaJQZjSw3PfT5MOXX90S88BEg%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "This woman in a loose flowy watercolor style", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/MThlZTBhMDAtNGQ3Mi00ZjkxLWJiNTMtMTY3MWI0NGNkNTY0/download?expiry=1739820765&owner=jhorovitz&signature=85Tg9bsL3QKti%252Buiv7FaJQZjSw3PfT5MOXX90S88BEg%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "This woman in a loose flowy watercolor style", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/MThlZTBhMDAtNGQ3Mi00ZjkxLWJiNTMtMTY3MWI0NGNkNTY0/download?expiry=1739820765&owner=jhorovitz&signature=85Tg9bsL3QKti%252Buiv7FaJQZjSw3PfT5MOXX90S88BEg%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "This woman in a loose flowy watercolor style", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/MThlZTBhMDAtNGQ3Mi00ZjkxLWJiNTMtMTY3MWI0NGNkNTY0/download?expiry=1739820765&owner=jhorovitz&signature=85Tg9bsL3QKti%252Buiv7FaJQZjSw3PfT5MOXX90S88BEg%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:33:03.179275Z", "created_at": "2025-02-17T18:32:45.243000Z", "data_removed": false, "error": null, "id": "b2abebh1qdrj20cn2mqt77tctw", "input": { "task": "subject_1024", "prompt": "This woman in a loose flowy watercolor style", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/MThlZTBhMDAtNGQ3Mi00ZjkxLWJiNTMtMTY3MWI0NGNkNTY0/download?expiry=1739820765&owner=jhorovitz&signature=85Tg9bsL3QKti%252Buiv7FaJQZjSw3PfT5MOXX90S88BEg%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 3648\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.54it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.67it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.61it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.58it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.55it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.56it/s]", "metrics": { "predict_time": 6.445166313, "total_time": 17.936275 }, "output": [ "https://replicate.delivery/yhqm/isyB8P0lR4ZCIdnslPa3TvKEeNzQ3N7FHPo9f693nuhfWmgoA/out-0.webp" ], "started_at": "2025-02-17T18:32:56.734109Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-5dm7blxbdons3vsx4y7lmy7gkphyh5xpksugf4ivuolqenrdcimq", "get": "https://api.replicate.com/v1/predictions/b2abebh1qdrj20cn2mqt77tctw", "cancel": "https://api.replicate.com/v1/predictions/b2abebh1qdrj20cn2mqt77tctw/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 3648 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.54it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.67it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.61it/s] 50%|█████ | 4/8 [00:02<00:02, 1.58it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.55it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s] 100%|██████████| 8/8 [00:05<00:00, 1.56it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDmv15rsk13drj60cn2mp8yecn1gStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- This woman in pixar animated style
- num_outputs
- 1
- control_image
- download?expiry=1739820584&owner=jhorovitz&signature=ArjTAg%252FDjK2jM7IPO7jVSR0FhiorGPoxx2oJCFziJ1o%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "This woman in pixar animated style", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/OTEzMWU2ZTgtODc2OC00NzdkLTk0M2YtNGZhMWE3ZWFmNzNh/download?expiry=1739820584&owner=jhorovitz&signature=ArjTAg%252FDjK2jM7IPO7jVSR0FhiorGPoxx2oJCFziJ1o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "This woman in pixar animated style", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/OTEzMWU2ZTgtODc2OC00NzdkLTk0M2YtNGZhMWE3ZWFmNzNh/download?expiry=1739820584&owner=jhorovitz&signature=ArjTAg%252FDjK2jM7IPO7jVSR0FhiorGPoxx2oJCFziJ1o%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "This woman in pixar animated style", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/OTEzMWU2ZTgtODc2OC00NzdkLTk0M2YtNGZhMWE3ZWFmNzNh/download?expiry=1739820584&owner=jhorovitz&signature=ArjTAg%252FDjK2jM7IPO7jVSR0FhiorGPoxx2oJCFziJ1o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "This woman in pixar animated style", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/OTEzMWU2ZTgtODc2OC00NzdkLTk0M2YtNGZhMWE3ZWFmNzNh/download?expiry=1739820584&owner=jhorovitz&signature=ArjTAg%252FDjK2jM7IPO7jVSR0FhiorGPoxx2oJCFziJ1o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:30:00.772268Z", "created_at": "2025-02-17T18:29:44.859000Z", "data_removed": false, "error": null, "id": "mv15rsk13drj60cn2mp8yecn1g", "input": { "task": "subject_1024", "prompt": "This woman in pixar animated style", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/OTEzMWU2ZTgtODc2OC00NzdkLTk0M2YtNGZhMWE3ZWFmNzNh/download?expiry=1739820584&owner=jhorovitz&signature=ArjTAg%252FDjK2jM7IPO7jVSR0FhiorGPoxx2oJCFziJ1o%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 52460\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.54it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.67it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.61it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.58it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.56it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.56it/s]", "metrics": { "predict_time": 5.841022639, "total_time": 15.913268 }, "output": [ "https://replicate.delivery/yhqm/XUf4gAiIvoxjFiFlJsSmejCnCtNJlYOsaEafPC6ez1BgiMBRB/out-0.webp" ], "started_at": "2025-02-17T18:29:54.931245Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-hgpo2mwpm5zbe32b2t7a7nacps72susomqms7osrztirbj5cy6cq", "get": "https://api.replicate.com/v1/predictions/mv15rsk13drj60cn2mp8yecn1g", "cancel": "https://api.replicate.com/v1/predictions/mv15rsk13drj60cn2mp8yecn1g/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 52460 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.54it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.67it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.61it/s] 50%|█████ | 4/8 [00:02<00:02, 1.58it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.56it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.56it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDq37wk8prhhrj40cn2mnayd0s6mStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- This woman standing in line at the supermarket.
- num_outputs
- 1
- control_image
- download?expiry=1739820484&owner=jhorovitz&signature=%252BtEeywkEaVo51XyK7mlNRMyn%252FyBeQXseLRyAH5LQq7g%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "This woman standing in line at the supermarket.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NTg4OGZjOTktMmM4My00YjdmLTk5ZWItZGJkNjI4OWRmNTgw/download?expiry=1739820484&owner=jhorovitz&signature=%252BtEeywkEaVo51XyK7mlNRMyn%252FyBeQXseLRyAH5LQq7g%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "This woman standing in line at the supermarket.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/NTg4OGZjOTktMmM4My00YjdmLTk5ZWItZGJkNjI4OWRmNTgw/download?expiry=1739820484&owner=jhorovitz&signature=%252BtEeywkEaVo51XyK7mlNRMyn%252FyBeQXseLRyAH5LQq7g%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "This woman standing in line at the supermarket.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NTg4OGZjOTktMmM4My00YjdmLTk5ZWItZGJkNjI4OWRmNTgw/download?expiry=1739820484&owner=jhorovitz&signature=%252BtEeywkEaVo51XyK7mlNRMyn%252FyBeQXseLRyAH5LQq7g%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "This woman standing in line at the supermarket.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NTg4OGZjOTktMmM4My00YjdmLTk5ZWItZGJkNjI4OWRmNTgw/download?expiry=1739820484&owner=jhorovitz&signature=%252BtEeywkEaVo51XyK7mlNRMyn%252FyBeQXseLRyAH5LQq7g%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:29:42.112642Z", "created_at": "2025-02-17T18:28:04.364000Z", "data_removed": false, "error": null, "id": "q37wk8prhhrj40cn2mnayd0s6m", "input": { "task": "subject_1024", "prompt": "This woman standing in line at the supermarket.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NTg4OGZjOTktMmM4My00YjdmLTk5ZWItZGJkNjI4OWRmNTgw/download?expiry=1739820484&owner=jhorovitz&signature=%252BtEeywkEaVo51XyK7mlNRMyn%252FyBeQXseLRyAH5LQq7g%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 34626\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.53it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.66it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.60it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.58it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.55it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.56it/s]", "metrics": { "predict_time": 5.848314293, "total_time": 97.748642 }, "output": [ "https://replicate.delivery/yhqm/YTTypTmTQgq6JVu2BDmrTa9bB76U17AmMQ6fCj7ax2CLkJIKA/out-0.webp" ], "started_at": "2025-02-17T18:29:36.264327Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-uplcjmhtj2elalxoiuuubnpvzqtsqawrie6j6ztdlvw4spqgpnna", "get": "https://api.replicate.com/v1/predictions/q37wk8prhhrj40cn2mnayd0s6m", "cancel": "https://api.replicate.com/v1/predictions/q37wk8prhhrj40cn2mnayd0s6m/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 34626 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.53it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.66it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.60it/s] 50%|█████ | 4/8 [00:02<00:02, 1.58it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.55it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s] 100%|██████████| 8/8 [00:05<00:00, 1.56it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDn7zq1zv5q1rj60cn2mn86xdjarStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- This woman in anime style.
- num_outputs
- 1
- control_image
- download?expiry=1739820454&owner=jhorovitz&signature=rTloUV2MWdd2Ep0%252Fj6E%252B5GPMWmsEe8G54u73XGdxpAk%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "This woman in anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NWUzNWE0ZmYtNGZlZS00YTVmLWJhYzktMDkyNmM1ZjU0Mzc1/download?expiry=1739820454&owner=jhorovitz&signature=rTloUV2MWdd2Ep0%252Fj6E%252B5GPMWmsEe8G54u73XGdxpAk%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "This woman in anime style.", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/NWUzNWE0ZmYtNGZlZS00YTVmLWJhYzktMDkyNmM1ZjU0Mzc1/download?expiry=1739820454&owner=jhorovitz&signature=rTloUV2MWdd2Ep0%252Fj6E%252B5GPMWmsEe8G54u73XGdxpAk%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "This woman in anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NWUzNWE0ZmYtNGZlZS00YTVmLWJhYzktMDkyNmM1ZjU0Mzc1/download?expiry=1739820454&owner=jhorovitz&signature=rTloUV2MWdd2Ep0%252Fj6E%252B5GPMWmsEe8G54u73XGdxpAk%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "This woman in anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NWUzNWE0ZmYtNGZlZS00YTVmLWJhYzktMDkyNmM1ZjU0Mzc1/download?expiry=1739820454&owner=jhorovitz&signature=rTloUV2MWdd2Ep0%252Fj6E%252B5GPMWmsEe8G54u73XGdxpAk%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:29:34.142764Z", "created_at": "2025-02-17T18:27:34.968000Z", "data_removed": false, "error": null, "id": "n7zq1zv5q1rj60cn2mn86xdjar", "input": { "task": "subject_1024", "prompt": "This woman in anime style.", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/NWUzNWE0ZmYtNGZlZS00YTVmLWJhYzktMDkyNmM1ZjU0Mzc1/download?expiry=1739820454&owner=jhorovitz&signature=rTloUV2MWdd2Ep0%252Fj6E%252B5GPMWmsEe8G54u73XGdxpAk%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 61605\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.41it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.61it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.57it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.56it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.56it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.56it/s]", "metrics": { "predict_time": 6.464721677, "total_time": 119.174764 }, "output": [ "https://replicate.delivery/yhqm/2nVZ1PFsyxYeBqRlfqZ486KmYZW8BYYWOwoQ6jfCNXycQmgoA/out-0.webp" ], "started_at": "2025-02-17T18:29:27.678042Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-soxmprw3jjcsc4l5c25lnpqwata26e3pnhwebluxxdev44javgsq", "get": "https://api.replicate.com/v1/predictions/n7zq1zv5q1rj60cn2mn86xdjar", "cancel": "https://api.replicate.com/v1/predictions/n7zq1zv5q1rj60cn2mn86xdjar/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 61605 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.41it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.61it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s] 50%|█████ | 4/8 [00:02<00:02, 1.57it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.56it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.56it/s] 100%|██████████| 8/8 [00:05<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.56it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbID1ff21tmd25rj20cn2mrb7tzrf8StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- This woman but with blue hair
- num_outputs
- 1
- control_image
- download?expiry=1739820858&owner=jhorovitz&signature=IKPe18MyXu58vRvDQL6XRmYWZmUu0UF70P2jTfWi8Oo%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "This woman but with blue hair", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YzZkZGMwNjctYzAzNy00YTUwLWE5NjEtOTczNmFjZDlhZWIz/download?expiry=1739820858&owner=jhorovitz&signature=IKPe18MyXu58vRvDQL6XRmYWZmUu0UF70P2jTfWi8Oo%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "This woman but with blue hair", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/YzZkZGMwNjctYzAzNy00YTUwLWE5NjEtOTczNmFjZDlhZWIz/download?expiry=1739820858&owner=jhorovitz&signature=IKPe18MyXu58vRvDQL6XRmYWZmUu0UF70P2jTfWi8Oo%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "This woman but with blue hair", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YzZkZGMwNjctYzAzNy00YTUwLWE5NjEtOTczNmFjZDlhZWIz/download?expiry=1739820858&owner=jhorovitz&signature=IKPe18MyXu58vRvDQL6XRmYWZmUu0UF70P2jTfWi8Oo%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "This woman but with blue hair", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YzZkZGMwNjctYzAzNy00YTUwLWE5NjEtOTczNmFjZDlhZWIz/download?expiry=1739820858&owner=jhorovitz&signature=IKPe18MyXu58vRvDQL6XRmYWZmUu0UF70P2jTfWi8Oo%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:34:24.287385Z", "created_at": "2025-02-17T18:34:18.257000Z", "data_removed": false, "error": null, "id": "1ff21tmd25rj20cn2mrb7tzrf8", "input": { "task": "subject_1024", "prompt": "This woman but with blue hair", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/YzZkZGMwNjctYzAzNy00YTUwLWE5NjEtOTczNmFjZDlhZWIz/download?expiry=1739820858&owner=jhorovitz&signature=IKPe18MyXu58vRvDQL6XRmYWZmUu0UF70P2jTfWi8Oo%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 37347\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.54it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.66it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.60it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.58it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.56it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.55it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.56it/s]", "metrics": { "predict_time": 5.86599989, "total_time": 6.030385 }, "output": [ "https://replicate.delivery/yhqm/a4XRj9zeGMWrJi94uA3KnUt0cNLKQnwzRlWBWp3s5aHYmJIKA/out-0.webp" ], "started_at": "2025-02-17T18:34:18.421385Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-igaahrft74bfdee64mgaq66c4grqyakp53e2leqmqqaizdwnk7va", "get": "https://api.replicate.com/v1/predictions/1ff21tmd25rj20cn2mrb7tzrf8", "cancel": "https://api.replicate.com/v1/predictions/1ff21tmd25rj20cn2mrb7tzrf8/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 37347 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.54it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.66it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.60it/s] 50%|█████ | 4/8 [00:02<00:02, 1.58it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.56it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.55it/s] 100%|██████████| 8/8 [00:05<00:00, 1.56it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbID8m9q755q2nrj00cn2mr86scf28StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- task
- subject_1024
- prompt
- This woman but with red hair
- num_outputs
- 1
- control_image
- download?expiry=1739820869&owner=jhorovitz&signature=bjO4UfErbw%252FfiJvd3il%252Fxqv%252BQDn6pa2UcEyiiAk1WW4%253D
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "This woman but with red hair", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/N2M5NDkwMjgtYThlNS00ZGVhLTgzNjctZmFjOGVmMWEyMzEx/download?expiry=1739820869&owner=jhorovitz&signature=bjO4UfErbw%252FfiJvd3il%252Fxqv%252BQDn6pa2UcEyiiAk1WW4%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "This woman but with red hair", num_outputs: 1, control_image: "https://api.replicate.com/v1/files/N2M5NDkwMjgtYThlNS00ZGVhLTgzNjctZmFjOGVmMWEyMzEx/download?expiry=1739820869&owner=jhorovitz&signature=bjO4UfErbw%252FfiJvd3il%252Fxqv%252BQDn6pa2UcEyiiAk1WW4%253D", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "This woman but with red hair", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/N2M5NDkwMjgtYThlNS00ZGVhLTgzNjctZmFjOGVmMWEyMzEx/download?expiry=1739820869&owner=jhorovitz&signature=bjO4UfErbw%252FfiJvd3il%252Fxqv%252BQDn6pa2UcEyiiAk1WW4%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "This woman but with red hair", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/N2M5NDkwMjgtYThlNS00ZGVhLTgzNjctZmFjOGVmMWEyMzEx/download?expiry=1739820869&owner=jhorovitz&signature=bjO4UfErbw%252FfiJvd3il%252Fxqv%252BQDn6pa2UcEyiiAk1WW4%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T18:35:30.616887Z", "created_at": "2025-02-17T18:34:29.013000Z", "data_removed": false, "error": null, "id": "8m9q755q2nrj00cn2mr86scf28", "input": { "task": "subject_1024", "prompt": "This woman but with red hair", "num_outputs": 1, "control_image": "https://api.replicate.com/v1/files/N2M5NDkwMjgtYThlNS00ZGVhLTgzNjctZmFjOGVmMWEyMzEx/download?expiry=1739820869&owner=jhorovitz&signature=bjO4UfErbw%252FfiJvd3il%252Fxqv%252BQDn6pa2UcEyiiAk1WW4%253D", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 31833\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.53it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.66it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.60it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.57it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.55it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.54it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.56it/s]", "metrics": { "predict_time": 5.86935412, "total_time": 61.603887 }, "output": [ "https://replicate.delivery/yhqm/nk1XxYMP8IaeUCRWsvXmRPeDbzvJREh4qhSGkKFibQ3yNTQUA/out-0.webp" ], "started_at": "2025-02-17T18:35:24.747533Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-efzmct3wrtqjffaqjh6v4uyfcjti23extw3uzdm253pb4tdcmznq", "get": "https://api.replicate.com/v1/predictions/8m9q755q2nrj00cn2mr86scf28", "cancel": "https://api.replicate.com/v1/predictions/8m9q755q2nrj00cn2mr86scf28/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 31833 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.53it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.66it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.60it/s] 50%|█████ | 4/8 [00:02<00:02, 1.57it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.56it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.55it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.54it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s] 100%|██████████| 8/8 [00:05<00:00, 1.56it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDxj9jcbjm3nrj60cn2qptesdd3mStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @fofrInput
- task
- subject_1024
- prompt
- A diecast toy car of this, it is photographed in a toy box with the word "Waymo", the box is on a shop shelf selling for $5.99
- num_outputs
- 4
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "A diecast toy car of this, it is photographed in a toy box with the word \"Waymo\", the box is on a shop shelf selling for $5.99", "num_outputs": 4, "control_image": "https://replicate.delivery/xezq/Za0hrhIO1PboAlVUVyfnqfkOX4y0gh6olDHcngJC9ifNIsgoA/tmpt_61zuhm.jpg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "A diecast toy car of this, it is photographed in a toy box with the word \"Waymo\", the box is on a shop shelf selling for $5.99", num_outputs: 4, control_image: "https://replicate.delivery/xezq/Za0hrhIO1PboAlVUVyfnqfkOX4y0gh6olDHcngJC9ifNIsgoA/tmpt_61zuhm.jpg", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "A diecast toy car of this, it is photographed in a toy box with the word \"Waymo\", the box is on a shop shelf selling for $5.99", "num_outputs": 4, "control_image": "https://replicate.delivery/xezq/Za0hrhIO1PboAlVUVyfnqfkOX4y0gh6olDHcngJC9ifNIsgoA/tmpt_61zuhm.jpg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "A diecast toy car of this, it is photographed in a toy box with the word \\"Waymo\\", the box is on a shop shelf selling for $5.99", "num_outputs": 4, "control_image": "https://replicate.delivery/xezq/Za0hrhIO1PboAlVUVyfnqfkOX4y0gh6olDHcngJC9ifNIsgoA/tmpt_61zuhm.jpg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T22:00:52.866119Z", "created_at": "2025-02-17T22:00:29.981000Z", "data_removed": false, "error": null, "id": "xj9jcbjm3nrj60cn2qptesdd3m", "input": { "task": "subject_1024", "prompt": "A diecast toy car of this, it is photographed in a toy box with the word \"Waymo\", the box is on a shop shelf selling for $5.99", "num_outputs": 4, "control_image": "https://replicate.delivery/xezq/Za0hrhIO1PboAlVUVyfnqfkOX4y0gh6olDHcngJC9ifNIsgoA/tmpt_61zuhm.jpg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 44905\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.52it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.65it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.59it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.56it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.55it/s]\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.52it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.56it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.55it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.55it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]", "metrics": { "predict_time": 22.873556779, "total_time": 22.885119 }, "output": [ "https://replicate.delivery/yhqm/71JMB1oY3g5rOJ904QBOUiKChKlAnQDNrUEYrelHKUFKHLIKA/out-0.webp", "https://replicate.delivery/yhqm/z6pUzffTbru1KETzvabVAjvmMOhyaDGmd70624RlBhMUOWQUA/out-1.webp", "https://replicate.delivery/yhqm/ji9YlD8N0vrYDBvOMNqCfj6SFG4wSWJALH7z8r4a1yYKHLIKA/out-2.webp", "https://replicate.delivery/yhqm/WMsCcbX8LN4TNVAwHGeh5tkQwAs3OdyEEuvjMuD5A1CKHLIKA/out-3.webp" ], "started_at": "2025-02-17T22:00:29.992562Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-wjrqayp77zrf4wqmelygiqg3b4yxk7ob7razgqtv6pxxgclhdjtq", "get": "https://api.replicate.com/v1/predictions/xj9jcbjm3nrj60cn2qptesdd3m", "cancel": "https://api.replicate.com/v1/predictions/xj9jcbjm3nrj60cn2qptesdd3m/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 44905 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.52it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.65it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.59it/s] 50%|█████ | 4/8 [00:02<00:02, 1.56it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.55it/s] 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.52it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s] 50%|█████ | 4/8 [00:02<00:02, 1.56it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s] 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s] 50%|█████ | 4/8 [00:02<00:02, 1.55it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s] 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s] 50%|█████ | 4/8 [00:02<00:02, 1.55it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s]
Prediction
jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafbIDxj9jcbjm3nrj60cn2qptesdd3mStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @fofrInput
- task
- subject_1024
- prompt
- A diecast toy car of this, it is photographed in a toy box with the word "Waymo", the box is on a shop shelf selling for $5.99
- num_outputs
- 4
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 8
{ "task": "subject_1024", "prompt": "A diecast toy car of this, it is photographed in a toy box with the word \"Waymo\", the box is on a shop shelf selling for $5.99", "num_outputs": 4, "control_image": "https://replicate.delivery/xezq/Za0hrhIO1PboAlVUVyfnqfkOX4y0gh6olDHcngJC9ifNIsgoA/tmpt_61zuhm.jpg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }
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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", { input: { task: "subject_1024", prompt: "A diecast toy car of this, it is photographed in a toy box with the word \"Waymo\", the box is on a shop shelf selling for $5.99", num_outputs: 4, control_image: "https://replicate.delivery/xezq/Za0hrhIO1PboAlVUVyfnqfkOX4y0gh6olDHcngJC9ifNIsgoA/tmpt_61zuhm.jpg", output_format: "webp", guidance_scale: 3.5, output_quality: 80, num_inference_steps: 8 } } ); // 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/omini-schnell using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "jhorovitz/omini-schnell:98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", input={ "task": "subject_1024", "prompt": "A diecast toy car of this, it is photographed in a toy box with the word \"Waymo\", the box is on a shop shelf selling for $5.99", "num_outputs": 4, "control_image": "https://replicate.delivery/xezq/Za0hrhIO1PboAlVUVyfnqfkOX4y0gh6olDHcngJC9ifNIsgoA/tmpt_61zuhm.jpg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run jhorovitz/omini-schnell 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": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb", "input": { "task": "subject_1024", "prompt": "A diecast toy car of this, it is photographed in a toy box with the word \\"Waymo\\", the box is on a shop shelf selling for $5.99", "num_outputs": 4, "control_image": "https://replicate.delivery/xezq/Za0hrhIO1PboAlVUVyfnqfkOX4y0gh6olDHcngJC9ifNIsgoA/tmpt_61zuhm.jpg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-17T22:00:52.866119Z", "created_at": "2025-02-17T22:00:29.981000Z", "data_removed": false, "error": null, "id": "xj9jcbjm3nrj60cn2qptesdd3m", "input": { "task": "subject_1024", "prompt": "A diecast toy car of this, it is photographed in a toy box with the word \"Waymo\", the box is on a shop shelf selling for $5.99", "num_outputs": 4, "control_image": "https://replicate.delivery/xezq/Za0hrhIO1PboAlVUVyfnqfkOX4y0gh6olDHcngJC9ifNIsgoA/tmpt_61zuhm.jpg", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 8 }, "logs": "Using seed: 44905\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.52it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.65it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.59it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.56it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.55it/s]\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.52it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.56it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.55it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s]\n 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s]\n 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s]\n 50%|█████ | 4/8 [00:02<00:02, 1.55it/s]\n 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s]\n 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s]\n 88%|████████▊ | 7/8 [00:04<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.52it/s]\n100%|██████████| 8/8 [00:05<00:00, 1.54it/s]", "metrics": { "predict_time": 22.873556779, "total_time": 22.885119 }, "output": [ "https://replicate.delivery/yhqm/71JMB1oY3g5rOJ904QBOUiKChKlAnQDNrUEYrelHKUFKHLIKA/out-0.webp", "https://replicate.delivery/yhqm/z6pUzffTbru1KETzvabVAjvmMOhyaDGmd70624RlBhMUOWQUA/out-1.webp", "https://replicate.delivery/yhqm/ji9YlD8N0vrYDBvOMNqCfj6SFG4wSWJALH7z8r4a1yYKHLIKA/out-2.webp", "https://replicate.delivery/yhqm/WMsCcbX8LN4TNVAwHGeh5tkQwAs3OdyEEuvjMuD5A1CKHLIKA/out-3.webp" ], "started_at": "2025-02-17T22:00:29.992562Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-wjrqayp77zrf4wqmelygiqg3b4yxk7ob7razgqtv6pxxgclhdjtq", "get": "https://api.replicate.com/v1/predictions/xj9jcbjm3nrj60cn2qptesdd3m", "cancel": "https://api.replicate.com/v1/predictions/xj9jcbjm3nrj60cn2qptesdd3m/cancel" }, "version": "98ccf187274f4237a514ed82cd372629b90a010e1203c956cae7f28364f1cafb" }
Generated inUsing seed: 44905 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.52it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.65it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.59it/s] 50%|█████ | 4/8 [00:02<00:02, 1.56it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.54it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.55it/s] 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.52it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s] 50%|█████ | 4/8 [00:02<00:02, 1.56it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s] 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s] 50%|█████ | 4/8 [00:02<00:02, 1.55it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.53it/s] 100%|██████████| 8/8 [00:05<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s] 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:04, 1.51it/s] 25%|██▌ | 2/8 [00:01<00:03, 1.64it/s] 38%|███▊ | 3/8 [00:01<00:03, 1.58it/s] 50%|█████ | 4/8 [00:02<00:02, 1.55it/s] 62%|██████▎ | 5/8 [00:03<00:01, 1.54it/s] 75%|███████▌ | 6/8 [00:03<00:01, 1.53it/s] 88%|████████▊ | 7/8 [00:04<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.52it/s] 100%|██████████| 8/8 [00:05<00:00, 1.54it/s]
Want to make some of these yourself?
Run this model