fofr / kolors
A large-scale text-to-image generation model based on latent diffusion, developed by the Kuaishou Kolors team
Prediction
fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bcaModelID6ewyhdp2yxrgm0cgjbbtytwfqcStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- cfg
- 5
- steps
- 25
- width
- 1024
- height
- 1024
- prompt
- a man and woman are standing together against a backdrop, the backdrop is divided equally in half down the middle, left side is red, right side is gold, the woman is wearing a t-shirt with a yoda motif, she has a long skirt with birds on it, the man is wearing a three piece purple suit, he has spiky blue hair
- scheduler
- EulerDiscreteScheduler
- output_format
- webp
- output_quality
- 80
- negative_prompt
- number_of_images
- 1
{ "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "a man and woman are standing together against a backdrop, the backdrop is divided equally in half down the middle, left side is red, right side is gold, the woman is wearing a t-shirt with a yoda motif, she has a long skirt with birds on it, the man is wearing a three piece purple suit, he has spiky blue hair", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", { input: { cfg: 5, steps: 25, width: 1024, height: 1024, prompt: "a man and woman are standing together against a backdrop, the backdrop is divided equally in half down the middle, left side is red, right side is gold, the woman is wearing a t-shirt with a yoda motif, she has a long skirt with birds on it, the man is wearing a three piece purple suit, he has spiky blue hair", scheduler: "EulerDiscreteScheduler", output_format: "webp", output_quality: 80, negative_prompt: "", number_of_images: 1 } } ); // 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 fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", input={ "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "a man and woman are standing together against a backdrop, the backdrop is divided equally in half down the middle, left side is red, right side is gold, the woman is wearing a t-shirt with a yoda motif, she has a long skirt with birds on it, the man is wearing a three piece purple suit, he has spiky blue hair", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/kolors 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": "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", "input": { "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "a man and woman are standing together against a backdrop, the backdrop is divided equally in half down the middle, left side is red, right side is gold, the woman is wearing a t-shirt with a yoda motif, she has a long skirt with birds on it, the man is wearing a three piece purple suit, he has spiky blue hair", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-07-08T14:58:36.854901Z", "created_at": "2024-07-08T14:55:32.087000Z", "data_removed": false, "error": null, "id": "6ewyhdp2yxrgm0cgjbbtytwfqc", "input": { "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "a man and woman are standing together against a backdrop, the backdrop is divided equally in half down the middle, left side is red, right side is gold, the woman is wearing a t-shirt with a yoda motif, she has a long skirt with birds on it, the man is wearing a three piece purple suit, he has spiky blue hair", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 }, "logs": "Random seed set to: 1764657793\nRunning workflow\ngot prompt\nExecuting node 1, title: (Down)load Kolors Model, class type: DownloadAndLoadKolorsModel\nLoad UNET...\nLoad TEXT_ENCODER...\nExecuting node 6, title: Load ChatGLM3 Model, class type: LoadChatGLM3\na man and woman are standing together against a backdrop, the backdrop is divided equally in half down the middle, left side is red, right side is gold, the woman is wearing a t-shirt with a yoda motif, she has a long skirt with birds on it, the man is wearing a three piece purple suit, he has spiky blue hair\nExecuting node 3, title: Kolors Text Encode, class type: KolorsTextEncode\nExecuting node 2, title: Kolors Sampler, class type: KolorsSampler\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:09, 2.52it/s]\n 8%|▊ | 2/25 [00:00<00:05, 4.45it/s]\n 12%|█▏ | 3/25 [00:00<00:04, 4.94it/s]\n 16%|█▌ | 4/25 [00:00<00:04, 5.05it/s]\n 20%|██ | 5/25 [00:01<00:03, 5.12it/s]\n 24%|██▍ | 6/25 [00:01<00:03, 5.15it/s]\n 28%|██▊ | 7/25 [00:01<00:03, 5.15it/s]\n 32%|███▏ | 8/25 [00:01<00:03, 5.16it/s]\n 36%|███▌ | 9/25 [00:01<00:03, 5.18it/s]\n 40%|████ | 10/25 [00:02<00:02, 5.19it/s]\n 44%|████▍ | 11/25 [00:02<00:02, 5.19it/s]\n 48%|████▊ | 12/25 [00:02<00:02, 5.18it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 5.18it/s]\n 56%|█████▌ | 14/25 [00:02<00:02, 5.18it/s]\n 60%|██████ | 15/25 [00:02<00:01, 5.19it/s]\n 64%|██████▍ | 16/25 [00:03<00:01, 5.19it/s]\n 68%|██████▊ | 17/25 [00:03<00:01, 5.18it/s]\n 72%|███████▏ | 18/25 [00:03<00:01, 5.18it/s]\n 76%|███████▌ | 19/25 [00:03<00:01, 5.18it/s]\n 80%|████████ | 20/25 [00:03<00:00, 5.17it/s]\n 84%|████████▍ | 21/25 [00:04<00:00, 5.18it/s]\n 88%|████████▊ | 22/25 [00:04<00:00, 5.18it/s]\n 92%|█████████▏| 23/25 [00:04<00:00, 5.17it/s]\n 96%|█████████▌| 24/25 [00:04<00:00, 5.17it/s]\n100%|██████████| 25/25 [00:04<00:00, 5.17it/s]\n100%|██████████| 25/25 [00:04<00:00, 5.08it/s]\nExecuting node 8, title: Load VAE, class type: VAELoader\nUsing pytorch attention in VAE\nUsing pytorch attention in VAE\nRequested to load AutoencoderKL\nLoading 1 new model\nExecuting node 7, title: VAE Decode, class type: VAEDecode\nExecuting node 9, title: Save Image, class type: SaveImage\nPrompt executed in 33.97 seconds\noutputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nR8_Kolor_00001_.png", "metrics": { "predict_time": 34.851112069, "total_time": 184.767901 }, "output": [ "https://replicate.delivery/pbxt/Xap7H5g6IdrbNp2iP1WFBf5SbnHxvicF6R90rjTuFwZOhNjJA/R8_Kolor_00001_.webp" ], "started_at": "2024-07-08T14:58:02.003789Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/6ewyhdp2yxrgm0cgjbbtytwfqc", "cancel": "https://api.replicate.com/v1/predictions/6ewyhdp2yxrgm0cgjbbtytwfqc/cancel" }, "version": "05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca" }
Generated inRandom seed set to: 1764657793 Running workflow got prompt Executing node 1, title: (Down)load Kolors Model, class type: DownloadAndLoadKolorsModel Load UNET... Load TEXT_ENCODER... Executing node 6, title: Load ChatGLM3 Model, class type: LoadChatGLM3 a man and woman are standing together against a backdrop, the backdrop is divided equally in half down the middle, left side is red, right side is gold, the woman is wearing a t-shirt with a yoda motif, she has a long skirt with birds on it, the man is wearing a three piece purple suit, he has spiky blue hair Executing node 3, title: Kolors Text Encode, class type: KolorsTextEncode Executing node 2, title: Kolors Sampler, class type: KolorsSampler 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:09, 2.52it/s] 8%|▊ | 2/25 [00:00<00:05, 4.45it/s] 12%|█▏ | 3/25 [00:00<00:04, 4.94it/s] 16%|█▌ | 4/25 [00:00<00:04, 5.05it/s] 20%|██ | 5/25 [00:01<00:03, 5.12it/s] 24%|██▍ | 6/25 [00:01<00:03, 5.15it/s] 28%|██▊ | 7/25 [00:01<00:03, 5.15it/s] 32%|███▏ | 8/25 [00:01<00:03, 5.16it/s] 36%|███▌ | 9/25 [00:01<00:03, 5.18it/s] 40%|████ | 10/25 [00:02<00:02, 5.19it/s] 44%|████▍ | 11/25 [00:02<00:02, 5.19it/s] 48%|████▊ | 12/25 [00:02<00:02, 5.18it/s] 52%|█████▏ | 13/25 [00:02<00:02, 5.18it/s] 56%|█████▌ | 14/25 [00:02<00:02, 5.18it/s] 60%|██████ | 15/25 [00:02<00:01, 5.19it/s] 64%|██████▍ | 16/25 [00:03<00:01, 5.19it/s] 68%|██████▊ | 17/25 [00:03<00:01, 5.18it/s] 72%|███████▏ | 18/25 [00:03<00:01, 5.18it/s] 76%|███████▌ | 19/25 [00:03<00:01, 5.18it/s] 80%|████████ | 20/25 [00:03<00:00, 5.17it/s] 84%|████████▍ | 21/25 [00:04<00:00, 5.18it/s] 88%|████████▊ | 22/25 [00:04<00:00, 5.18it/s] 92%|█████████▏| 23/25 [00:04<00:00, 5.17it/s] 96%|█████████▌| 24/25 [00:04<00:00, 5.17it/s] 100%|██████████| 25/25 [00:04<00:00, 5.17it/s] 100%|██████████| 25/25 [00:04<00:00, 5.08it/s] Executing node 8, title: Load VAE, class type: VAELoader Using pytorch attention in VAE Using pytorch attention in VAE Requested to load AutoencoderKL Loading 1 new model Executing node 7, title: VAE Decode, class type: VAEDecode Executing node 9, title: Save Image, class type: SaveImage Prompt executed in 33.97 seconds outputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}} ==================================== R8_Kolor_00001_.png
Prediction
fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bcaModelIDcdz12h2gehrgg0cgjbh8kteym4StatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- cfg
- 5
- steps
- 25
- width
- 1024
- height
- 1024
- prompt
- a kingfisher saying "hello" in a speech bubble
- scheduler
- EulerDiscreteScheduler
- output_format
- webp
- output_quality
- 80
- negative_prompt
- number_of_images
- 1
{ "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "a kingfisher saying \"hello\" in a speech bubble", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", { input: { cfg: 5, steps: 25, width: 1024, height: 1024, prompt: "a kingfisher saying \"hello\" in a speech bubble", scheduler: "EulerDiscreteScheduler", output_format: "webp", output_quality: 80, negative_prompt: "", number_of_images: 1 } } ); // 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 fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", input={ "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "a kingfisher saying \"hello\" in a speech bubble", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/kolors 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": "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", "input": { "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "a kingfisher saying \\"hello\\" in a speech bubble", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-07-08T15:07:09.536014Z", "created_at": "2024-07-08T15:07:03.668000Z", "data_removed": false, "error": null, "id": "cdz12h2gehrgg0cgjbh8kteym4", "input": { "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "a kingfisher saying \"hello\" in a speech bubble", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 }, "logs": "Random seed set to: 2209112854\nRunning workflow\ngot prompt\nExecuting node 2, title: Kolors Sampler, class type: KolorsSampler\n 0%| | 0/25 [00:00<?, ?it/s]\n 8%|▊ | 2/25 [00:00<00:03, 7.09it/s]\n 12%|█▏ | 3/25 [00:00<00:03, 6.17it/s]\n 16%|█▌ | 4/25 [00:00<00:03, 5.76it/s]\n 20%|██ | 5/25 [00:00<00:03, 5.55it/s]\n 24%|██▍ | 6/25 [00:01<00:03, 5.40it/s]\n 28%|██▊ | 7/25 [00:01<00:03, 5.32it/s]\n 32%|███▏ | 8/25 [00:01<00:03, 5.27it/s]\n 36%|███▌ | 9/25 [00:01<00:03, 5.24it/s]\n 40%|████ | 10/25 [00:01<00:02, 5.22it/s]\n 44%|████▍ | 11/25 [00:02<00:02, 5.19it/s]\n 48%|████▊ | 12/25 [00:02<00:02, 5.18it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 5.17it/s]\n 56%|█████▌ | 14/25 [00:02<00:02, 5.17it/s]\n 60%|██████ | 15/25 [00:02<00:01, 5.17it/s]\n 64%|██████▍ | 16/25 [00:02<00:01, 5.16it/s]\n 68%|██████▊ | 17/25 [00:03<00:01, 5.15it/s]\n 72%|███████▏ | 18/25 [00:03<00:01, 5.15it/s]\n 76%|███████▌ | 19/25 [00:03<00:01, 5.15it/s]\n 80%|████████ | 20/25 [00:03<00:00, 5.15it/s]\n 84%|████████▍ | 21/25 [00:03<00:00, 5.15it/s]\n 88%|████████▊ | 22/25 [00:04<00:00, 5.15it/s]\n 92%|█████████▏| 23/25 [00:04<00:00, 5.15it/s]\n 96%|█████████▌| 24/25 [00:04<00:00, 5.15it/s]\n100%|██████████| 25/25 [00:04<00:00, 5.15it/s]\n100%|██████████| 25/25 [00:04<00:00, 5.27it/s]\nExecuting node 7, title: VAE Decode, class type: VAEDecode\nExecuting node 9, title: Save Image, class type: SaveImage\nPrompt executed in 5.38 seconds\noutputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nR8_Kolor_00001_.png", "metrics": { "predict_time": 5.858137734, "total_time": 5.868014 }, "output": [ "https://replicate.delivery/pbxt/D1xnP9anGMLMKdNgEz8IM8VRMxb1fDmm6waHBZ2YeAhdKbGTA/R8_Kolor_00001_.webp" ], "started_at": "2024-07-08T15:07:03.677876Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/cdz12h2gehrgg0cgjbh8kteym4", "cancel": "https://api.replicate.com/v1/predictions/cdz12h2gehrgg0cgjbh8kteym4/cancel" }, "version": "05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca" }
Generated inRandom seed set to: 2209112854 Running workflow got prompt Executing node 2, title: Kolors Sampler, class type: KolorsSampler 0%| | 0/25 [00:00<?, ?it/s] 8%|▊ | 2/25 [00:00<00:03, 7.09it/s] 12%|█▏ | 3/25 [00:00<00:03, 6.17it/s] 16%|█▌ | 4/25 [00:00<00:03, 5.76it/s] 20%|██ | 5/25 [00:00<00:03, 5.55it/s] 24%|██▍ | 6/25 [00:01<00:03, 5.40it/s] 28%|██▊ | 7/25 [00:01<00:03, 5.32it/s] 32%|███▏ | 8/25 [00:01<00:03, 5.27it/s] 36%|███▌ | 9/25 [00:01<00:03, 5.24it/s] 40%|████ | 10/25 [00:01<00:02, 5.22it/s] 44%|████▍ | 11/25 [00:02<00:02, 5.19it/s] 48%|████▊ | 12/25 [00:02<00:02, 5.18it/s] 52%|█████▏ | 13/25 [00:02<00:02, 5.17it/s] 56%|█████▌ | 14/25 [00:02<00:02, 5.17it/s] 60%|██████ | 15/25 [00:02<00:01, 5.17it/s] 64%|██████▍ | 16/25 [00:02<00:01, 5.16it/s] 68%|██████▊ | 17/25 [00:03<00:01, 5.15it/s] 72%|███████▏ | 18/25 [00:03<00:01, 5.15it/s] 76%|███████▌ | 19/25 [00:03<00:01, 5.15it/s] 80%|████████ | 20/25 [00:03<00:00, 5.15it/s] 84%|████████▍ | 21/25 [00:03<00:00, 5.15it/s] 88%|████████▊ | 22/25 [00:04<00:00, 5.15it/s] 92%|█████████▏| 23/25 [00:04<00:00, 5.15it/s] 96%|█████████▌| 24/25 [00:04<00:00, 5.15it/s] 100%|██████████| 25/25 [00:04<00:00, 5.15it/s] 100%|██████████| 25/25 [00:04<00:00, 5.27it/s] Executing node 7, title: VAE Decode, class type: VAEDecode Executing node 9, title: Save Image, class type: SaveImage Prompt executed in 5.38 seconds outputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}} ==================================== R8_Kolor_00001_.png
Prediction
fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bcaModelID1svy444hhsrgm0cgjbht2gs2dgStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- cfg
- 5
- steps
- 25
- width
- 1024
- height
- 1024
- prompt
- A cute, iridescent bird with pastel colors perched in an enchanted forest filled with glowing fireflies and mystical creatures. The background is a dark cave illuminated by soft moonlight filtering through the trees. The scene depicts the bird perched in the style of an enchanted forest filled with glowing insects and fantastical beings. The backdrop is a dim cavern lit by gentle lunar light penetrating the woods.
- scheduler
- EulerDiscreteScheduler
- output_format
- webp
- output_quality
- 80
- negative_prompt
- number_of_images
- 1
{ "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A cute, iridescent bird with pastel colors perched in an enchanted forest filled with glowing fireflies and mystical creatures. The background is a dark cave illuminated by soft moonlight filtering through the trees. The scene depicts the bird perched in the style of an enchanted forest filled with glowing insects and fantastical beings. The backdrop is a dim cavern lit by gentle lunar light penetrating the woods.", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", { input: { cfg: 5, steps: 25, width: 1024, height: 1024, prompt: "A cute, iridescent bird with pastel colors perched in an enchanted forest filled with glowing fireflies and mystical creatures. The background is a dark cave illuminated by soft moonlight filtering through the trees. The scene depicts the bird perched in the style of an enchanted forest filled with glowing insects and fantastical beings. The backdrop is a dim cavern lit by gentle lunar light penetrating the woods.", scheduler: "EulerDiscreteScheduler", output_format: "webp", output_quality: 80, negative_prompt: "", number_of_images: 1 } } ); // 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 fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", input={ "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A cute, iridescent bird with pastel colors perched in an enchanted forest filled with glowing fireflies and mystical creatures. The background is a dark cave illuminated by soft moonlight filtering through the trees. The scene depicts the bird perched in the style of an enchanted forest filled with glowing insects and fantastical beings. The backdrop is a dim cavern lit by gentle lunar light penetrating the woods.", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/kolors 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": "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", "input": { "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A cute, iridescent bird with pastel colors perched in an enchanted forest filled with glowing fireflies and mystical creatures. The background is a dark cave illuminated by soft moonlight filtering through the trees. The scene depicts the bird perched in the style of an enchanted forest filled with glowing insects and fantastical beings. The backdrop is a dim cavern lit by gentle lunar light penetrating the woods.", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-07-08T15:08:32.894857Z", "created_at": "2024-07-08T15:08:25.870000Z", "data_removed": false, "error": null, "id": "1svy444hhsrgm0cgjbht2gs2dg", "input": { "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A cute, iridescent bird with pastel colors perched in an enchanted forest filled with glowing fireflies and mystical creatures. The background is a dark cave illuminated by soft moonlight filtering through the trees. The scene depicts the bird perched in the style of an enchanted forest filled with glowing insects and fantastical beings. The backdrop is a dim cavern lit by gentle lunar light penetrating the woods.", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "", "number_of_images": 1 }, "logs": "Random seed set to: 1704591624\nRunning workflow\ngot prompt\nExecuting node 3, title: Kolors Text Encode, class type: KolorsTextEncode\nA cute, iridescent bird with pastel colors perched in an enchanted forest filled with glowing fireflies and mystical creatures. The background is a dark cave illuminated by soft moonlight filtering through the trees. The scene depicts the bird perched in the style of an enchanted forest filled with glowing insects and fantastical beings. The backdrop is a dim cavern lit by gentle lunar light penetrating the woods.\nExecuting node 2, title: Kolors Sampler, class type: KolorsSampler\n 0%| | 0/25 [00:00<?, ?it/s]\n 8%|▊ | 2/25 [00:00<00:03, 7.00it/s]\n 12%|█▏ | 3/25 [00:00<00:03, 6.18it/s]\n 16%|█▌ | 4/25 [00:00<00:03, 5.77it/s]\n 20%|██ | 5/25 [00:00<00:03, 5.57it/s]\n 24%|██▍ | 6/25 [00:01<00:03, 5.42it/s]\n 28%|██▊ | 7/25 [00:01<00:03, 5.35it/s]\n 32%|███▏ | 8/25 [00:01<00:03, 5.30it/s]\n 36%|███▌ | 9/25 [00:01<00:03, 5.28it/s]\n 40%|████ | 10/25 [00:01<00:02, 5.25it/s]\n 44%|████▍ | 11/25 [00:02<00:02, 5.21it/s]\n 48%|████▊ | 12/25 [00:02<00:02, 5.20it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 5.20it/s]\n 56%|█████▌ | 14/25 [00:02<00:02, 5.20it/s]\n 60%|██████ | 15/25 [00:02<00:01, 5.20it/s]\n 64%|██████▍ | 16/25 [00:02<00:01, 5.18it/s]\n 68%|██████▊ | 17/25 [00:03<00:01, 5.17it/s]\n 72%|███████▏ | 18/25 [00:03<00:01, 5.18it/s]\n 76%|███████▌ | 19/25 [00:03<00:01, 5.18it/s]\n 80%|████████ | 20/25 [00:03<00:00, 5.18it/s]\n 84%|████████▍ | 21/25 [00:03<00:00, 5.17it/s]\n 88%|████████▊ | 22/25 [00:04<00:00, 5.17it/s]\n 92%|█████████▏| 23/25 [00:04<00:00, 5.17it/s]\n 96%|█████████▌| 24/25 [00:04<00:00, 5.17it/s]\n100%|██████████| 25/25 [00:04<00:00, 5.18it/s]\n100%|██████████| 25/25 [00:04<00:00, 5.30it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\nExecuting node 7, title: VAE Decode, class type: VAEDecode\nExecuting node 9, title: Save Image, class type: SaveImage\nPrompt executed in 5.73 seconds\noutputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nR8_Kolor_00001_.png", "metrics": { "predict_time": 7.015727706, "total_time": 7.024857 }, "output": [ "https://replicate.delivery/pbxt/fRhSLLvBU6SsFCjufzkSzfmxIyVfqKtqUSvU5ZzqDB4BvsZMB/R8_Kolor_00001_.webp" ], "started_at": "2024-07-08T15:08:25.879129Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/1svy444hhsrgm0cgjbht2gs2dg", "cancel": "https://api.replicate.com/v1/predictions/1svy444hhsrgm0cgjbht2gs2dg/cancel" }, "version": "05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca" }
Generated inRandom seed set to: 1704591624 Running workflow got prompt Executing node 3, title: Kolors Text Encode, class type: KolorsTextEncode A cute, iridescent bird with pastel colors perched in an enchanted forest filled with glowing fireflies and mystical creatures. The background is a dark cave illuminated by soft moonlight filtering through the trees. The scene depicts the bird perched in the style of an enchanted forest filled with glowing insects and fantastical beings. The backdrop is a dim cavern lit by gentle lunar light penetrating the woods. Executing node 2, title: Kolors Sampler, class type: KolorsSampler 0%| | 0/25 [00:00<?, ?it/s] 8%|▊ | 2/25 [00:00<00:03, 7.00it/s] 12%|█▏ | 3/25 [00:00<00:03, 6.18it/s] 16%|█▌ | 4/25 [00:00<00:03, 5.77it/s] 20%|██ | 5/25 [00:00<00:03, 5.57it/s] 24%|██▍ | 6/25 [00:01<00:03, 5.42it/s] 28%|██▊ | 7/25 [00:01<00:03, 5.35it/s] 32%|███▏ | 8/25 [00:01<00:03, 5.30it/s] 36%|███▌ | 9/25 [00:01<00:03, 5.28it/s] 40%|████ | 10/25 [00:01<00:02, 5.25it/s] 44%|████▍ | 11/25 [00:02<00:02, 5.21it/s] 48%|████▊ | 12/25 [00:02<00:02, 5.20it/s] 52%|█████▏ | 13/25 [00:02<00:02, 5.20it/s] 56%|█████▌ | 14/25 [00:02<00:02, 5.20it/s] 60%|██████ | 15/25 [00:02<00:01, 5.20it/s] 64%|██████▍ | 16/25 [00:02<00:01, 5.18it/s] 68%|██████▊ | 17/25 [00:03<00:01, 5.17it/s] 72%|███████▏ | 18/25 [00:03<00:01, 5.18it/s] 76%|███████▌ | 19/25 [00:03<00:01, 5.18it/s] 80%|████████ | 20/25 [00:03<00:00, 5.18it/s] 84%|████████▍ | 21/25 [00:03<00:00, 5.17it/s] 88%|████████▊ | 22/25 [00:04<00:00, 5.17it/s] 92%|█████████▏| 23/25 [00:04<00:00, 5.17it/s] 96%|█████████▌| 24/25 [00:04<00:00, 5.17it/s] 100%|██████████| 25/25 [00:04<00:00, 5.18it/s] 100%|██████████| 25/25 [00:04<00:00, 5.30it/s] Requested to load AutoencoderKL Loading 1 new model Executing node 7, title: VAE Decode, class type: VAEDecode Executing node 9, title: Save Image, class type: SaveImage Prompt executed in 5.73 seconds outputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}} ==================================== R8_Kolor_00001_.png
Prediction
fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bcaModelID8jntebak19rgp0cgjbjr4vxgvcStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- cfg
- 5
- steps
- 25
- width
- 1024
- height
- 1024
- prompt
- A bold black and white ink illustration, on black, of an elegant woman with shoulder length blonde hair, wearing a black striped sweater holding her hand to the side of face as if she is covering it up in front of his eyes, simple lines, flat design, vector art style, high contrast, bold lines, clean lines, minimalistic, white on solid dark background, high resolution
- scheduler
- EulerDiscreteScheduler
- output_format
- webp
- output_quality
- 80
- negative_prompt
- pencil sketch
- number_of_images
- 1
{ "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A bold black and white ink illustration, on black, of an elegant woman with shoulder length blonde hair, wearing a black striped sweater holding her hand to the side of face as if she is covering it up in front of his eyes, simple lines, flat design, vector art style, high contrast, bold lines, clean lines, minimalistic, white on solid dark background, high resolution", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "pencil sketch", "number_of_images": 1 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", { input: { cfg: 5, steps: 25, width: 1024, height: 1024, prompt: "A bold black and white ink illustration, on black, of an elegant woman with shoulder length blonde hair, wearing a black striped sweater holding her hand to the side of face as if she is covering it up in front of his eyes, simple lines, flat design, vector art style, high contrast, bold lines, clean lines, minimalistic, white on solid dark background, high resolution", scheduler: "EulerDiscreteScheduler", output_format: "webp", output_quality: 80, negative_prompt: "pencil sketch", number_of_images: 1 } } ); // 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 fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", input={ "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A bold black and white ink illustration, on black, of an elegant woman with shoulder length blonde hair, wearing a black striped sweater holding her hand to the side of face as if she is covering it up in front of his eyes, simple lines, flat design, vector art style, high contrast, bold lines, clean lines, minimalistic, white on solid dark background, high resolution", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "pencil sketch", "number_of_images": 1 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/kolors 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": "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", "input": { "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A bold black and white ink illustration, on black, of an elegant woman with shoulder length blonde hair, wearing a black striped sweater holding her hand to the side of face as if she is covering it up in front of his eyes, simple lines, flat design, vector art style, high contrast, bold lines, clean lines, minimalistic, white on solid dark background, high resolution", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "pencil sketch", "number_of_images": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-07-08T15:10:27.269765Z", "created_at": "2024-07-08T15:10:20.938000Z", "data_removed": false, "error": null, "id": "8jntebak19rgp0cgjbjr4vxgvc", "input": { "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A bold black and white ink illustration, on black, of an elegant woman with shoulder length blonde hair, wearing a black striped sweater holding her hand to the side of face as if she is covering it up in front of his eyes, simple lines, flat design, vector art style, high contrast, bold lines, clean lines, minimalistic, white on solid dark background, high resolution", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "pencil sketch", "number_of_images": 1 }, "logs": "Random seed set to: 3850936431\nRunning workflow\ngot prompt\nExecuting node 3, title: Kolors Text Encode, class type: KolorsTextEncode\nA bold black and white ink illustration, on black, of an elegant woman with shoulder length blonde hair, wearing a black striped sweater holding her hand to the side of face as if she is covering it up in front of his eyes, simple lines, flat design, vector art style, high contrast, bold lines, clean lines, minimalistic, white on solid dark background, high resolution\nExecuting node 2, title: Kolors Sampler, class type: KolorsSampler\n 0%| | 0/25 [00:00<?, ?it/s]\n 8%|▊ | 2/25 [00:00<00:03, 7.07it/s]\n 12%|█▏ | 3/25 [00:00<00:03, 6.16it/s]\n 16%|█▌ | 4/25 [00:00<00:03, 5.76it/s]\n 20%|██ | 5/25 [00:00<00:03, 5.55it/s]\n 24%|██▍ | 6/25 [00:01<00:03, 5.40it/s]\n 28%|██▊ | 7/25 [00:01<00:03, 5.32it/s]\n 32%|███▏ | 8/25 [00:01<00:03, 5.27it/s]\n 36%|███▌ | 9/25 [00:01<00:03, 5.24it/s]\n 40%|████ | 10/25 [00:01<00:02, 5.22it/s]\n 44%|████▍ | 11/25 [00:02<00:02, 5.20it/s]\n 48%|████▊ | 12/25 [00:02<00:02, 5.19it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 5.19it/s]\n 56%|█████▌ | 14/25 [00:02<00:02, 5.18it/s]\n 60%|██████ | 15/25 [00:02<00:01, 5.18it/s]\n 64%|██████▍ | 16/25 [00:02<00:01, 5.17it/s]\n 68%|██████▊ | 17/25 [00:03<00:01, 5.17it/s]\n 72%|███████▏ | 18/25 [00:03<00:01, 5.17it/s]\n 76%|███████▌ | 19/25 [00:03<00:01, 5.17it/s]\n 80%|████████ | 20/25 [00:03<00:00, 5.17it/s]\n 84%|████████▍ | 21/25 [00:03<00:00, 5.16it/s]\n 88%|████████▊ | 22/25 [00:04<00:00, 5.16it/s]\n 92%|█████████▏| 23/25 [00:04<00:00, 5.16it/s]\n 96%|█████████▌| 24/25 [00:04<00:00, 5.16it/s]\n100%|██████████| 25/25 [00:04<00:00, 5.16it/s]\n100%|██████████| 25/25 [00:04<00:00, 5.28it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\nExecuting node 7, title: VAE Decode, class type: VAEDecode\nExecuting node 9, title: Save Image, class type: SaveImage\nPrompt executed in 5.61 seconds\noutputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nR8_Kolor_00001_.png", "metrics": { "predict_time": 6.321621117, "total_time": 6.331765 }, "output": [ "https://replicate.delivery/pbxt/yKP0veffdjVxKpQicl2f6NSg664CprzGcejsBg4gXdwUsZzYC/R8_Kolor_00001_.webp" ], "started_at": "2024-07-08T15:10:20.948144Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/8jntebak19rgp0cgjbjr4vxgvc", "cancel": "https://api.replicate.com/v1/predictions/8jntebak19rgp0cgjbjr4vxgvc/cancel" }, "version": "05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca" }
Generated inRandom seed set to: 3850936431 Running workflow got prompt Executing node 3, title: Kolors Text Encode, class type: KolorsTextEncode A bold black and white ink illustration, on black, of an elegant woman with shoulder length blonde hair, wearing a black striped sweater holding her hand to the side of face as if she is covering it up in front of his eyes, simple lines, flat design, vector art style, high contrast, bold lines, clean lines, minimalistic, white on solid dark background, high resolution Executing node 2, title: Kolors Sampler, class type: KolorsSampler 0%| | 0/25 [00:00<?, ?it/s] 8%|▊ | 2/25 [00:00<00:03, 7.07it/s] 12%|█▏ | 3/25 [00:00<00:03, 6.16it/s] 16%|█▌ | 4/25 [00:00<00:03, 5.76it/s] 20%|██ | 5/25 [00:00<00:03, 5.55it/s] 24%|██▍ | 6/25 [00:01<00:03, 5.40it/s] 28%|██▊ | 7/25 [00:01<00:03, 5.32it/s] 32%|███▏ | 8/25 [00:01<00:03, 5.27it/s] 36%|███▌ | 9/25 [00:01<00:03, 5.24it/s] 40%|████ | 10/25 [00:01<00:02, 5.22it/s] 44%|████▍ | 11/25 [00:02<00:02, 5.20it/s] 48%|████▊ | 12/25 [00:02<00:02, 5.19it/s] 52%|█████▏ | 13/25 [00:02<00:02, 5.19it/s] 56%|█████▌ | 14/25 [00:02<00:02, 5.18it/s] 60%|██████ | 15/25 [00:02<00:01, 5.18it/s] 64%|██████▍ | 16/25 [00:02<00:01, 5.17it/s] 68%|██████▊ | 17/25 [00:03<00:01, 5.17it/s] 72%|███████▏ | 18/25 [00:03<00:01, 5.17it/s] 76%|███████▌ | 19/25 [00:03<00:01, 5.17it/s] 80%|████████ | 20/25 [00:03<00:00, 5.17it/s] 84%|████████▍ | 21/25 [00:03<00:00, 5.16it/s] 88%|████████▊ | 22/25 [00:04<00:00, 5.16it/s] 92%|█████████▏| 23/25 [00:04<00:00, 5.16it/s] 96%|█████████▌| 24/25 [00:04<00:00, 5.16it/s] 100%|██████████| 25/25 [00:04<00:00, 5.16it/s] 100%|██████████| 25/25 [00:04<00:00, 5.28it/s] Requested to load AutoencoderKL Loading 1 new model Executing node 7, title: VAE Decode, class type: VAEDecode Executing node 9, title: Save Image, class type: SaveImage Prompt executed in 5.61 seconds outputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}} ==================================== R8_Kolor_00001_.png
Prediction
fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bcaModelIDkzg9t4s6mhrgp0cgjbkbc0663cStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- cfg
- 5
- steps
- 25
- width
- 1024
- height
- 1024
- prompt
- A girl with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table in the style of Akira Toriyama. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light
- scheduler
- EulerDiscreteScheduler
- output_format
- webp
- output_quality
- 80
- negative_prompt
- photo, photography
- number_of_images
- 1
{ "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A girl with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table in the style of Akira Toriyama. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "photo, photography", "number_of_images": 1 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", { input: { cfg: 5, steps: 25, width: 1024, height: 1024, prompt: "A girl with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table in the style of Akira Toriyama. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light", scheduler: "EulerDiscreteScheduler", output_format: "webp", output_quality: 80, negative_prompt: "photo, photography", number_of_images: 1 } } ); // 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 fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", input={ "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A girl with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table in the style of Akira Toriyama. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "photo, photography", "number_of_images": 1 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/kolors 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": "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", "input": { "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A girl with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table in the style of Akira Toriyama. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "photo, photography", "number_of_images": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-07-08T15:11:21.587056Z", "created_at": "2024-07-08T15:11:15.108000Z", "data_removed": false, "error": null, "id": "kzg9t4s6mhrgp0cgjbkbc0663c", "input": { "cfg": 5, "steps": 25, "width": 1024, "height": 1024, "prompt": "A girl with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table in the style of Akira Toriyama. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "photo, photography", "number_of_images": 1 }, "logs": "Random seed set to: 1480669240\nRunning workflow\ngot prompt\nExecuting node 3, title: Kolors Text Encode, class type: KolorsTextEncode\nA girl with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table in the style of Akira Toriyama. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light\nExecuting node 2, title: Kolors Sampler, class type: KolorsSampler\n 0%| | 0/25 [00:00<?, ?it/s]\n 8%|▊ | 2/25 [00:00<00:03, 7.09it/s]\n 12%|█▏ | 3/25 [00:00<00:03, 6.16it/s]\n 16%|█▌ | 4/25 [00:00<00:03, 5.76it/s]\n 20%|██ | 5/25 [00:00<00:03, 5.55it/s]\n 24%|██▍ | 6/25 [00:01<00:03, 5.39it/s]\n 28%|██▊ | 7/25 [00:01<00:03, 5.31it/s]\n 32%|███▏ | 8/25 [00:01<00:03, 5.27it/s]\n 36%|███▌ | 9/25 [00:01<00:03, 5.24it/s]\n 40%|████ | 10/25 [00:01<00:02, 5.22it/s]\n 44%|████▍ | 11/25 [00:02<00:02, 5.19it/s]\n 48%|████▊ | 12/25 [00:02<00:02, 5.18it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 5.17it/s]\n 56%|█████▌ | 14/25 [00:02<00:02, 5.17it/s]\n 60%|██████ | 15/25 [00:02<00:01, 5.16it/s]\n 64%|██████▍ | 16/25 [00:02<00:01, 5.16it/s]\n 68%|██████▊ | 17/25 [00:03<00:01, 5.15it/s]\n 72%|███████▏ | 18/25 [00:03<00:01, 5.15it/s]\n 76%|███████▌ | 19/25 [00:03<00:01, 5.15it/s]\n 80%|████████ | 20/25 [00:03<00:00, 5.15it/s]\n 84%|████████▍ | 21/25 [00:03<00:00, 5.15it/s]\n 88%|████████▊ | 22/25 [00:04<00:00, 5.15it/s]\n 92%|█████████▏| 23/25 [00:04<00:00, 5.15it/s]\n 96%|█████████▌| 24/25 [00:04<00:00, 5.14it/s]\n100%|██████████| 25/25 [00:04<00:00, 5.14it/s]\n100%|██████████| 25/25 [00:04<00:00, 5.27it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\nExecuting node 7, title: VAE Decode, class type: VAEDecode\nExecuting node 9, title: Save Image, class type: SaveImage\nPrompt executed in 5.71 seconds\noutputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nR8_Kolor_00001_.png", "metrics": { "predict_time": 6.469285967, "total_time": 6.479056 }, "output": [ "https://replicate.delivery/pbxt/UnFC3FgIlYaPG1NFfFpCbGVguZ1eAhCKHZ91FKYNrHIZObGTA/R8_Kolor_00001_.webp" ], "started_at": "2024-07-08T15:11:15.117770Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/kzg9t4s6mhrgp0cgjbkbc0663c", "cancel": "https://api.replicate.com/v1/predictions/kzg9t4s6mhrgp0cgjbkbc0663c/cancel" }, "version": "05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca" }
Generated inRandom seed set to: 1480669240 Running workflow got prompt Executing node 3, title: Kolors Text Encode, class type: KolorsTextEncode A girl with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table in the style of Akira Toriyama. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light Executing node 2, title: Kolors Sampler, class type: KolorsSampler 0%| | 0/25 [00:00<?, ?it/s] 8%|▊ | 2/25 [00:00<00:03, 7.09it/s] 12%|█▏ | 3/25 [00:00<00:03, 6.16it/s] 16%|█▌ | 4/25 [00:00<00:03, 5.76it/s] 20%|██ | 5/25 [00:00<00:03, 5.55it/s] 24%|██▍ | 6/25 [00:01<00:03, 5.39it/s] 28%|██▊ | 7/25 [00:01<00:03, 5.31it/s] 32%|███▏ | 8/25 [00:01<00:03, 5.27it/s] 36%|███▌ | 9/25 [00:01<00:03, 5.24it/s] 40%|████ | 10/25 [00:01<00:02, 5.22it/s] 44%|████▍ | 11/25 [00:02<00:02, 5.19it/s] 48%|████▊ | 12/25 [00:02<00:02, 5.18it/s] 52%|█████▏ | 13/25 [00:02<00:02, 5.17it/s] 56%|█████▌ | 14/25 [00:02<00:02, 5.17it/s] 60%|██████ | 15/25 [00:02<00:01, 5.16it/s] 64%|██████▍ | 16/25 [00:02<00:01, 5.16it/s] 68%|██████▊ | 17/25 [00:03<00:01, 5.15it/s] 72%|███████▏ | 18/25 [00:03<00:01, 5.15it/s] 76%|███████▌ | 19/25 [00:03<00:01, 5.15it/s] 80%|████████ | 20/25 [00:03<00:00, 5.15it/s] 84%|████████▍ | 21/25 [00:03<00:00, 5.15it/s] 88%|████████▊ | 22/25 [00:04<00:00, 5.15it/s] 92%|█████████▏| 23/25 [00:04<00:00, 5.15it/s] 96%|█████████▌| 24/25 [00:04<00:00, 5.14it/s] 100%|██████████| 25/25 [00:04<00:00, 5.14it/s] 100%|██████████| 25/25 [00:04<00:00, 5.27it/s] Requested to load AutoencoderKL Loading 1 new model Executing node 7, title: VAE Decode, class type: VAEDecode Executing node 9, title: Save Image, class type: SaveImage Prompt executed in 5.71 seconds outputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}} ==================================== R8_Kolor_00001_.png
Prediction
fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bcaModelID5bgf00z42hrgg0cgjbkr4xpmfwStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- cfg
- 5
- steps
- 25
- width
- 1160
- height
- 768
- prompt
- Limited color palette. An anime woman with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light. Graphic novel style.
- scheduler
- EulerDiscreteScheduler
- output_format
- webp
- output_quality
- 80
- negative_prompt
- photo, photography, realistic, unreal engine
- number_of_images
- 1
{ "cfg": 5, "steps": 25, "width": 1160, "height": 768, "prompt": "Limited color palette. An anime woman with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light. Graphic novel style.", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "photo, photography, realistic, unreal engine", "number_of_images": 1 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", { input: { cfg: 5, steps: 25, width: 1160, height: 768, prompt: "Limited color palette. An anime woman with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light. Graphic novel style.", scheduler: "EulerDiscreteScheduler", output_format: "webp", output_quality: 80, negative_prompt: "photo, photography, realistic, unreal engine", number_of_images: 1 } } ); // 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 fofr/kolors using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", input={ "cfg": 5, "steps": 25, "width": 1160, "height": 768, "prompt": "Limited color palette. An anime woman with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light. Graphic novel style.", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "photo, photography, realistic, unreal engine", "number_of_images": 1 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/kolors 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": "fofr/kolors:05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca", "input": { "cfg": 5, "steps": 25, "width": 1160, "height": 768, "prompt": "Limited color palette. An anime woman with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light. Graphic novel style.", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "photo, photography, realistic, unreal engine", "number_of_images": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-07-08T15:13:14.605301Z", "created_at": "2024-07-08T15:13:09.140000Z", "data_removed": false, "error": null, "id": "5bgf00z42hrgg0cgjbkr4xpmfw", "input": { "cfg": 5, "steps": 25, "width": 1160, "height": 768, "prompt": "Limited color palette. An anime woman with brown hair is sitting in the cafe holding her head, she looks angry. A coffee cup is on the table. The style is comic book with flat colors and a vector illustration. The color palette includes reds, blues and greys. It is high resolution with high detail, intricate details and sharp focus in the style of studio photography with hard light. Graphic novel style.", "scheduler": "EulerDiscreteScheduler", "output_format": "webp", "output_quality": 80, "negative_prompt": "photo, photography, realistic, unreal engine", "number_of_images": 1 }, "logs": "Random seed set to: 540539061\nRunning workflow\ngot prompt\nExecuting node 2, title: Kolors Sampler, class type: KolorsSampler\n 0%| | 0/25 [00:00<?, ?it/s]\n 8%|▊ | 2/25 [00:00<00:02, 8.06it/s]\n 12%|█▏ | 3/25 [00:00<00:03, 7.02it/s]\n 16%|█▌ | 4/25 [00:00<00:03, 6.55it/s]\n 20%|██ | 5/25 [00:00<00:03, 6.31it/s]\n 24%|██▍ | 6/25 [00:00<00:03, 6.15it/s]\n 28%|██▊ | 7/25 [00:01<00:02, 6.04it/s]\n 32%|███▏ | 8/25 [00:01<00:02, 5.99it/s]\n 36%|███▌ | 9/25 [00:01<00:02, 5.96it/s]\n 40%|████ | 10/25 [00:01<00:02, 5.94it/s]\n 44%|████▍ | 11/25 [00:01<00:02, 5.93it/s]\n 48%|████▊ | 12/25 [00:01<00:02, 5.89it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 5.88it/s]\n 56%|█████▌ | 14/25 [00:02<00:01, 5.87it/s]\n 60%|██████ | 15/25 [00:02<00:01, 5.88it/s]\n 64%|██████▍ | 16/25 [00:02<00:01, 5.89it/s]\n 68%|██████▊ | 17/25 [00:02<00:01, 5.89it/s]\n 72%|███████▏ | 18/25 [00:02<00:01, 5.87it/s]\n 76%|███████▌ | 19/25 [00:03<00:01, 5.87it/s]\n 80%|████████ | 20/25 [00:03<00:00, 5.87it/s]\n 84%|████████▍ | 21/25 [00:03<00:00, 5.88it/s]\n 88%|████████▊ | 22/25 [00:03<00:00, 5.88it/s]\n 92%|█████████▏| 23/25 [00:03<00:00, 5.88it/s]\n 96%|█████████▌| 24/25 [00:03<00:00, 5.87it/s]\n100%|██████████| 25/25 [00:04<00:00, 5.86it/s]\n100%|██████████| 25/25 [00:04<00:00, 6.00it/s]\nExecuting node 7, title: VAE Decode, class type: VAEDecode\nExecuting node 9, title: Save Image, class type: SaveImage\nPrompt executed in 4.71 seconds\noutputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nR8_Kolor_00001_.png", "metrics": { "predict_time": 5.455539362, "total_time": 5.465301 }, "output": [ "https://replicate.delivery/pbxt/OwPSls5D5bYedCtzx8wAsnxcKue4MgOA9UGNSxhT4mdKQbGTA/R8_Kolor_00001_.webp" ], "started_at": "2024-07-08T15:13:09.149762Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5bgf00z42hrgg0cgjbkr4xpmfw", "cancel": "https://api.replicate.com/v1/predictions/5bgf00z42hrgg0cgjbkr4xpmfw/cancel" }, "version": "05df67f7cf9d1cc4a07af44340d92aa48df89601a30e9b76523addcad3a00bca" }
Generated inRandom seed set to: 540539061 Running workflow got prompt Executing node 2, title: Kolors Sampler, class type: KolorsSampler 0%| | 0/25 [00:00<?, ?it/s] 8%|▊ | 2/25 [00:00<00:02, 8.06it/s] 12%|█▏ | 3/25 [00:00<00:03, 7.02it/s] 16%|█▌ | 4/25 [00:00<00:03, 6.55it/s] 20%|██ | 5/25 [00:00<00:03, 6.31it/s] 24%|██▍ | 6/25 [00:00<00:03, 6.15it/s] 28%|██▊ | 7/25 [00:01<00:02, 6.04it/s] 32%|███▏ | 8/25 [00:01<00:02, 5.99it/s] 36%|███▌ | 9/25 [00:01<00:02, 5.96it/s] 40%|████ | 10/25 [00:01<00:02, 5.94it/s] 44%|████▍ | 11/25 [00:01<00:02, 5.93it/s] 48%|████▊ | 12/25 [00:01<00:02, 5.89it/s] 52%|█████▏ | 13/25 [00:02<00:02, 5.88it/s] 56%|█████▌ | 14/25 [00:02<00:01, 5.87it/s] 60%|██████ | 15/25 [00:02<00:01, 5.88it/s] 64%|██████▍ | 16/25 [00:02<00:01, 5.89it/s] 68%|██████▊ | 17/25 [00:02<00:01, 5.89it/s] 72%|███████▏ | 18/25 [00:02<00:01, 5.87it/s] 76%|███████▌ | 19/25 [00:03<00:01, 5.87it/s] 80%|████████ | 20/25 [00:03<00:00, 5.87it/s] 84%|████████▍ | 21/25 [00:03<00:00, 5.88it/s] 88%|████████▊ | 22/25 [00:03<00:00, 5.88it/s] 92%|█████████▏| 23/25 [00:03<00:00, 5.88it/s] 96%|█████████▌| 24/25 [00:03<00:00, 5.87it/s] 100%|██████████| 25/25 [00:04<00:00, 5.86it/s] 100%|██████████| 25/25 [00:04<00:00, 6.00it/s] Executing node 7, title: VAE Decode, class type: VAEDecode Executing node 9, title: Save Image, class type: SaveImage Prompt executed in 4.71 seconds outputs: {'9': {'images': [{'filename': 'R8_Kolor_00001_.png', 'subfolder': '', 'type': 'output'}]}} ==================================== R8_Kolor_00001_.png
Want to make some of these yourself?
Run this model