luosiallen
/
latent-consistency-model
Synthesizing High-Resolution Images with Few-Step Inference
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcIDiex4p7tbhjybrt2jimixwnablyStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 768
- height
- 768
- prompt
- A Cute Puppy with wings, Cartoon Drawings, high details
- num_images
- 1
- guidance_scale
- 8
- num_inference_steps
- 8
{ "width": 768, "height": 768, "prompt": "A Cute Puppy with wings, Cartoon Drawings, high details", "num_images": 1, "guidance_scale": 8, "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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "A Cute Puppy with wings, Cartoon Drawings, high details", num_images: 1, guidance_scale: 8, 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "A Cute Puppy with wings, Cartoon Drawings, high details", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "A Cute Puppy with wings, Cartoon Drawings, high details", "num_images": 1, "guidance_scale": 8, "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": "2023-10-19T16:13:12.619497Z", "created_at": "2023-10-19T16:13:09.737727Z", "data_removed": false, "error": null, "id": "iex4p7tbhjybrt2jimixwnably", "input": { "width": 768, "height": 768, "prompt": "A Cute Puppy with wings, Cartoon Drawings, high details", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 }, "logs": "Using seed: 32328\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 6.50it/s]\n 25%|██▌ | 2/8 [00:00<00:00, 6.45it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 6.43it/s]\n 50%|█████ | 4/8 [00:00<00:00, 6.42it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 6.40it/s]\n 75%|███████▌ | 6/8 [00:00<00:00, 6.40it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 6.40it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.39it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.41it/s]", "metrics": { "predict_time": 2.88034, "total_time": 2.88177 }, "output": [ "https://pbxt.replicate.delivery/cftcaD5qgsxSaiZZLQHx5CfgcXhBgK07wFhRjbiaNeQv8gfGB/out-0.png" ], "started_at": "2023-10-19T16:13:09.739157Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/iex4p7tbhjybrt2jimixwnably", "cancel": "https://api.replicate.com/v1/predictions/iex4p7tbhjybrt2jimixwnably/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 32328 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 6.50it/s] 25%|██▌ | 2/8 [00:00<00:00, 6.45it/s] 38%|███▊ | 3/8 [00:00<00:00, 6.43it/s] 50%|█████ | 4/8 [00:00<00:00, 6.42it/s] 62%|██████▎ | 5/8 [00:00<00:00, 6.40it/s] 75%|███████▌ | 6/8 [00:00<00:00, 6.40it/s] 88%|████████▊ | 7/8 [00:01<00:00, 6.40it/s] 100%|██████████| 8/8 [00:01<00:00, 6.39it/s] 100%|██████████| 8/8 [00:01<00:00, 6.41it/s]
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcIDlhhubi3bqg4hkxas7u6t5w73p4StatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedby @luosiallenInput
- width
- 768
- height
- 768
- prompt
- time magazine, top 100, leonardo dicaprio, highly realistic, detailed.
- num_images
- 1
- guidance_scale
- 8
- num_inference_steps
- 8
{ "width": 768, "height": 768, "prompt": "time magazine, top 100, leonardo dicaprio, highly realistic, detailed.", "num_images": 1, "guidance_scale": 8, "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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "time magazine, top 100, leonardo dicaprio, highly realistic, detailed.", num_images: 1, guidance_scale: 8, 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "time magazine, top 100, leonardo dicaprio, highly realistic, detailed.", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "time magazine, top 100, leonardo dicaprio, highly realistic, detailed.", "num_images": 1, "guidance_scale": 8, "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": "2023-10-19T16:07:44.793147Z", "created_at": "2023-10-19T16:07:41.814106Z", "data_removed": false, "error": null, "id": "lhhubi3bqg4hkxas7u6t5w73p4", "input": { "width": 768, "height": 768, "prompt": "time magazine, top 100, leonardo dicaprio, highly realistic, detailed.", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 }, "logs": "Using seed: 54742\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 6.48it/s]\n 25%|██▌ | 2/8 [00:00<00:00, 6.44it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 6.42it/s]\n 50%|█████ | 4/8 [00:00<00:00, 6.41it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 6.40it/s]\n 75%|███████▌ | 6/8 [00:00<00:00, 6.39it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 6.39it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.39it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.40it/s]", "metrics": { "predict_time": 2.998425, "total_time": 2.979041 }, "output": [ "https://pbxt.replicate.delivery/eeuuXNXi56mdskS1ZHa3a5b8uqtOYpACrWN63DWfShbekBfNC/out-0.png" ], "started_at": "2023-10-19T16:07:41.794722Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/lhhubi3bqg4hkxas7u6t5w73p4", "cancel": "https://api.replicate.com/v1/predictions/lhhubi3bqg4hkxas7u6t5w73p4/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 54742 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 6.48it/s] 25%|██▌ | 2/8 [00:00<00:00, 6.44it/s] 38%|███▊ | 3/8 [00:00<00:00, 6.42it/s] 50%|█████ | 4/8 [00:00<00:00, 6.41it/s] 62%|██████▎ | 5/8 [00:00<00:00, 6.40it/s] 75%|███████▌ | 6/8 [00:00<00:00, 6.39it/s] 88%|████████▊ | 7/8 [00:01<00:00, 6.39it/s] 100%|██████████| 8/8 [00:01<00:00, 6.39it/s] 100%|██████████| 8/8 [00:01<00:00, 6.40it/s]
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcIDazcvltdbxhckqsmoa3aylb7pwqStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedby @luosiallenInput
- width
- 768
- height
- 768
- prompt
- a professional photograph of an astronaut riding a horse, 8k
- num_images
- 1
- guidance_scale
- 8
- num_inference_steps
- 8
{ "width": 768, "height": 768, "prompt": "a professional photograph of an astronaut riding a horse, 8k", "num_images": 1, "guidance_scale": 8, "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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "a professional photograph of an astronaut riding a horse, 8k", num_images: 1, guidance_scale: 8, 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "a professional photograph of an astronaut riding a horse, 8k", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "a professional photograph of an astronaut riding a horse, 8k", "num_images": 1, "guidance_scale": 8, "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": "2023-10-19T16:11:26.872874Z", "created_at": "2023-10-19T16:11:23.883578Z", "data_removed": false, "error": null, "id": "azcvltdbxhckqsmoa3aylb7pwq", "input": { "width": 768, "height": 768, "prompt": "a professional photograph of an astronaut riding a horse, 8k", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 }, "logs": "Using seed: 37258\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 6.51it/s]\n 25%|██▌ | 2/8 [00:00<00:00, 6.46it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 6.44it/s]\n 50%|█████ | 4/8 [00:00<00:00, 6.42it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 6.40it/s]\n 75%|███████▌ | 6/8 [00:00<00:00, 6.38it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 6.37it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.37it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.39it/s]", "metrics": { "predict_time": 2.995001, "total_time": 2.989296 }, "output": [ "https://pbxt.replicate.delivery/OLTrkBOaJqriIVNwSwgA0wKyeey0crW9sxSVHTlAIxBtcwvRA/out-0.png" ], "started_at": "2023-10-19T16:11:23.877873Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/azcvltdbxhckqsmoa3aylb7pwq", "cancel": "https://api.replicate.com/v1/predictions/azcvltdbxhckqsmoa3aylb7pwq/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 37258 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 6.51it/s] 25%|██▌ | 2/8 [00:00<00:00, 6.46it/s] 38%|███▊ | 3/8 [00:00<00:00, 6.44it/s] 50%|█████ | 4/8 [00:00<00:00, 6.42it/s] 62%|██████▎ | 5/8 [00:00<00:00, 6.40it/s] 75%|███████▌ | 6/8 [00:00<00:00, 6.38it/s] 88%|████████▊ | 7/8 [00:01<00:00, 6.37it/s] 100%|██████████| 8/8 [00:01<00:00, 6.37it/s] 100%|██████████| 8/8 [00:01<00:00, 6.39it/s]
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcID5lwbdqdbyrilvvsm62mphlbghuStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedby @chenxwhInput
- width
- 768
- height
- 768
- prompt
- Self-portrait oil painting, a beautiful cyborg with golden hair, 8k
- num_images
- 1
- guidance_scale
- 8
- num_inference_steps
- 8
{ "width": 768, "height": 768, "prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "num_images": 1, "guidance_scale": 8, "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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", num_images: 1, guidance_scale: 8, 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "num_images": 1, "guidance_scale": 8, "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": "2023-10-18T23:24:24.305624Z", "created_at": "2023-10-18T23:23:35.514094Z", "data_removed": false, "error": null, "id": "5lwbdqdbyrilvvsm62mphlbghu", "input": { "width": 768, "height": 768, "prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 }, "logs": "Using seed: 49296\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 3.73it/s]\n 25%|██▌ | 2/8 [00:00<00:01, 4.96it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 5.53it/s]\n 50%|█████ | 4/8 [00:00<00:00, 5.85it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 6.04it/s]\n 75%|███████▌ | 6/8 [00:01<00:00, 6.16it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 6.23it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.27it/s]\n100%|██████████| 8/8 [00:01<00:00, 5.88it/s]", "metrics": { "predict_time": 3.024376, "total_time": 48.79153 }, "output": [ "https://pbxt.replicate.delivery/lE1UZOlbLiY7DpYlLvdUmyyt0Z0pu7tTTpgFn8a0ug3Jb4bE/out-0.png" ], "started_at": "2023-10-18T23:24:21.281248Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5lwbdqdbyrilvvsm62mphlbghu", "cancel": "https://api.replicate.com/v1/predictions/5lwbdqdbyrilvvsm62mphlbghu/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 49296 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 3.73it/s] 25%|██▌ | 2/8 [00:00<00:01, 4.96it/s] 38%|███▊ | 3/8 [00:00<00:00, 5.53it/s] 50%|█████ | 4/8 [00:00<00:00, 5.85it/s] 62%|██████▎ | 5/8 [00:00<00:00, 6.04it/s] 75%|███████▌ | 6/8 [00:01<00:00, 6.16it/s] 88%|████████▊ | 7/8 [00:01<00:00, 6.23it/s] 100%|██████████| 8/8 [00:01<00:00, 6.27it/s] 100%|██████████| 8/8 [00:01<00:00, 5.88it/s]
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcIDuh67fwlbxujpsozwm6jfuvoqduStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 768
- height
- 768
- prompt
- Albert Einstein in a surrealist Cyberpunk 2077 world, highly detailed, realistic
- num_images
- 1
- guidance_scale
- 8
- num_inference_steps
- 8
{ "width": 768, "height": 768, "prompt": "Albert Einstein in a surrealist Cyberpunk 2077 world, highly detailed, realistic", "num_images": 1, "guidance_scale": 8, "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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "Albert Einstein in a surrealist Cyberpunk 2077 world, highly detailed, realistic", num_images: 1, guidance_scale: 8, 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "Albert Einstein in a surrealist Cyberpunk 2077 world, highly detailed, realistic", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "Albert Einstein in a surrealist Cyberpunk 2077 world, highly detailed, realistic", "num_images": 1, "guidance_scale": 8, "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": "2023-10-19T16:56:50.211704Z", "created_at": "2023-10-19T16:56:47.417813Z", "data_removed": false, "error": null, "id": "uh67fwlbxujpsozwm6jfuvoqdu", "input": { "width": 768, "height": 768, "prompt": "Albert Einstein in a surrealist Cyberpunk 2077 world, highly detailed, realistic", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 }, "logs": "Using seed: 11814\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 6.47it/s]\n 25%|██▌ | 2/8 [00:00<00:00, 6.44it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 6.42it/s]\n 50%|█████ | 4/8 [00:00<00:00, 6.41it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 6.39it/s]\n 75%|███████▌ | 6/8 [00:00<00:00, 6.38it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 6.38it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.38it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.39it/s]", "metrics": { "predict_time": 2.830758, "total_time": 2.793891 }, "output": [ "https://pbxt.replicate.delivery/0AxyRtT42Y7ENp3fnb03jMIsWegijYqwrYBWoy2ByZBRHxvRA/out-0.png" ], "started_at": "2023-10-19T16:56:47.380946Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/uh67fwlbxujpsozwm6jfuvoqdu", "cancel": "https://api.replicate.com/v1/predictions/uh67fwlbxujpsozwm6jfuvoqdu/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 11814 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 6.47it/s] 25%|██▌ | 2/8 [00:00<00:00, 6.44it/s] 38%|███▊ | 3/8 [00:00<00:00, 6.42it/s] 50%|█████ | 4/8 [00:00<00:00, 6.41it/s] 62%|██████▎ | 5/8 [00:00<00:00, 6.39it/s] 75%|███████▌ | 6/8 [00:00<00:00, 6.38it/s] 88%|████████▊ | 7/8 [00:01<00:00, 6.38it/s] 100%|██████████| 8/8 [00:01<00:00, 6.38it/s] 100%|██████████| 8/8 [00:01<00:00, 6.39it/s]
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcIDxxl4ny3b5crcdxmpsv4plswp5iStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 768
- height
- 768
- prompt
- human thoughts art, elegant fantasy, intricate, crisp quality, Bela Magyar, 35mm film, 35mm photography, 8k uhd, hdr, ultra-detailed.
- num_images
- 1
- guidance_scale
- 11
- num_inference_steps
- 8
{ "width": 768, "height": 768, "prompt": "human thoughts art, elegant fantasy, intricate, crisp quality, Bela Magyar, 35mm film, 35mm photography, 8k uhd, hdr, ultra-detailed.", "num_images": 1, "guidance_scale": 11, "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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "human thoughts art, elegant fantasy, intricate, crisp quality, Bela Magyar, 35mm film, 35mm photography, 8k uhd, hdr, ultra-detailed.", num_images: 1, guidance_scale: 11, 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "human thoughts art, elegant fantasy, intricate, crisp quality, Bela Magyar, 35mm film, 35mm photography, 8k uhd, hdr, ultra-detailed.", "num_images": 1, "guidance_scale": 11, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "human thoughts art, elegant fantasy, intricate, crisp quality, Bela Magyar, 35mm film, 35mm photography, 8k uhd, hdr, ultra-detailed.", "num_images": 1, "guidance_scale": 11, "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": "2023-10-20T04:08:49.672922Z", "created_at": "2023-10-20T04:08:46.917695Z", "data_removed": false, "error": null, "id": "xxl4ny3b5crcdxmpsv4plswp5i", "input": { "width": 768, "height": 768, "prompt": "human thoughts art, elegant fantasy, intricate, crisp quality, Bela Magyar, 35mm film, 35mm photography, 8k uhd, hdr, ultra-detailed.", "num_images": 1, "guidance_scale": 11, "num_inference_steps": 8 }, "logs": "Using seed: 819\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 6.43it/s]\n 25%|██▌ | 2/8 [00:00<00:00, 6.38it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 6.38it/s]\n 50%|█████ | 4/8 [00:00<00:00, 6.37it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 6.36it/s]\n 75%|███████▌ | 6/8 [00:00<00:00, 6.34it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 6.33it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.33it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.35it/s]", "metrics": { "predict_time": 2.821325, "total_time": 2.755227 }, "output": [ "https://pbxt.replicate.delivery/ykq2I5xe7M3PHqLNLdPpQUIOWqW2Cy4rJ4YfRIWCjC6Q96vRA/out-0.png" ], "started_at": "2023-10-20T04:08:46.851597Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/xxl4ny3b5crcdxmpsv4plswp5i", "cancel": "https://api.replicate.com/v1/predictions/xxl4ny3b5crcdxmpsv4plswp5i/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 819 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 6.43it/s] 25%|██▌ | 2/8 [00:00<00:00, 6.38it/s] 38%|███▊ | 3/8 [00:00<00:00, 6.38it/s] 50%|█████ | 4/8 [00:00<00:00, 6.37it/s] 62%|██████▎ | 5/8 [00:00<00:00, 6.36it/s] 75%|███████▌ | 6/8 [00:00<00:00, 6.34it/s] 88%|████████▊ | 7/8 [00:01<00:00, 6.33it/s] 100%|██████████| 8/8 [00:01<00:00, 6.33it/s] 100%|██████████| 8/8 [00:01<00:00, 6.35it/s]
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcID2uogxfdb3fjlql7zc3ymxpfgiiStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 768
- height
- 768
- prompt
- Blue. Dystopian style audi r8 ,cyberpunk sprinting on highway, sideview. Bleak, post-apocalyptic, somber, dramatic, highly detailed.
- num_images
- 1
- guidance_scale
- 11
- num_inference_steps
- 8
{ "width": 768, "height": 768, "prompt": "Blue. Dystopian style audi r8 ,cyberpunk sprinting on highway, sideview. Bleak, post-apocalyptic, somber, dramatic, highly detailed.", "num_images": 1, "guidance_scale": 11, "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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "Blue. Dystopian style audi r8 ,cyberpunk sprinting on highway, sideview. Bleak, post-apocalyptic, somber, dramatic, highly detailed.", num_images: 1, guidance_scale: 11, 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "Blue. Dystopian style audi r8 ,cyberpunk sprinting on highway, sideview. Bleak, post-apocalyptic, somber, dramatic, highly detailed.", "num_images": 1, "guidance_scale": 11, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "Blue. Dystopian style audi r8 ,cyberpunk sprinting on highway, sideview. Bleak, post-apocalyptic, somber, dramatic, highly detailed.", "num_images": 1, "guidance_scale": 11, "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": "2023-10-20T04:12:55.666645Z", "created_at": "2023-10-20T04:12:52.854337Z", "data_removed": false, "error": null, "id": "2uogxfdb3fjlql7zc3ymxpfgii", "input": { "width": 768, "height": 768, "prompt": "Blue. Dystopian style audi r8 ,cyberpunk sprinting on highway, sideview. Bleak, post-apocalyptic, somber, dramatic, highly detailed.", "num_images": 1, "guidance_scale": 11, "num_inference_steps": 8 }, "logs": "Using seed: 43988\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 6.41it/s]\n 25%|██▌ | 2/8 [00:00<00:00, 6.38it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 6.36it/s]\n 50%|█████ | 4/8 [00:00<00:00, 6.35it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 6.33it/s]\n 75%|███████▌ | 6/8 [00:00<00:00, 6.33it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 6.32it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.31it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.33it/s]", "metrics": { "predict_time": 2.83278, "total_time": 2.812308 }, "output": [ "https://pbxt.replicate.delivery/DRf4fwpdmOo7pUQDxlGlZqdKHdkq0tMMLHNLAhbVxnHGB7vRA/out-0.png" ], "started_at": "2023-10-20T04:12:52.833865Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/2uogxfdb3fjlql7zc3ymxpfgii", "cancel": "https://api.replicate.com/v1/predictions/2uogxfdb3fjlql7zc3ymxpfgii/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 43988 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 6.41it/s] 25%|██▌ | 2/8 [00:00<00:00, 6.38it/s] 38%|███▊ | 3/8 [00:00<00:00, 6.36it/s] 50%|█████ | 4/8 [00:00<00:00, 6.35it/s] 62%|██████▎ | 5/8 [00:00<00:00, 6.33it/s] 75%|███████▌ | 6/8 [00:00<00:00, 6.33it/s] 88%|████████▊ | 7/8 [00:01<00:00, 6.32it/s] 100%|██████████| 8/8 [00:01<00:00, 6.31it/s] 100%|██████████| 8/8 [00:01<00:00, 6.33it/s]
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcID5mudn4dbueryqup4dntnh7o3jqStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 768
- height
- 768
- prompt
- photo realistic of a cool young man, photograph, highly detailed face, depth of field, moody light, blue hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography
- num_images
- 1
- guidance_scale
- 8
- num_inference_steps
- 8
{ "width": 768, "height": 768, "prompt": "photo realistic of a cool young man, photograph, highly detailed face, depth of field, moody light, blue hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography", "num_images": 1, "guidance_scale": 8, "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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "photo realistic of a cool young man, photograph, highly detailed face, depth of field, moody light, blue hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography", num_images: 1, guidance_scale: 8, 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "photo realistic of a cool young man, photograph, highly detailed face, depth of field, moody light, blue hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "photo realistic of a cool young man, photograph, highly detailed face, depth of field, moody light, blue hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography", "num_images": 1, "guidance_scale": 8, "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": "2023-10-21T08:48:58.063962Z", "created_at": "2023-10-21T08:48:49.242725Z", "data_removed": false, "error": null, "id": "5mudn4dbueryqup4dntnh7o3jq", "input": { "width": 768, "height": 768, "prompt": "photo realistic of a cool young man, photograph, highly detailed face, depth of field, moody light, blue hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 }, "logs": "Using seed: 9092\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 6.54it/s]\n 25%|██▌ | 2/8 [00:00<00:00, 6.49it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 6.46it/s]\n 50%|█████ | 4/8 [00:00<00:00, 6.45it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 6.43it/s]\n 75%|███████▌ | 6/8 [00:00<00:00, 6.43it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 6.43it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.42it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.44it/s]", "metrics": { "predict_time": 2.808439, "total_time": 8.821237 }, "output": [ "https://pbxt.replicate.delivery/DxwTBv8NyEoFEtLZdHsjiXKJJddfAfpBLZOkhRNxtgfyTogjA/out-0.png" ], "started_at": "2023-10-21T08:48:55.255523Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5mudn4dbueryqup4dntnh7o3jq", "cancel": "https://api.replicate.com/v1/predictions/5mudn4dbueryqup4dntnh7o3jq/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 9092 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 6.54it/s] 25%|██▌ | 2/8 [00:00<00:00, 6.49it/s] 38%|███▊ | 3/8 [00:00<00:00, 6.46it/s] 50%|█████ | 4/8 [00:00<00:00, 6.45it/s] 62%|██████▎ | 5/8 [00:00<00:00, 6.43it/s] 75%|███████▌ | 6/8 [00:00<00:00, 6.43it/s] 88%|████████▊ | 7/8 [00:01<00:00, 6.43it/s] 100%|██████████| 8/8 [00:01<00:00, 6.42it/s] 100%|██████████| 8/8 [00:01<00:00, 6.44it/s]
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcID7xl6fadb4ibdxjxajig46wl6pyStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 768
- height
- 768
- prompt
- photo realistic of a beautiful young cool girl next to the sea, photograph, golden eyes, highly detailed smooth face, depth of field, moody light, green hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography
- num_images
- 1
- guidance_scale
- 8
- num_inference_steps
- 8
{ "width": 768, "height": 768, "prompt": "photo realistic of a beautiful young cool girl next to the sea, photograph, golden eyes, highly detailed smooth face, depth of field, moody light, green hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography", "num_images": 1, "guidance_scale": 8, "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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "photo realistic of a beautiful young cool girl next to the sea, photograph, golden eyes, highly detailed smooth face, depth of field, moody light, green hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography", num_images: 1, guidance_scale: 8, 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "photo realistic of a beautiful young cool girl next to the sea, photograph, golden eyes, highly detailed smooth face, depth of field, moody light, green hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "photo realistic of a beautiful young cool girl next to the sea, photograph, golden eyes, highly detailed smooth face, depth of field, moody light, green hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography", "num_images": 1, "guidance_scale": 8, "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": "2023-10-22T10:47:54.130308Z", "created_at": "2023-10-22T10:47:50.922148Z", "data_removed": false, "error": null, "id": "7xl6fadb4ibdxjxajig46wl6py", "input": { "width": 768, "height": 768, "prompt": "photo realistic of a beautiful young cool girl next to the sea, photograph, golden eyes, highly detailed smooth face, depth of field, moody light, green hair, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 }, "logs": "Using seed: 21760\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 6.41it/s]\n 25%|██▌ | 2/8 [00:00<00:00, 6.32it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 6.30it/s]\n 50%|█████ | 4/8 [00:00<00:00, 6.29it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 6.25it/s]\n 75%|███████▌ | 6/8 [00:00<00:00, 6.26it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 6.26it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.26it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.28it/s]", "metrics": { "predict_time": 3.192874, "total_time": 3.20816 }, "output": [ "https://pbxt.replicate.delivery/sgXKkgiHCKKLPBytHQzITXRe6JARTysZXSMiAkJGvazsfqwRA/out-0.png" ], "started_at": "2023-10-22T10:47:50.937434Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7xl6fadb4ibdxjxajig46wl6py", "cancel": "https://api.replicate.com/v1/predictions/7xl6fadb4ibdxjxajig46wl6py/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 21760 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 6.41it/s] 25%|██▌ | 2/8 [00:00<00:00, 6.32it/s] 38%|███▊ | 3/8 [00:00<00:00, 6.30it/s] 50%|█████ | 4/8 [00:00<00:00, 6.29it/s] 62%|██████▎ | 5/8 [00:00<00:00, 6.25it/s] 75%|███████▌ | 6/8 [00:00<00:00, 6.26it/s] 88%|████████▊ | 7/8 [00:01<00:00, 6.26it/s] 100%|██████████| 8/8 [00:01<00:00, 6.26it/s] 100%|██████████| 8/8 [00:01<00:00, 6.28it/s]
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcIDcghosstbyrj5h3brg4x33ezwxaStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 768
- height
- 768
- prompt
- Self-portrait oil painting, a extremely beautiful cyborg with pure blue hair, 8k, thicc, looking at the viewer
- num_images
- 1
- guidance_scale
- 8
- num_inference_steps
- 16
{ "width": 768, "height": 768, "prompt": "Self-portrait oil painting, a extremely beautiful cyborg with pure blue hair, 8k, thicc, looking at the viewer", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 16 }
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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "Self-portrait oil painting, a extremely beautiful cyborg with pure blue hair, 8k, thicc, looking at the viewer", num_images: 1, guidance_scale: 8, num_inference_steps: 16 } } ); // 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "Self-portrait oil painting, a extremely beautiful cyborg with pure blue hair, 8k, thicc, looking at the viewer", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 16 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "Self-portrait oil painting, a extremely beautiful cyborg with pure blue hair, 8k, thicc, looking at the viewer", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 16 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-23T05:13:51.861792Z", "created_at": "2023-10-23T05:13:30.762932Z", "data_removed": false, "error": null, "id": "cghosstbyrj5h3brg4x33ezwxa", "input": { "width": 768, "height": 768, "prompt": "Self-portrait oil painting, a extremely beautiful cyborg with pure blue hair, 8k, thicc, looking at the viewer", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 16 }, "logs": "Using seed: 19982\n 0%| | 0/16 [00:00<?, ?it/s]\n 6%|▋ | 1/16 [00:00<00:02, 6.44it/s]\n 12%|█▎ | 2/16 [00:00<00:02, 6.40it/s]\n 19%|█▉ | 3/16 [00:00<00:02, 6.38it/s]\n 25%|██▌ | 4/16 [00:00<00:01, 6.36it/s]\n 31%|███▏ | 5/16 [00:00<00:01, 6.34it/s]\n 38%|███▊ | 6/16 [00:00<00:01, 6.33it/s]\n 44%|████▍ | 7/16 [00:01<00:01, 6.33it/s]\n 50%|█████ | 8/16 [00:01<00:01, 6.32it/s]\n 56%|█████▋ | 9/16 [00:01<00:01, 6.32it/s]\n 62%|██████▎ | 10/16 [00:01<00:00, 6.32it/s]\n 69%|██████▉ | 11/16 [00:01<00:00, 6.32it/s]\n 75%|███████▌ | 12/16 [00:01<00:00, 6.32it/s]\n 81%|████████▏ | 13/16 [00:02<00:00, 6.32it/s]\n 88%|████████▊ | 14/16 [00:02<00:00, 6.32it/s]\n 94%|█████████▍| 15/16 [00:02<00:00, 6.33it/s]\n100%|██████████| 16/16 [00:02<00:00, 6.32it/s]\n100%|██████████| 16/16 [00:02<00:00, 6.33it/s]", "metrics": { "predict_time": 4.447562, "total_time": 21.09886 }, "output": [ "https://pbxt.replicate.delivery/ipmoWqc9HLKXDtw8NQGolBFjMlCFfSkQ7GLqprfcTsMOM7wRA/out-0.png" ], "started_at": "2023-10-23T05:13:47.414230Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/cghosstbyrj5h3brg4x33ezwxa", "cancel": "https://api.replicate.com/v1/predictions/cghosstbyrj5h3brg4x33ezwxa/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 19982 0%| | 0/16 [00:00<?, ?it/s] 6%|▋ | 1/16 [00:00<00:02, 6.44it/s] 12%|█▎ | 2/16 [00:00<00:02, 6.40it/s] 19%|█▉ | 3/16 [00:00<00:02, 6.38it/s] 25%|██▌ | 4/16 [00:00<00:01, 6.36it/s] 31%|███▏ | 5/16 [00:00<00:01, 6.34it/s] 38%|███▊ | 6/16 [00:00<00:01, 6.33it/s] 44%|████▍ | 7/16 [00:01<00:01, 6.33it/s] 50%|█████ | 8/16 [00:01<00:01, 6.32it/s] 56%|█████▋ | 9/16 [00:01<00:01, 6.32it/s] 62%|██████▎ | 10/16 [00:01<00:00, 6.32it/s] 69%|██████▉ | 11/16 [00:01<00:00, 6.32it/s] 75%|███████▌ | 12/16 [00:01<00:00, 6.32it/s] 81%|████████▏ | 13/16 [00:02<00:00, 6.32it/s] 88%|████████▊ | 14/16 [00:02<00:00, 6.32it/s] 94%|█████████▍| 15/16 [00:02<00:00, 6.33it/s] 100%|██████████| 16/16 [00:02<00:00, 6.32it/s] 100%|██████████| 16/16 [00:02<00:00, 6.33it/s]
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcIDe7tezutbqyfehrbrxtnp6h6xfeStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 768
- height
- 768
- prompt
- masticpiece, cinematic lighting. This is a realistic fantasy artwork with contrasting colors and a very mysterious aura. Generate a pure white woman with ((pure white skin)), metallic hair, and bold, colorful eyes. (((Her skin is whiter than snow))). Her face is extremely detailed with realistic shading and her eyes are extremely detailed with absurdly high resolution and bright, bold colors. (((Her eyes are important and must be perfect.))) She has soft, puffy lips. Include many fantasy details such as soft white feathers, beautiful French silk, delicate embroidery, snow, iridescence detailing, phantasmal iridescence detailing, and glitter. Include moonlight, snowflakes, and winterscapes. The character in the artwork is a delicate but strong petite figure with an aura of mystery and magic. The character's clothing should be designed with gossamer feathers, silk, stunning embroidery, and subtle iridescent details. Incorporate dreamy colors, dynamic lighting, and detailed background elements to create a sense of awe and immersion. Consider the latest trends in fantasy art, such as incorporating unique lighting effects, exploring dynamic and compelling composition techniques, and experimenting with unique color palettes. Take inspiration from the top artists on ArtStation and Midjourney. Camera: Choose an angle that highlights the character's beauty and enhances the magical majesty of the artwork. Lighting: Utilize atmospheric lighting techniques to create depth and mood. Resolution: Aim for a high-resolution artwork to showcase intricate details and clarity. Art Inspirations: Seek inspiration from the trending artists on ArtStation, exploring different styles, genres, and themes.
- num_images
- 1
- guidance_scale
- 13.03
- num_inference_steps
- 8
{ "width": 768, "height": 768, "prompt": "masticpiece, cinematic lighting. This is a realistic fantasy artwork with contrasting colors and a very mysterious aura. Generate a pure white woman with ((pure white skin)), metallic hair, and bold, colorful eyes. (((Her skin is whiter than snow))). Her face is extremely detailed with realistic shading and her eyes are extremely detailed with absurdly high resolution and bright, bold colors. (((Her eyes are important and must be perfect.))) She has soft, puffy lips. Include many fantasy details such as soft white feathers, beautiful French silk, delicate embroidery, snow, iridescence detailing, phantasmal iridescence detailing, and glitter. Include moonlight, snowflakes, and winterscapes. The character in the artwork is a delicate but strong petite figure with an aura of mystery and magic. The character's clothing should be designed with gossamer feathers, silk, stunning embroidery, and subtle iridescent details. Incorporate dreamy colors, dynamic lighting, and detailed background elements to create a sense of awe and immersion. Consider the latest trends in fantasy art, such as incorporating unique lighting effects, exploring dynamic and compelling composition techniques, and experimenting with unique color palettes. Take inspiration from the top artists on ArtStation and Midjourney. Camera: Choose an angle that highlights the character's beauty and enhances the magical majesty of the artwork. Lighting: Utilize atmospheric lighting techniques to create depth and mood. Resolution: Aim for a high-resolution artwork to showcase intricate details and clarity. Art Inspirations: Seek inspiration from the trending artists on ArtStation, exploring different styles, genres, and themes.", "num_images": 1, "guidance_scale": 13.03, "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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "masticpiece, cinematic lighting. This is a realistic fantasy artwork with contrasting colors and a very mysterious aura. Generate a pure white woman with ((pure white skin)), metallic hair, and bold, colorful eyes. (((Her skin is whiter than snow))). Her face is extremely detailed with realistic shading and her eyes are extremely detailed with absurdly high resolution and bright, bold colors. (((Her eyes are important and must be perfect.))) She has soft, puffy lips. Include many fantasy details such as soft white feathers, beautiful French silk, delicate embroidery, snow, iridescence detailing, phantasmal iridescence detailing, and glitter. Include moonlight, snowflakes, and winterscapes. The character in the artwork is a delicate but strong petite figure with an aura of mystery and magic. The character's clothing should be designed with gossamer feathers, silk, stunning embroidery, and subtle iridescent details. Incorporate dreamy colors, dynamic lighting, and detailed background elements to create a sense of awe and immersion. Consider the latest trends in fantasy art, such as incorporating unique lighting effects, exploring dynamic and compelling composition techniques, and experimenting with unique color palettes. Take inspiration from the top artists on ArtStation and Midjourney. Camera: Choose an angle that highlights the character's beauty and enhances the magical majesty of the artwork. Lighting: Utilize atmospheric lighting techniques to create depth and mood. Resolution: Aim for a high-resolution artwork to showcase intricate details and clarity. Art Inspirations: Seek inspiration from the trending artists on ArtStation, exploring different styles, genres, and themes.", num_images: 1, guidance_scale: 13.03, 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "masticpiece, cinematic lighting. This is a realistic fantasy artwork with contrasting colors and a very mysterious aura. Generate a pure white woman with ((pure white skin)), metallic hair, and bold, colorful eyes. (((Her skin is whiter than snow))). Her face is extremely detailed with realistic shading and her eyes are extremely detailed with absurdly high resolution and bright, bold colors. (((Her eyes are important and must be perfect.))) She has soft, puffy lips. Include many fantasy details such as soft white feathers, beautiful French silk, delicate embroidery, snow, iridescence detailing, phantasmal iridescence detailing, and glitter. Include moonlight, snowflakes, and winterscapes. The character in the artwork is a delicate but strong petite figure with an aura of mystery and magic. The character's clothing should be designed with gossamer feathers, silk, stunning embroidery, and subtle iridescent details. Incorporate dreamy colors, dynamic lighting, and detailed background elements to create a sense of awe and immersion. Consider the latest trends in fantasy art, such as incorporating unique lighting effects, exploring dynamic and compelling composition techniques, and experimenting with unique color palettes. Take inspiration from the top artists on ArtStation and Midjourney. Camera: Choose an angle that highlights the character's beauty and enhances the magical majesty of the artwork. Lighting: Utilize atmospheric lighting techniques to create depth and mood. Resolution: Aim for a high-resolution artwork to showcase intricate details and clarity. Art Inspirations: Seek inspiration from the trending artists on ArtStation, exploring different styles, genres, and themes.", "num_images": 1, "guidance_scale": 13.03, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "masticpiece, cinematic lighting. This is a realistic fantasy artwork with contrasting colors and a very mysterious aura. Generate a pure white woman with ((pure white skin)), metallic hair, and bold, colorful eyes. (((Her skin is whiter than snow))). Her face is extremely detailed with realistic shading and her eyes are extremely detailed with absurdly high resolution and bright, bold colors. (((Her eyes are important and must be perfect.))) She has soft, puffy lips. Include many fantasy details such as soft white feathers, beautiful French silk, delicate embroidery, snow, iridescence detailing, phantasmal iridescence detailing, and glitter. Include moonlight, snowflakes, and winterscapes. The character in the artwork is a delicate but strong petite figure with an aura of mystery and magic. The character\'s clothing should be designed with gossamer feathers, silk, stunning embroidery, and subtle iridescent details. Incorporate dreamy colors, dynamic lighting, and detailed background elements to create a sense of awe and immersion. Consider the latest trends in fantasy art, such as incorporating unique lighting effects, exploring dynamic and compelling composition techniques, and experimenting with unique color palettes. Take inspiration from the top artists on ArtStation and Midjourney. Camera: Choose an angle that highlights the character\'s beauty and enhances the magical majesty of the artwork. Lighting: Utilize atmospheric lighting techniques to create depth and mood. Resolution: Aim for a high-resolution artwork to showcase intricate details and clarity. Art Inspirations: Seek inspiration from the trending artists on ArtStation, exploring different styles, genres, and themes.", "num_images": 1, "guidance_scale": 13.03, "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": "2023-10-24T11:42:27.582896Z", "created_at": "2023-10-24T11:42:24.430889Z", "data_removed": false, "error": null, "id": "e7tezutbqyfehrbrxtnp6h6xfe", "input": { "width": 768, "height": 768, "prompt": "masticpiece, cinematic lighting. This is a realistic fantasy artwork with contrasting colors and a very mysterious aura. Generate a pure white woman with ((pure white skin)), metallic hair, and bold, colorful eyes. (((Her skin is whiter than snow))). Her face is extremely detailed with realistic shading and her eyes are extremely detailed with absurdly high resolution and bright, bold colors. (((Her eyes are important and must be perfect.))) She has soft, puffy lips. Include many fantasy details such as soft white feathers, beautiful French silk, delicate embroidery, snow, iridescence detailing, phantasmal iridescence detailing, and glitter. Include moonlight, snowflakes, and winterscapes. The character in the artwork is a delicate but strong petite figure with an aura of mystery and magic. The character's clothing should be designed with gossamer feathers, silk, stunning embroidery, and subtle iridescent details. Incorporate dreamy colors, dynamic lighting, and detailed background elements to create a sense of awe and immersion. Consider the latest trends in fantasy art, such as incorporating unique lighting effects, exploring dynamic and compelling composition techniques, and experimenting with unique color palettes. Take inspiration from the top artists on ArtStation and Midjourney. Camera: Choose an angle that highlights the character's beauty and enhances the magical majesty of the artwork. Lighting: Utilize atmospheric lighting techniques to create depth and mood. Resolution: Aim for a high-resolution artwork to showcase intricate details and clarity. Art Inspirations: Seek inspiration from the trending artists on ArtStation, exploring different styles, genres, and themes.", "num_images": 1, "guidance_scale": 13.03, "num_inference_steps": 8 }, "logs": "Using seed: 16813\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [\"bold colors. ((( her eyes are important and must be perfect.))) she has soft, puffy lips. include many fantasy details such as soft white feathers, beautiful french silk, delicate embroidery, snow, iridescence detailing, phantasmal iridescence detailing, and glitter. include moonlight, snowflakes, and winterscapes. the character in the artwork is a delicate but strong petite figure with an aura of mystery and magic. the character's clothing should be designed with gossamer feathers, silk, stunning embroidery, and subtle iridescent details. incorporate dreamy colors, dynamic lighting, and detailed background elements to create a sense of awe and immersion. consider the latest trends in fantasy art, such as incorporating unique lighting effects, exploring dynamic and compelling composition techniques, and experimenting with unique color palettes. take inspiration from the top artists on artstation and midjourney. camera : choose an angle that highlights the character's beauty and enhances the magical majesty of the artwork. lighting : utilize atmospheric lighting techniques to create depth and mood. resolution : aim for a high - resolution artwork to showcase intricate details and clarity. art inspirations : seek inspiration from the trending artists on artstation, exploring different styles, genres, and themes.\"]\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 6.44it/s]\n 25%|██▌ | 2/8 [00:00<00:00, 6.40it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 6.38it/s]\n 50%|█████ | 4/8 [00:00<00:00, 6.37it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 6.35it/s]\n 75%|███████▌ | 6/8 [00:00<00:00, 6.35it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 6.34it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.34it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.36it/s]", "metrics": { "predict_time": 3.14632, "total_time": 3.152007 }, "output": [ "https://pbxt.replicate.delivery/OKyx8B7Ie7QPES494eaCDVUpIiE3iMsNl9cArZRnaWPierijA/out-0.png" ], "started_at": "2023-10-24T11:42:24.436576Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/e7tezutbqyfehrbrxtnp6h6xfe", "cancel": "https://api.replicate.com/v1/predictions/e7tezutbqyfehrbrxtnp6h6xfe/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 16813 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ["bold colors. ((( her eyes are important and must be perfect.))) she has soft, puffy lips. include many fantasy details such as soft white feathers, beautiful french silk, delicate embroidery, snow, iridescence detailing, phantasmal iridescence detailing, and glitter. include moonlight, snowflakes, and winterscapes. the character in the artwork is a delicate but strong petite figure with an aura of mystery and magic. the character's clothing should be designed with gossamer feathers, silk, stunning embroidery, and subtle iridescent details. incorporate dreamy colors, dynamic lighting, and detailed background elements to create a sense of awe and immersion. consider the latest trends in fantasy art, such as incorporating unique lighting effects, exploring dynamic and compelling composition techniques, and experimenting with unique color palettes. take inspiration from the top artists on artstation and midjourney. camera : choose an angle that highlights the character's beauty and enhances the magical majesty of the artwork. lighting : utilize atmospheric lighting techniques to create depth and mood. resolution : aim for a high - resolution artwork to showcase intricate details and clarity. art inspirations : seek inspiration from the trending artists on artstation, exploring different styles, genres, and themes."] 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 6.44it/s] 25%|██▌ | 2/8 [00:00<00:00, 6.40it/s] 38%|███▊ | 3/8 [00:00<00:00, 6.38it/s] 50%|█████ | 4/8 [00:00<00:00, 6.37it/s] 62%|██████▎ | 5/8 [00:00<00:00, 6.35it/s] 75%|███████▌ | 6/8 [00:00<00:00, 6.35it/s] 88%|████████▊ | 7/8 [00:01<00:00, 6.34it/s] 100%|██████████| 8/8 [00:01<00:00, 6.34it/s] 100%|██████████| 8/8 [00:01<00:00, 6.36it/s]
Prediction
luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fcIDsypnoa3byomelxzprolnu43wxuStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedby @luosiallenInput
- width
- 768
- height
- 768
- prompt
- BAKED SALMON WITH A SIDE OF ROASTED VEGETABLES
- num_images
- 1
- guidance_scale
- 8
- num_inference_steps
- 8
{ "width": 768, "height": 768, "prompt": "BAKED SALMON WITH A SIDE OF ROASTED VEGETABLES", "num_images": 1, "guidance_scale": 8, "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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", { input: { width: 768, height: 768, prompt: "BAKED SALMON WITH A SIDE OF ROASTED VEGETABLES", num_images: 1, guidance_scale: 8, 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 luosiallen/latent-consistency-model using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luosiallen/latent-consistency-model:553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", input={ "width": 768, "height": 768, "prompt": "BAKED SALMON WITH A SIDE OF ROASTED VEGETABLES", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luosiallen/latent-consistency-model 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": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc", "input": { "width": 768, "height": 768, "prompt": "BAKED SALMON WITH A SIDE OF ROASTED VEGETABLES", "num_images": 1, "guidance_scale": 8, "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": "2023-10-24T12:35:37.992846Z", "created_at": "2023-10-24T12:35:34.897498Z", "data_removed": false, "error": null, "id": "sypnoa3byomelxzprolnu43wxu", "input": { "width": 768, "height": 768, "prompt": "BAKED SALMON WITH A SIDE OF ROASTED VEGETABLES", "num_images": 1, "guidance_scale": 8, "num_inference_steps": 8 }, "logs": "Using seed: 13210\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 6.41it/s]\n 25%|██▌ | 2/8 [00:00<00:00, 6.37it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 6.34it/s]\n 50%|█████ | 4/8 [00:00<00:00, 6.33it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 6.33it/s]\n 75%|███████▌ | 6/8 [00:00<00:00, 6.34it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 6.34it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.34it/s]\n100%|██████████| 8/8 [00:01<00:00, 6.34it/s]", "metrics": { "predict_time": 3.13702, "total_time": 3.095348 }, "output": [ "https://pbxt.replicate.delivery/B7TV9KIuGGrjJNA83BDNdQgbGLWBb0J6d97UpKhFPQDGsVcE/out-0.png" ], "started_at": "2023-10-24T12:35:34.855826Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/sypnoa3byomelxzprolnu43wxu", "cancel": "https://api.replicate.com/v1/predictions/sypnoa3byomelxzprolnu43wxu/cancel" }, "version": "553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc" }
Generated inUsing seed: 13210 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 6.41it/s] 25%|██▌ | 2/8 [00:00<00:00, 6.37it/s] 38%|███▊ | 3/8 [00:00<00:00, 6.34it/s] 50%|█████ | 4/8 [00:00<00:00, 6.33it/s] 62%|██████▎ | 5/8 [00:00<00:00, 6.33it/s] 75%|███████▌ | 6/8 [00:00<00:00, 6.34it/s] 88%|████████▊ | 7/8 [00:01<00:00, 6.34it/s] 100%|██████████| 8/8 [00:01<00:00, 6.34it/s] 100%|██████████| 8/8 [00:01<00:00, 6.34it/s]
Want to make some of these yourself?
Run this model