lucataco / cogview4-6b
CogView-4 model, which has 6B parameters, supports native Chinese input, and Chinese text-to-image generation.
Prediction
lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62ID70hp26gb09rm80cndm8a1kkm3mStatusSucceededSourceWebHardwareL40STotal durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A vibrant cherry red sports car sits proudly under the gleaming sun, its polished exterior smooth and flawless, casting a mirror-like reflection. The car features a low, aerodynamic body, angular headlights that gaze forward like predatory eyes, and a set of black, high-gloss racing rims that contrast starkly with the red. A subtle hint of chrome embellishes the grille and exhaust, while the tinted windows suggest a luxurious and private interior. The scene conveys a sense of speed and elegance, the car appearing as if it's about to burst into a sprint along a coastal road, with the ocean's azure waves crashing in the background
- guidance_scale
- 3.5
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "A vibrant cherry red sports car sits proudly under the gleaming sun, its polished exterior smooth and flawless, casting a mirror-like reflection. The car features a low, aerodynamic body, angular headlights that gaze forward like predatory eyes, and a set of black, high-gloss racing rims that contrast starkly with the red. A subtle hint of chrome embellishes the grille and exhaust, while the tinted windows suggest a luxurious and private interior. The scene conveys a sense of speed and elegance, the car appearing as if it's about to burst into a sprint along a coastal road, with the ocean's azure waves crashing in the background", "guidance_scale": 3.5, "num_inference_steps": 50 }
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 lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", { input: { width: 1024, height: 1024, prompt: "A vibrant cherry red sports car sits proudly under the gleaming sun, its polished exterior smooth and flawless, casting a mirror-like reflection. The car features a low, aerodynamic body, angular headlights that gaze forward like predatory eyes, and a set of black, high-gloss racing rims that contrast starkly with the red. A subtle hint of chrome embellishes the grille and exhaust, while the tinted windows suggest a luxurious and private interior. The scene conveys a sense of speed and elegance, the car appearing as if it's about to burst into a sprint along a coastal road, with the ocean's azure waves crashing in the background", guidance_scale: 3.5, num_inference_steps: 50 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", input={ "width": 1024, "height": 1024, "prompt": "A vibrant cherry red sports car sits proudly under the gleaming sun, its polished exterior smooth and flawless, casting a mirror-like reflection. The car features a low, aerodynamic body, angular headlights that gaze forward like predatory eyes, and a set of black, high-gloss racing rims that contrast starkly with the red. A subtle hint of chrome embellishes the grille and exhaust, while the tinted windows suggest a luxurious and private interior. The scene conveys a sense of speed and elegance, the car appearing as if it's about to burst into a sprint along a coastal road, with the ocean's azure waves crashing in the background", "guidance_scale": 3.5, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/cogview4-6b 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": "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", "input": { "width": 1024, "height": 1024, "prompt": "A vibrant cherry red sports car sits proudly under the gleaming sun, its polished exterior smooth and flawless, casting a mirror-like reflection. The car features a low, aerodynamic body, angular headlights that gaze forward like predatory eyes, and a set of black, high-gloss racing rims that contrast starkly with the red. A subtle hint of chrome embellishes the grille and exhaust, while the tinted windows suggest a luxurious and private interior. The scene conveys a sense of speed and elegance, the car appearing as if it\'s about to burst into a sprint along a coastal road, with the ocean\'s azure waves crashing in the background", "guidance_scale": 3.5, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-06T20:07:49.411807Z", "created_at": "2025-03-06T20:05:22.818000Z", "data_removed": false, "error": null, "id": "70hp26gb09rm80cndm8a1kkm3m", "input": { "width": 1024, "height": 1024, "prompt": "A vibrant cherry red sports car sits proudly under the gleaming sun, its polished exterior smooth and flawless, casting a mirror-like reflection. The car features a low, aerodynamic body, angular headlights that gaze forward like predatory eyes, and a set of black, high-gloss racing rims that contrast starkly with the red. A subtle hint of chrome embellishes the grille and exhaust, while the tinted windows suggest a luxurious and private interior. The scene conveys a sense of speed and elegance, the car appearing as if it's about to burst into a sprint along a coastal road, with the ocean's azure waves crashing in the background", "guidance_scale": 3.5, "num_inference_steps": 50 }, "logs": "Using seed: 15597637\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:10<08:58, 10.99s/it]\n 4%|▍ | 2/50 [00:11<03:52, 4.84s/it]\n 6%|▌ | 3/50 [00:12<02:19, 2.97s/it]\n 8%|▊ | 4/50 [00:12<01:36, 2.09s/it]\n 10%|█ | 5/50 [00:13<01:12, 1.60s/it]\n 12%|█▏ | 6/50 [00:14<00:57, 1.31s/it]\n 14%|█▍ | 7/50 [00:15<00:48, 1.12s/it]\n 16%|█▌ | 8/50 [00:15<00:42, 1.00s/it]\n 18%|█▊ | 9/50 [00:16<00:37, 1.08it/s]\n 20%|██ | 10/50 [00:17<00:34, 1.15it/s]\n 22%|██▏ | 11/50 [00:18<00:32, 1.20it/s]\n 24%|██▍ | 12/50 [00:18<00:30, 1.24it/s]\n 26%|██▌ | 13/50 [00:19<00:29, 1.27it/s]\n 28%|██▊ | 14/50 [00:20<00:28, 1.28it/s]\n 30%|███ | 15/50 [00:21<00:27, 1.28it/s]\n 32%|███▏ | 16/50 [00:22<00:26, 1.29it/s]\n 34%|███▍ | 17/50 [00:22<00:25, 1.29it/s]\n 36%|███▌ | 18/50 [00:23<00:24, 1.29it/s]\n 38%|███▊ | 19/50 [00:24<00:24, 1.29it/s]\n 40%|████ | 20/50 [00:25<00:23, 1.29it/s]\n 42%|████▏ | 21/50 [00:25<00:22, 1.29it/s]\n 44%|████▍ | 22/50 [00:26<00:21, 1.29it/s]\n 46%|████▌ | 23/50 [00:27<00:20, 1.29it/s]\n 48%|████▊ | 24/50 [00:28<00:20, 1.29it/s]\n 50%|█████ | 25/50 [00:28<00:19, 1.29it/s]\n 52%|█████▏ | 26/50 [00:29<00:18, 1.29it/s]\n 54%|█████▍ | 27/50 [00:30<00:17, 1.29it/s]\n 56%|█████▌ | 28/50 [00:31<00:17, 1.29it/s]\n 58%|█████▊ | 29/50 [00:32<00:16, 1.29it/s]\n 60%|██████ | 30/50 [00:32<00:15, 1.29it/s]\n 62%|██████▏ | 31/50 [00:33<00:14, 1.29it/s]\n 64%|██████▍ | 32/50 [00:34<00:14, 1.29it/s]\n 66%|██████▌ | 33/50 [00:35<00:13, 1.28it/s]\n 68%|██████▊ | 34/50 [00:35<00:12, 1.28it/s]\n 70%|███████ | 35/50 [00:36<00:11, 1.28it/s]\n 72%|███████▏ | 36/50 [00:37<00:10, 1.28it/s]\n 74%|███████▍ | 37/50 [00:38<00:10, 1.28it/s]\n 76%|███████▌ | 38/50 [00:39<00:09, 1.28it/s]\n 78%|███████▊ | 39/50 [00:39<00:08, 1.28it/s]\n 80%|████████ | 40/50 [00:40<00:07, 1.28it/s]\n 82%|████████▏ | 41/50 [00:41<00:07, 1.28it/s]\n 84%|████████▍ | 42/50 [00:42<00:06, 1.28it/s]\n 86%|████████▌ | 43/50 [00:42<00:05, 1.28it/s]\n 88%|████████▊ | 44/50 [00:43<00:04, 1.28it/s]\n 90%|█████████ | 45/50 [00:44<00:03, 1.28it/s]\n 92%|█████████▏| 46/50 [00:45<00:03, 1.28it/s]\n 94%|█████████▍| 47/50 [00:46<00:02, 1.28it/s]\n 96%|█████████▌| 48/50 [00:46<00:01, 1.28it/s]\n 98%|█████████▊| 49/50 [00:47<00:00, 1.28it/s]\n100%|██████████| 50/50 [00:48<00:00, 1.28it/s]\n100%|██████████| 50/50 [00:48<00:00, 1.03it/s]", "metrics": { "predict_time": 58.84104651, "total_time": 146.593807 }, "output": "https://replicate.delivery/xezq/LAoxeRLX7A2EGCMuSdaaVmiJZw5KYj5eguMih1X01YuVK7VUA/output.png", "started_at": "2025-03-06T20:06:50.570760Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-hugokczqfa5u33r2yxkh6rbgsacu3huipmz54ikukawawzw5bdxa", "get": "https://api.replicate.com/v1/predictions/70hp26gb09rm80cndm8a1kkm3m", "cancel": "https://api.replicate.com/v1/predictions/70hp26gb09rm80cndm8a1kkm3m/cancel" }, "version": "5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62" }
Generated inUsing seed: 15597637 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:10<08:58, 10.99s/it] 4%|▍ | 2/50 [00:11<03:52, 4.84s/it] 6%|▌ | 3/50 [00:12<02:19, 2.97s/it] 8%|▊ | 4/50 [00:12<01:36, 2.09s/it] 10%|█ | 5/50 [00:13<01:12, 1.60s/it] 12%|█▏ | 6/50 [00:14<00:57, 1.31s/it] 14%|█▍ | 7/50 [00:15<00:48, 1.12s/it] 16%|█▌ | 8/50 [00:15<00:42, 1.00s/it] 18%|█▊ | 9/50 [00:16<00:37, 1.08it/s] 20%|██ | 10/50 [00:17<00:34, 1.15it/s] 22%|██▏ | 11/50 [00:18<00:32, 1.20it/s] 24%|██▍ | 12/50 [00:18<00:30, 1.24it/s] 26%|██▌ | 13/50 [00:19<00:29, 1.27it/s] 28%|██▊ | 14/50 [00:20<00:28, 1.28it/s] 30%|███ | 15/50 [00:21<00:27, 1.28it/s] 32%|███▏ | 16/50 [00:22<00:26, 1.29it/s] 34%|███▍ | 17/50 [00:22<00:25, 1.29it/s] 36%|███▌ | 18/50 [00:23<00:24, 1.29it/s] 38%|███▊ | 19/50 [00:24<00:24, 1.29it/s] 40%|████ | 20/50 [00:25<00:23, 1.29it/s] 42%|████▏ | 21/50 [00:25<00:22, 1.29it/s] 44%|████▍ | 22/50 [00:26<00:21, 1.29it/s] 46%|████▌ | 23/50 [00:27<00:20, 1.29it/s] 48%|████▊ | 24/50 [00:28<00:20, 1.29it/s] 50%|█████ | 25/50 [00:28<00:19, 1.29it/s] 52%|█████▏ | 26/50 [00:29<00:18, 1.29it/s] 54%|█████▍ | 27/50 [00:30<00:17, 1.29it/s] 56%|█████▌ | 28/50 [00:31<00:17, 1.29it/s] 58%|█████▊ | 29/50 [00:32<00:16, 1.29it/s] 60%|██████ | 30/50 [00:32<00:15, 1.29it/s] 62%|██████▏ | 31/50 [00:33<00:14, 1.29it/s] 64%|██████▍ | 32/50 [00:34<00:14, 1.29it/s] 66%|██████▌ | 33/50 [00:35<00:13, 1.28it/s] 68%|██████▊ | 34/50 [00:35<00:12, 1.28it/s] 70%|███████ | 35/50 [00:36<00:11, 1.28it/s] 72%|███████▏ | 36/50 [00:37<00:10, 1.28it/s] 74%|███████▍ | 37/50 [00:38<00:10, 1.28it/s] 76%|███████▌ | 38/50 [00:39<00:09, 1.28it/s] 78%|███████▊ | 39/50 [00:39<00:08, 1.28it/s] 80%|████████ | 40/50 [00:40<00:07, 1.28it/s] 82%|████████▏ | 41/50 [00:41<00:07, 1.28it/s] 84%|████████▍ | 42/50 [00:42<00:06, 1.28it/s] 86%|████████▌ | 43/50 [00:42<00:05, 1.28it/s] 88%|████████▊ | 44/50 [00:43<00:04, 1.28it/s] 90%|█████████ | 45/50 [00:44<00:03, 1.28it/s] 92%|█████████▏| 46/50 [00:45<00:03, 1.28it/s] 94%|█████████▍| 47/50 [00:46<00:02, 1.28it/s] 96%|█████████▌| 48/50 [00:46<00:01, 1.28it/s] 98%|█████████▊| 49/50 [00:47<00:00, 1.28it/s] 100%|██████████| 50/50 [00:48<00:00, 1.28it/s] 100%|██████████| 50/50 [00:48<00:00, 1.03it/s]
Prediction
lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62IDsd7eg4egm9rma0cndm99bh7merStatusSucceededSourceWebHardwareL40STotal durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- 这是一幅充满皮克斯风格的动画渲染图像,展现了一只拟人化的粘土风格小蛇。这条快乐的小蛇身着魔术师装扮,占据了画面下方三分之一的位置,显得俏皮而生动。它的头上戴着一顶黑色羊毛材质的复古礼帽,身上穿着一件设计独特的红色棉袄,白色的毛袖增添了一抹温暖的对比。小蛇的鳞片上精心绘制了金色梅花花纹,显得既华丽又不失可爱。它的腹部和脸庞呈现洁白,与红色的身体形成鲜明对比。 这条蜿蜒的小蛇拥有可爱的塑胶手办质感,仿佛随时会从画面中跃然而出。背景是一片鲜艳的红色,地面上散布着宝箱、金蛋和红色灯笼等装饰物,营造出浓厚的节日气氛。画面的上半部分用金色连体字书写着 “Happy New Year”,庆祝新年的到来,同时也暗示了蛇年的到来,为整幅画面增添了一份节日的喜悦和祥瑞。
- guidance_scale
- 3.5
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "这是一幅充满皮克斯风格的动画渲染图像,展现了一只拟人化的粘土风格小蛇。这条快乐的小蛇身着魔术师装扮,占据了画面下方三分之一的位置,显得俏皮而生动。它的头上戴着一顶黑色羊毛材质的复古礼帽,身上穿着一件设计独特的红色棉袄,白色的毛袖增添了一抹温暖的对比。小蛇的鳞片上精心绘制了金色梅花花纹,显得既华丽又不失可爱。它的腹部和脸庞呈现洁白,与红色的身体形成鲜明对比。 这条蜿蜒的小蛇拥有可爱的塑胶手办质感,仿佛随时会从画面中跃然而出。背景是一片鲜艳的红色,地面上散布着宝箱、金蛋和红色灯笼等装饰物,营造出浓厚的节日气氛。画面的上半部分用金色连体字书写着 “Happy New Year”,庆祝新年的到来,同时也暗示了蛇年的到来,为整幅画面增添了一份节日的喜悦和祥瑞。", "guidance_scale": 3.5, "num_inference_steps": 50 }
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 lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", { input: { width: 1024, height: 1024, prompt: "这是一幅充满皮克斯风格的动画渲染图像,展现了一只拟人化的粘土风格小蛇。这条快乐的小蛇身着魔术师装扮,占据了画面下方三分之一的位置,显得俏皮而生动。它的头上戴着一顶黑色羊毛材质的复古礼帽,身上穿着一件设计独特的红色棉袄,白色的毛袖增添了一抹温暖的对比。小蛇的鳞片上精心绘制了金色梅花花纹,显得既华丽又不失可爱。它的腹部和脸庞呈现洁白,与红色的身体形成鲜明对比。 这条蜿蜒的小蛇拥有可爱的塑胶手办质感,仿佛随时会从画面中跃然而出。背景是一片鲜艳的红色,地面上散布着宝箱、金蛋和红色灯笼等装饰物,营造出浓厚的节日气氛。画面的上半部分用金色连体字书写着 “Happy New Year”,庆祝新年的到来,同时也暗示了蛇年的到来,为整幅画面增添了一份节日的喜悦和祥瑞。", guidance_scale: 3.5, num_inference_steps: 50 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", input={ "width": 1024, "height": 1024, "prompt": "这是一幅充满皮克斯风格的动画渲染图像,展现了一只拟人化的粘土风格小蛇。这条快乐的小蛇身着魔术师装扮,占据了画面下方三分之一的位置,显得俏皮而生动。它的头上戴着一顶黑色羊毛材质的复古礼帽,身上穿着一件设计独特的红色棉袄,白色的毛袖增添了一抹温暖的对比。小蛇的鳞片上精心绘制了金色梅花花纹,显得既华丽又不失可爱。它的腹部和脸庞呈现洁白,与红色的身体形成鲜明对比。 这条蜿蜒的小蛇拥有可爱的塑胶手办质感,仿佛随时会从画面中跃然而出。背景是一片鲜艳的红色,地面上散布着宝箱、金蛋和红色灯笼等装饰物,营造出浓厚的节日气氛。画面的上半部分用金色连体字书写着 “Happy New Year”,庆祝新年的到来,同时也暗示了蛇年的到来,为整幅画面增添了一份节日的喜悦和祥瑞。", "guidance_scale": 3.5, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/cogview4-6b 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": "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", "input": { "width": 1024, "height": 1024, "prompt": "这是一幅充满皮克斯风格的动画渲染图像,展现了一只拟人化的粘土风格小蛇。这条快乐的小蛇身着魔术师装扮,占据了画面下方三分之一的位置,显得俏皮而生动。它的头上戴着一顶黑色羊毛材质的复古礼帽,身上穿着一件设计独特的红色棉袄,白色的毛袖增添了一抹温暖的对比。小蛇的鳞片上精心绘制了金色梅花花纹,显得既华丽又不失可爱。它的腹部和脸庞呈现洁白,与红色的身体形成鲜明对比。 这条蜿蜒的小蛇拥有可爱的塑胶手办质感,仿佛随时会从画面中跃然而出。背景是一片鲜艳的红色,地面上散布着宝箱、金蛋和红色灯笼等装饰物,营造出浓厚的节日气氛。画面的上半部分用金色连体字书写着 “Happy New Year”,庆祝新年的到来,同时也暗示了蛇年的到来,为整幅画面增添了一份节日的喜悦和祥瑞。", "guidance_scale": 3.5, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-06T20:09:22.555949Z", "created_at": "2025-03-06T20:08:24.482000Z", "data_removed": false, "error": null, "id": "sd7eg4egm9rma0cndm99bh7mer", "input": { "width": 1024, "height": 1024, "prompt": "这是一幅充满皮克斯风格的动画渲染图像,展现了一只拟人化的粘土风格小蛇。这条快乐的小蛇身着魔术师装扮,占据了画面下方三分之一的位置,显得俏皮而生动。它的头上戴着一顶黑色羊毛材质的复古礼帽,身上穿着一件设计独特的红色棉袄,白色的毛袖增添了一抹温暖的对比。小蛇的鳞片上精心绘制了金色梅花花纹,显得既华丽又不失可爱。它的腹部和脸庞呈现洁白,与红色的身体形成鲜明对比。 这条蜿蜒的小蛇拥有可爱的塑胶手办质感,仿佛随时会从画面中跃然而出。背景是一片鲜艳的红色,地面上散布着宝箱、金蛋和红色灯笼等装饰物,营造出浓厚的节日气氛。画面的上半部分用金色连体字书写着 “Happy New Year”,庆祝新年的到来,同时也暗示了蛇年的到来,为整幅画面增添了一份节日的喜悦和祥瑞。", "guidance_scale": 3.5, "num_inference_steps": 50 }, "logs": "Using seed: 4160516\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:10<08:33, 10.48s/it]\n 4%|▍ | 2/50 [00:11<03:42, 4.63s/it]\n 6%|▌ | 3/50 [00:11<02:14, 2.86s/it]\n 8%|▊ | 4/50 [00:12<01:33, 2.03s/it]\n 10%|█ | 5/50 [00:13<01:10, 1.57s/it]\n 12%|█▏ | 6/50 [00:14<00:57, 1.30s/it]\n 14%|█▍ | 7/50 [00:14<00:48, 1.12s/it]\n 16%|█▌ | 8/50 [00:15<00:42, 1.01s/it]\n 18%|█▊ | 9/50 [00:16<00:38, 1.07it/s]\n 20%|██ | 10/50 [00:17<00:35, 1.14it/s]\n 22%|██▏ | 11/50 [00:17<00:32, 1.19it/s]\n 24%|██▍ | 12/50 [00:18<00:31, 1.22it/s]\n 26%|██▌ | 13/50 [00:19<00:29, 1.24it/s]\n 28%|██▊ | 14/50 [00:20<00:28, 1.25it/s]\n 30%|███ | 15/50 [00:20<00:27, 1.25it/s]\n 32%|███▏ | 16/50 [00:21<00:27, 1.26it/s]\n 34%|███▍ | 17/50 [00:22<00:26, 1.26it/s]\n 36%|███▌ | 18/50 [00:23<00:25, 1.26it/s]\n 38%|███▊ | 19/50 [00:24<00:24, 1.26it/s]\n 40%|████ | 20/50 [00:24<00:23, 1.26it/s]\n 42%|████▏ | 21/50 [00:25<00:22, 1.26it/s]\n 44%|████▍ | 22/50 [00:26<00:22, 1.26it/s]\n 46%|████▌ | 23/50 [00:27<00:21, 1.26it/s]\n 48%|████▊ | 24/50 [00:28<00:20, 1.26it/s]\n 50%|█████ | 25/50 [00:28<00:19, 1.26it/s]\n 52%|█████▏ | 26/50 [00:29<00:18, 1.26it/s]\n 54%|█████▍ | 27/50 [00:30<00:18, 1.26it/s]\n 56%|█████▌ | 28/50 [00:31<00:17, 1.27it/s]\n 58%|█████▊ | 29/50 [00:32<00:16, 1.27it/s]\n 60%|██████ | 30/50 [00:32<00:15, 1.27it/s]\n 62%|██████▏ | 31/50 [00:33<00:15, 1.26it/s]\n 64%|██████▍ | 32/50 [00:34<00:14, 1.27it/s]\n 66%|██████▌ | 33/50 [00:35<00:13, 1.26it/s]\n 68%|██████▊ | 34/50 [00:36<00:12, 1.26it/s]\n 70%|███████ | 35/50 [00:36<00:11, 1.26it/s]\n 72%|███████▏ | 36/50 [00:37<00:11, 1.26it/s]\n 74%|███████▍ | 37/50 [00:38<00:10, 1.26it/s]\n 76%|███████▌ | 38/50 [00:39<00:09, 1.26it/s]\n 78%|███████▊ | 39/50 [00:39<00:08, 1.26it/s]\n 80%|████████ | 40/50 [00:40<00:07, 1.26it/s]\n 82%|████████▏ | 41/50 [00:41<00:07, 1.26it/s]\n 84%|████████▍ | 42/50 [00:42<00:06, 1.26it/s]\n 86%|████████▌ | 43/50 [00:43<00:05, 1.26it/s]\n 88%|████████▊ | 44/50 [00:43<00:04, 1.26it/s]\n 90%|█████████ | 45/50 [00:44<00:03, 1.26it/s]\n 92%|█████████▏| 46/50 [00:45<00:03, 1.26it/s]\n 94%|█████████▍| 47/50 [00:46<00:02, 1.26it/s]\n 96%|█████████▌| 48/50 [00:47<00:01, 1.27it/s]\n 98%|█████████▊| 49/50 [00:47<00:00, 1.27it/s]\n100%|██████████| 50/50 [00:48<00:00, 1.27it/s]\n100%|██████████| 50/50 [00:48<00:00, 1.03it/s]", "metrics": { "predict_time": 58.066527527, "total_time": 58.073949 }, "output": "https://replicate.delivery/xezq/dxPSDsCK0N6sBZBiesRjLCY3yBSqT6OzXAubQPQFwzT5l9KKA/output.png", "started_at": "2025-03-06T20:08:24.489422Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-2wmyrzuas2ifvf3zhwl4tym5sun6y5bvyyvw6sachwz3ohhy7wga", "get": "https://api.replicate.com/v1/predictions/sd7eg4egm9rma0cndm99bh7mer", "cancel": "https://api.replicate.com/v1/predictions/sd7eg4egm9rma0cndm99bh7mer/cancel" }, "version": "5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62" }
Generated inUsing seed: 4160516 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:10<08:33, 10.48s/it] 4%|▍ | 2/50 [00:11<03:42, 4.63s/it] 6%|▌ | 3/50 [00:11<02:14, 2.86s/it] 8%|▊ | 4/50 [00:12<01:33, 2.03s/it] 10%|█ | 5/50 [00:13<01:10, 1.57s/it] 12%|█▏ | 6/50 [00:14<00:57, 1.30s/it] 14%|█▍ | 7/50 [00:14<00:48, 1.12s/it] 16%|█▌ | 8/50 [00:15<00:42, 1.01s/it] 18%|█▊ | 9/50 [00:16<00:38, 1.07it/s] 20%|██ | 10/50 [00:17<00:35, 1.14it/s] 22%|██▏ | 11/50 [00:17<00:32, 1.19it/s] 24%|██▍ | 12/50 [00:18<00:31, 1.22it/s] 26%|██▌ | 13/50 [00:19<00:29, 1.24it/s] 28%|██▊ | 14/50 [00:20<00:28, 1.25it/s] 30%|███ | 15/50 [00:20<00:27, 1.25it/s] 32%|███▏ | 16/50 [00:21<00:27, 1.26it/s] 34%|███▍ | 17/50 [00:22<00:26, 1.26it/s] 36%|███▌ | 18/50 [00:23<00:25, 1.26it/s] 38%|███▊ | 19/50 [00:24<00:24, 1.26it/s] 40%|████ | 20/50 [00:24<00:23, 1.26it/s] 42%|████▏ | 21/50 [00:25<00:22, 1.26it/s] 44%|████▍ | 22/50 [00:26<00:22, 1.26it/s] 46%|████▌ | 23/50 [00:27<00:21, 1.26it/s] 48%|████▊ | 24/50 [00:28<00:20, 1.26it/s] 50%|█████ | 25/50 [00:28<00:19, 1.26it/s] 52%|█████▏ | 26/50 [00:29<00:18, 1.26it/s] 54%|█████▍ | 27/50 [00:30<00:18, 1.26it/s] 56%|█████▌ | 28/50 [00:31<00:17, 1.27it/s] 58%|█████▊ | 29/50 [00:32<00:16, 1.27it/s] 60%|██████ | 30/50 [00:32<00:15, 1.27it/s] 62%|██████▏ | 31/50 [00:33<00:15, 1.26it/s] 64%|██████▍ | 32/50 [00:34<00:14, 1.27it/s] 66%|██████▌ | 33/50 [00:35<00:13, 1.26it/s] 68%|██████▊ | 34/50 [00:36<00:12, 1.26it/s] 70%|███████ | 35/50 [00:36<00:11, 1.26it/s] 72%|███████▏ | 36/50 [00:37<00:11, 1.26it/s] 74%|███████▍ | 37/50 [00:38<00:10, 1.26it/s] 76%|███████▌ | 38/50 [00:39<00:09, 1.26it/s] 78%|███████▊ | 39/50 [00:39<00:08, 1.26it/s] 80%|████████ | 40/50 [00:40<00:07, 1.26it/s] 82%|████████▏ | 41/50 [00:41<00:07, 1.26it/s] 84%|████████▍ | 42/50 [00:42<00:06, 1.26it/s] 86%|████████▌ | 43/50 [00:43<00:05, 1.26it/s] 88%|████████▊ | 44/50 [00:43<00:04, 1.26it/s] 90%|█████████ | 45/50 [00:44<00:03, 1.26it/s] 92%|█████████▏| 46/50 [00:45<00:03, 1.26it/s] 94%|█████████▍| 47/50 [00:46<00:02, 1.26it/s] 96%|█████████▌| 48/50 [00:47<00:01, 1.27it/s] 98%|█████████▊| 49/50 [00:47<00:00, 1.27it/s] 100%|██████████| 50/50 [00:48<00:00, 1.27it/s] 100%|██████████| 50/50 [00:48<00:00, 1.03it/s]
Prediction
lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62ID8dmpbegdexrma0cndmaaeg7sw8StatusSucceededSourceWebHardwareL40STotal durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A vintage red convertible with gleaming chrome finishes sits attractively under the golden hues of a setting sun, parked on a deserted cobblestone street in a charming old town. The car's polished body reflects the surrounding quaint buildings and the few early evening stars beginning to twinkle in the gentle gradient of the twilight sky. A light breeze teases the few fallen leaves near the car's pristine white-walled tires, which rest casually by the sidewalk, hinting at the leisurely pace of life in this serene setting.
- guidance_scale
- 3.5
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "A vintage red convertible with gleaming chrome finishes sits attractively under the golden hues of a setting sun, parked on a deserted cobblestone street in a charming old town. The car's polished body reflects the surrounding quaint buildings and the few early evening stars beginning to twinkle in the gentle gradient of the twilight sky. A light breeze teases the few fallen leaves near the car's pristine white-walled tires, which rest casually by the sidewalk, hinting at the leisurely pace of life in this serene setting.", "guidance_scale": 3.5, "num_inference_steps": 50 }
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 lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", { input: { width: 1024, height: 1024, prompt: "A vintage red convertible with gleaming chrome finishes sits attractively under the golden hues of a setting sun, parked on a deserted cobblestone street in a charming old town. The car's polished body reflects the surrounding quaint buildings and the few early evening stars beginning to twinkle in the gentle gradient of the twilight sky. A light breeze teases the few fallen leaves near the car's pristine white-walled tires, which rest casually by the sidewalk, hinting at the leisurely pace of life in this serene setting.", guidance_scale: 3.5, num_inference_steps: 50 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", input={ "width": 1024, "height": 1024, "prompt": "A vintage red convertible with gleaming chrome finishes sits attractively under the golden hues of a setting sun, parked on a deserted cobblestone street in a charming old town. The car's polished body reflects the surrounding quaint buildings and the few early evening stars beginning to twinkle in the gentle gradient of the twilight sky. A light breeze teases the few fallen leaves near the car's pristine white-walled tires, which rest casually by the sidewalk, hinting at the leisurely pace of life in this serene setting.", "guidance_scale": 3.5, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/cogview4-6b 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": "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", "input": { "width": 1024, "height": 1024, "prompt": "A vintage red convertible with gleaming chrome finishes sits attractively under the golden hues of a setting sun, parked on a deserted cobblestone street in a charming old town. The car\'s polished body reflects the surrounding quaint buildings and the few early evening stars beginning to twinkle in the gentle gradient of the twilight sky. A light breeze teases the few fallen leaves near the car\'s pristine white-walled tires, which rest casually by the sidewalk, hinting at the leisurely pace of life in this serene setting.", "guidance_scale": 3.5, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-06T20:10:47.018386Z", "created_at": "2025-03-06T20:09:45.591000Z", "data_removed": false, "error": null, "id": "8dmpbegdexrma0cndmaaeg7sw8", "input": { "width": 1024, "height": 1024, "prompt": "A vintage red convertible with gleaming chrome finishes sits attractively under the golden hues of a setting sun, parked on a deserted cobblestone street in a charming old town. The car's polished body reflects the surrounding quaint buildings and the few early evening stars beginning to twinkle in the gentle gradient of the twilight sky. A light breeze teases the few fallen leaves near the car's pristine white-walled tires, which rest casually by the sidewalk, hinting at the leisurely pace of life in this serene setting.", "guidance_scale": 3.5, "num_inference_steps": 50 }, "logs": "Using seed: 9047806\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:10<08:49, 10.81s/it]\n 4%|▍ | 2/50 [00:11<03:48, 4.77s/it]\n 6%|▌ | 3/50 [00:12<02:18, 2.94s/it]\n 8%|▊ | 4/50 [00:12<01:35, 2.08s/it]\n 10%|█ | 5/50 [00:13<01:12, 1.60s/it]\n 12%|█▏ | 6/50 [00:14<00:57, 1.31s/it]\n 14%|█▍ | 7/50 [00:15<00:48, 1.13s/it]\n 16%|█▌ | 8/50 [00:15<00:42, 1.01s/it]\n 18%|█▊ | 9/50 [00:16<00:38, 1.07it/s]\n 20%|██ | 10/50 [00:17<00:35, 1.13it/s]\n 22%|██▏ | 11/50 [00:18<00:32, 1.18it/s]\n 24%|██▍ | 12/50 [00:18<00:31, 1.22it/s]\n 26%|██▌ | 13/50 [00:19<00:29, 1.24it/s]\n 28%|██▊ | 14/50 [00:20<00:28, 1.25it/s]\n 30%|███ | 15/50 [00:21<00:27, 1.26it/s]\n 32%|███▏ | 16/50 [00:22<00:26, 1.26it/s]\n 34%|███▍ | 17/50 [00:22<00:26, 1.26it/s]\n 36%|███▌ | 18/50 [00:23<00:25, 1.26it/s]\n 38%|███▊ | 19/50 [00:24<00:24, 1.26it/s]\n 40%|████ | 20/50 [00:25<00:23, 1.26it/s]\n 42%|████▏ | 21/50 [00:26<00:23, 1.26it/s]\n 44%|████▍ | 22/50 [00:26<00:22, 1.26it/s]\n 46%|████▌ | 23/50 [00:27<00:21, 1.26it/s]\n 48%|████▊ | 24/50 [00:28<00:20, 1.26it/s]\n 50%|█████ | 25/50 [00:29<00:19, 1.26it/s]\n 52%|█████▏ | 26/50 [00:30<00:19, 1.26it/s]\n 54%|█████▍ | 27/50 [00:30<00:18, 1.26it/s]\n 56%|█████▌ | 28/50 [00:31<00:17, 1.26it/s]\n 58%|█████▊ | 29/50 [00:32<00:16, 1.26it/s]\n 60%|██████ | 30/50 [00:33<00:15, 1.26it/s]\n 62%|██████▏ | 31/50 [00:33<00:15, 1.26it/s]\n 64%|██████▍ | 32/50 [00:34<00:14, 1.26it/s]\n 66%|██████▌ | 33/50 [00:35<00:13, 1.26it/s]\n 68%|██████▊ | 34/50 [00:36<00:12, 1.26it/s]\n 70%|███████ | 35/50 [00:37<00:11, 1.27it/s]\n 72%|███████▏ | 36/50 [00:37<00:11, 1.27it/s]\n 74%|███████▍ | 37/50 [00:38<00:10, 1.27it/s]\n 76%|███████▌ | 38/50 [00:39<00:09, 1.26it/s]\n 78%|███████▊ | 39/50 [00:40<00:08, 1.26it/s]\n 80%|████████ | 40/50 [00:41<00:07, 1.26it/s]\n 82%|████████▏ | 41/50 [00:41<00:07, 1.26it/s]\n 84%|████████▍ | 42/50 [00:42<00:06, 1.26it/s]\n 86%|████████▌ | 43/50 [00:43<00:05, 1.26it/s]\n 88%|████████▊ | 44/50 [00:44<00:04, 1.26it/s]\n 90%|█████████ | 45/50 [00:45<00:03, 1.26it/s]\n 92%|█████████▏| 46/50 [00:45<00:03, 1.26it/s]\n 94%|█████████▍| 47/50 [00:46<00:02, 1.26it/s]\n 96%|█████████▌| 48/50 [00:47<00:01, 1.26it/s]\n 98%|█████████▊| 49/50 [00:48<00:00, 1.26it/s]\n100%|██████████| 50/50 [00:49<00:00, 1.26it/s]\n100%|██████████| 50/50 [00:49<00:00, 1.02it/s]", "metrics": { "predict_time": 61.41818688, "total_time": 61.427386 }, "output": "https://replicate.delivery/xezq/z9weFfkE5mtyxEmW0m7n31SxzdTHOalkQcR5E7OoTMuHN7VUA/output.png", "started_at": "2025-03-06T20:09:45.600200Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-2ndl7okfmkscylrusmk7n4xrni4ibxzj5g7gyrsfams2jzd6ciia", "get": "https://api.replicate.com/v1/predictions/8dmpbegdexrma0cndmaaeg7sw8", "cancel": "https://api.replicate.com/v1/predictions/8dmpbegdexrma0cndmaaeg7sw8/cancel" }, "version": "5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62" }
Generated inUsing seed: 9047806 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:10<08:49, 10.81s/it] 4%|▍ | 2/50 [00:11<03:48, 4.77s/it] 6%|▌ | 3/50 [00:12<02:18, 2.94s/it] 8%|▊ | 4/50 [00:12<01:35, 2.08s/it] 10%|█ | 5/50 [00:13<01:12, 1.60s/it] 12%|█▏ | 6/50 [00:14<00:57, 1.31s/it] 14%|█▍ | 7/50 [00:15<00:48, 1.13s/it] 16%|█▌ | 8/50 [00:15<00:42, 1.01s/it] 18%|█▊ | 9/50 [00:16<00:38, 1.07it/s] 20%|██ | 10/50 [00:17<00:35, 1.13it/s] 22%|██▏ | 11/50 [00:18<00:32, 1.18it/s] 24%|██▍ | 12/50 [00:18<00:31, 1.22it/s] 26%|██▌ | 13/50 [00:19<00:29, 1.24it/s] 28%|██▊ | 14/50 [00:20<00:28, 1.25it/s] 30%|███ | 15/50 [00:21<00:27, 1.26it/s] 32%|███▏ | 16/50 [00:22<00:26, 1.26it/s] 34%|███▍ | 17/50 [00:22<00:26, 1.26it/s] 36%|███▌ | 18/50 [00:23<00:25, 1.26it/s] 38%|███▊ | 19/50 [00:24<00:24, 1.26it/s] 40%|████ | 20/50 [00:25<00:23, 1.26it/s] 42%|████▏ | 21/50 [00:26<00:23, 1.26it/s] 44%|████▍ | 22/50 [00:26<00:22, 1.26it/s] 46%|████▌ | 23/50 [00:27<00:21, 1.26it/s] 48%|████▊ | 24/50 [00:28<00:20, 1.26it/s] 50%|█████ | 25/50 [00:29<00:19, 1.26it/s] 52%|█████▏ | 26/50 [00:30<00:19, 1.26it/s] 54%|█████▍ | 27/50 [00:30<00:18, 1.26it/s] 56%|█████▌ | 28/50 [00:31<00:17, 1.26it/s] 58%|█████▊ | 29/50 [00:32<00:16, 1.26it/s] 60%|██████ | 30/50 [00:33<00:15, 1.26it/s] 62%|██████▏ | 31/50 [00:33<00:15, 1.26it/s] 64%|██████▍ | 32/50 [00:34<00:14, 1.26it/s] 66%|██████▌ | 33/50 [00:35<00:13, 1.26it/s] 68%|██████▊ | 34/50 [00:36<00:12, 1.26it/s] 70%|███████ | 35/50 [00:37<00:11, 1.27it/s] 72%|███████▏ | 36/50 [00:37<00:11, 1.27it/s] 74%|███████▍ | 37/50 [00:38<00:10, 1.27it/s] 76%|███████▌ | 38/50 [00:39<00:09, 1.26it/s] 78%|███████▊ | 39/50 [00:40<00:08, 1.26it/s] 80%|████████ | 40/50 [00:41<00:07, 1.26it/s] 82%|████████▏ | 41/50 [00:41<00:07, 1.26it/s] 84%|████████▍ | 42/50 [00:42<00:06, 1.26it/s] 86%|████████▌ | 43/50 [00:43<00:05, 1.26it/s] 88%|████████▊ | 44/50 [00:44<00:04, 1.26it/s] 90%|█████████ | 45/50 [00:45<00:03, 1.26it/s] 92%|█████████▏| 46/50 [00:45<00:03, 1.26it/s] 94%|█████████▍| 47/50 [00:46<00:02, 1.26it/s] 96%|█████████▌| 48/50 [00:47<00:01, 1.26it/s] 98%|█████████▊| 49/50 [00:48<00:00, 1.26it/s] 100%|██████████| 50/50 [00:49<00:00, 1.26it/s] 100%|██████████| 50/50 [00:49<00:00, 1.02it/s]
Prediction
lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62IDq994t6a5c5rmc0cndmavb96fj4StatusSucceededSourceWebHardwareL40STotal durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- 在这幅如梦似幻的画作中,一辆由云朵构成的毛绒汽车轻盈地漂浮在蔚蓝的高空之中。这辆汽车设计独特,车身完全由洁白、蓬松的云朵编织而成,每一处都散发着柔软而毛茸茸的质感。从车顶到轮胎,再到它的圆润车灯,无一不是由细腻的云丝构成,仿佛随时都可能随风轻轻摆动。车窗也是由透明的云物质构成,同样覆盖着一层细软的绒毛,让人不禁想要触摸。 这辆神奇的云朵汽车仿佛是魔法世界中的交通工具,它悬浮在夕阳映照的绚丽天空之中,周围是五彩斑斓的晚霞和悠然飘浮的云彩。夕阳的余晖洒在云朵车上,为其柔软的轮廓镀上了一层金色的光辉,使得整个场景既温馨又神秘,引人入胜。
- guidance_scale
- 3.5
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "在这幅如梦似幻的画作中,一辆由云朵构成的毛绒汽车轻盈地漂浮在蔚蓝的高空之中。这辆汽车设计独特,车身完全由洁白、蓬松的云朵编织而成,每一处都散发着柔软而毛茸茸的质感。从车顶到轮胎,再到它的圆润车灯,无一不是由细腻的云丝构成,仿佛随时都可能随风轻轻摆动。车窗也是由透明的云物质构成,同样覆盖着一层细软的绒毛,让人不禁想要触摸。 这辆神奇的云朵汽车仿佛是魔法世界中的交通工具,它悬浮在夕阳映照的绚丽天空之中,周围是五彩斑斓的晚霞和悠然飘浮的云彩。夕阳的余晖洒在云朵车上,为其柔软的轮廓镀上了一层金色的光辉,使得整个场景既温馨又神秘,引人入胜。", "guidance_scale": 3.5, "num_inference_steps": 50 }
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 lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", { input: { width: 1024, height: 1024, prompt: "在这幅如梦似幻的画作中,一辆由云朵构成的毛绒汽车轻盈地漂浮在蔚蓝的高空之中。这辆汽车设计独特,车身完全由洁白、蓬松的云朵编织而成,每一处都散发着柔软而毛茸茸的质感。从车顶到轮胎,再到它的圆润车灯,无一不是由细腻的云丝构成,仿佛随时都可能随风轻轻摆动。车窗也是由透明的云物质构成,同样覆盖着一层细软的绒毛,让人不禁想要触摸。 这辆神奇的云朵汽车仿佛是魔法世界中的交通工具,它悬浮在夕阳映照的绚丽天空之中,周围是五彩斑斓的晚霞和悠然飘浮的云彩。夕阳的余晖洒在云朵车上,为其柔软的轮廓镀上了一层金色的光辉,使得整个场景既温馨又神秘,引人入胜。", guidance_scale: 3.5, num_inference_steps: 50 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", input={ "width": 1024, "height": 1024, "prompt": "在这幅如梦似幻的画作中,一辆由云朵构成的毛绒汽车轻盈地漂浮在蔚蓝的高空之中。这辆汽车设计独特,车身完全由洁白、蓬松的云朵编织而成,每一处都散发着柔软而毛茸茸的质感。从车顶到轮胎,再到它的圆润车灯,无一不是由细腻的云丝构成,仿佛随时都可能随风轻轻摆动。车窗也是由透明的云物质构成,同样覆盖着一层细软的绒毛,让人不禁想要触摸。 这辆神奇的云朵汽车仿佛是魔法世界中的交通工具,它悬浮在夕阳映照的绚丽天空之中,周围是五彩斑斓的晚霞和悠然飘浮的云彩。夕阳的余晖洒在云朵车上,为其柔软的轮廓镀上了一层金色的光辉,使得整个场景既温馨又神秘,引人入胜。", "guidance_scale": 3.5, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/cogview4-6b 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": "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", "input": { "width": 1024, "height": 1024, "prompt": "在这幅如梦似幻的画作中,一辆由云朵构成的毛绒汽车轻盈地漂浮在蔚蓝的高空之中。这辆汽车设计独特,车身完全由洁白、蓬松的云朵编织而成,每一处都散发着柔软而毛茸茸的质感。从车顶到轮胎,再到它的圆润车灯,无一不是由细腻的云丝构成,仿佛随时都可能随风轻轻摆动。车窗也是由透明的云物质构成,同样覆盖着一层细软的绒毛,让人不禁想要触摸。 这辆神奇的云朵汽车仿佛是魔法世界中的交通工具,它悬浮在夕阳映照的绚丽天空之中,周围是五彩斑斓的晚霞和悠然飘浮的云彩。夕阳的余晖洒在云朵车上,为其柔软的轮廓镀上了一层金色的光辉,使得整个场景既温馨又神秘,引人入胜。", "guidance_scale": 3.5, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-06T20:12:04.550553Z", "created_at": "2025-03-06T20:11:05.441000Z", "data_removed": false, "error": null, "id": "q994t6a5c5rmc0cndmavb96fj4", "input": { "width": 1024, "height": 1024, "prompt": "在这幅如梦似幻的画作中,一辆由云朵构成的毛绒汽车轻盈地漂浮在蔚蓝的高空之中。这辆汽车设计独特,车身完全由洁白、蓬松的云朵编织而成,每一处都散发着柔软而毛茸茸的质感。从车顶到轮胎,再到它的圆润车灯,无一不是由细腻的云丝构成,仿佛随时都可能随风轻轻摆动。车窗也是由透明的云物质构成,同样覆盖着一层细软的绒毛,让人不禁想要触摸。 这辆神奇的云朵汽车仿佛是魔法世界中的交通工具,它悬浮在夕阳映照的绚丽天空之中,周围是五彩斑斓的晚霞和悠然飘浮的云彩。夕阳的余晖洒在云朵车上,为其柔软的轮廓镀上了一层金色的光辉,使得整个场景既温馨又神秘,引人入胜。", "guidance_scale": 3.5, "num_inference_steps": 50 }, "logs": "Using seed: 12184750\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:10<08:47, 10.78s/it]\n 4%|▍ | 2/50 [00:11<03:48, 4.76s/it]\n 6%|▌ | 3/50 [00:12<02:18, 2.94s/it]\n 8%|▊ | 4/50 [00:12<01:35, 2.08s/it]\n 10%|█ | 5/50 [00:13<01:12, 1.61s/it]\n 12%|█▏ | 6/50 [00:14<00:58, 1.32s/it]\n 14%|█▍ | 7/50 [00:15<00:49, 1.14s/it]\n 16%|█▌ | 8/50 [00:15<00:42, 1.02s/it]\n 18%|█▊ | 9/50 [00:16<00:38, 1.06it/s]\n 20%|██ | 10/50 [00:17<00:35, 1.12it/s]\n 22%|██▏ | 11/50 [00:18<00:33, 1.17it/s]\n 24%|██▍ | 12/50 [00:19<00:31, 1.20it/s]\n 26%|██▌ | 13/50 [00:19<00:30, 1.23it/s]\n 28%|██▊ | 14/50 [00:20<00:29, 1.24it/s]\n 30%|███ | 15/50 [00:21<00:28, 1.24it/s]\n 32%|███▏ | 16/50 [00:22<00:27, 1.24it/s]\n 34%|███▍ | 17/50 [00:23<00:26, 1.24it/s]\n 36%|███▌ | 18/50 [00:23<00:25, 1.24it/s]\n 38%|███▊ | 19/50 [00:24<00:24, 1.24it/s]\n 40%|████ | 20/50 [00:25<00:24, 1.25it/s]\n 42%|████▏ | 21/50 [00:26<00:23, 1.24it/s]\n 44%|████▍ | 22/50 [00:27<00:22, 1.25it/s]\n 46%|████▌ | 23/50 [00:27<00:21, 1.25it/s]\n 48%|████▊ | 24/50 [00:28<00:20, 1.25it/s]\n 50%|█████ | 25/50 [00:29<00:20, 1.25it/s]\n 52%|█████▏ | 26/50 [00:30<00:19, 1.25it/s]\n 54%|█████▍ | 27/50 [00:31<00:18, 1.25it/s]\n 56%|█████▌ | 28/50 [00:31<00:17, 1.25it/s]\n 58%|█████▊ | 29/50 [00:32<00:16, 1.25it/s]\n 60%|██████ | 30/50 [00:33<00:16, 1.25it/s]\n 62%|██████▏ | 31/50 [00:34<00:15, 1.25it/s]\n 64%|██████▍ | 32/50 [00:35<00:14, 1.25it/s]\n 66%|██████▌ | 33/50 [00:35<00:13, 1.25it/s]\n 68%|██████▊ | 34/50 [00:36<00:12, 1.25it/s]\n 70%|███████ | 35/50 [00:37<00:12, 1.25it/s]\n 72%|███████▏ | 36/50 [00:38<00:11, 1.25it/s]\n 74%|███████▍ | 37/50 [00:39<00:10, 1.25it/s]\n 76%|███████▌ | 38/50 [00:39<00:09, 1.25it/s]\n 78%|███████▊ | 39/50 [00:40<00:08, 1.24it/s]\n 80%|████████ | 40/50 [00:41<00:08, 1.24it/s]\n 82%|████████▏ | 41/50 [00:42<00:07, 1.24it/s]\n 84%|████████▍ | 42/50 [00:43<00:06, 1.24it/s]\n 86%|████████▌ | 43/50 [00:43<00:05, 1.24it/s]\n 88%|████████▊ | 44/50 [00:44<00:04, 1.24it/s]\n 90%|█████████ | 45/50 [00:45<00:04, 1.24it/s]\n 92%|█████████▏| 46/50 [00:46<00:03, 1.24it/s]\n 94%|█████████▍| 47/50 [00:47<00:02, 1.24it/s]\n 96%|█████████▌| 48/50 [00:47<00:01, 1.24it/s]\n 98%|█████████▊| 49/50 [00:48<00:00, 1.24it/s]\n100%|██████████| 50/50 [00:49<00:00, 1.24it/s]\n100%|██████████| 50/50 [00:49<00:00, 1.01it/s]", "metrics": { "predict_time": 59.102717915, "total_time": 59.109553 }, "output": "https://replicate.delivery/xezq/TvGuSOfg3q1XZ6i6YWPxynJmjaOv8tk14mel3rv18uFUO7VUA/output.png", "started_at": "2025-03-06T20:11:05.447835Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-eo22bcfvoutds6qp63ovg6oeg5lce7xdgkcrazlq7hqp36pricfq", "get": "https://api.replicate.com/v1/predictions/q994t6a5c5rmc0cndmavb96fj4", "cancel": "https://api.replicate.com/v1/predictions/q994t6a5c5rmc0cndmavb96fj4/cancel" }, "version": "5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62" }
Generated inUsing seed: 12184750 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:10<08:47, 10.78s/it] 4%|▍ | 2/50 [00:11<03:48, 4.76s/it] 6%|▌ | 3/50 [00:12<02:18, 2.94s/it] 8%|▊ | 4/50 [00:12<01:35, 2.08s/it] 10%|█ | 5/50 [00:13<01:12, 1.61s/it] 12%|█▏ | 6/50 [00:14<00:58, 1.32s/it] 14%|█▍ | 7/50 [00:15<00:49, 1.14s/it] 16%|█▌ | 8/50 [00:15<00:42, 1.02s/it] 18%|█▊ | 9/50 [00:16<00:38, 1.06it/s] 20%|██ | 10/50 [00:17<00:35, 1.12it/s] 22%|██▏ | 11/50 [00:18<00:33, 1.17it/s] 24%|██▍ | 12/50 [00:19<00:31, 1.20it/s] 26%|██▌ | 13/50 [00:19<00:30, 1.23it/s] 28%|██▊ | 14/50 [00:20<00:29, 1.24it/s] 30%|███ | 15/50 [00:21<00:28, 1.24it/s] 32%|███▏ | 16/50 [00:22<00:27, 1.24it/s] 34%|███▍ | 17/50 [00:23<00:26, 1.24it/s] 36%|███▌ | 18/50 [00:23<00:25, 1.24it/s] 38%|███▊ | 19/50 [00:24<00:24, 1.24it/s] 40%|████ | 20/50 [00:25<00:24, 1.25it/s] 42%|████▏ | 21/50 [00:26<00:23, 1.24it/s] 44%|████▍ | 22/50 [00:27<00:22, 1.25it/s] 46%|████▌ | 23/50 [00:27<00:21, 1.25it/s] 48%|████▊ | 24/50 [00:28<00:20, 1.25it/s] 50%|█████ | 25/50 [00:29<00:20, 1.25it/s] 52%|█████▏ | 26/50 [00:30<00:19, 1.25it/s] 54%|█████▍ | 27/50 [00:31<00:18, 1.25it/s] 56%|█████▌ | 28/50 [00:31<00:17, 1.25it/s] 58%|█████▊ | 29/50 [00:32<00:16, 1.25it/s] 60%|██████ | 30/50 [00:33<00:16, 1.25it/s] 62%|██████▏ | 31/50 [00:34<00:15, 1.25it/s] 64%|██████▍ | 32/50 [00:35<00:14, 1.25it/s] 66%|██████▌ | 33/50 [00:35<00:13, 1.25it/s] 68%|██████▊ | 34/50 [00:36<00:12, 1.25it/s] 70%|███████ | 35/50 [00:37<00:12, 1.25it/s] 72%|███████▏ | 36/50 [00:38<00:11, 1.25it/s] 74%|███████▍ | 37/50 [00:39<00:10, 1.25it/s] 76%|███████▌ | 38/50 [00:39<00:09, 1.25it/s] 78%|███████▊ | 39/50 [00:40<00:08, 1.24it/s] 80%|████████ | 40/50 [00:41<00:08, 1.24it/s] 82%|████████▏ | 41/50 [00:42<00:07, 1.24it/s] 84%|████████▍ | 42/50 [00:43<00:06, 1.24it/s] 86%|████████▌ | 43/50 [00:43<00:05, 1.24it/s] 88%|████████▊ | 44/50 [00:44<00:04, 1.24it/s] 90%|█████████ | 45/50 [00:45<00:04, 1.24it/s] 92%|█████████▏| 46/50 [00:46<00:03, 1.24it/s] 94%|█████████▍| 47/50 [00:47<00:02, 1.24it/s] 96%|█████████▌| 48/50 [00:47<00:01, 1.24it/s] 98%|█████████▊| 49/50 [00:48<00:00, 1.24it/s] 100%|██████████| 50/50 [00:49<00:00, 1.24it/s] 100%|██████████| 50/50 [00:49<00:00, 1.01it/s]
Prediction
lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62IDmhaxtqm761rma0cndmb9dpdm78StatusSucceededSourceWebHardwareL40STotal durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- In this dreamlike painting, a plush car made of clouds floats lightly in the blue sky. This unique car is made entirely of white, fluffy clouds, and every part of it exudes a soft and fuzzy texture. From the roof to the tires to its round headlights, everything is made of delicate cloud filaments, as if it could sway gently in the wind at any time. The windows are also made of transparent cloud material, covered with a layer of soft fuzz that makes people want to touch it. This magical cloud car seems to be a means of transportation in a magical world. It is suspended in a gorgeous sky illuminated by the setting sun, surrounded by colorful sunsets and leisurely floating clouds. The afterglow of the setting sun shines on the cloud car, coating its soft outline with a layer of golden light, making the whole scene warm, mysterious and fascinating.
- guidance_scale
- 3.5
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "In this dreamlike painting, a plush car made of clouds floats lightly in the blue sky. This unique car is made entirely of white, fluffy clouds, and every part of it exudes a soft and fuzzy texture. From the roof to the tires to its round headlights, everything is made of delicate cloud filaments, as if it could sway gently in the wind at any time. The windows are also made of transparent cloud material, covered with a layer of soft fuzz that makes people want to touch it. This magical cloud car seems to be a means of transportation in a magical world. It is suspended in a gorgeous sky illuminated by the setting sun, surrounded by colorful sunsets and leisurely floating clouds. The afterglow of the setting sun shines on the cloud car, coating its soft outline with a layer of golden light, making the whole scene warm, mysterious and fascinating.", "guidance_scale": 3.5, "num_inference_steps": 50 }
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 lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", { input: { width: 1024, height: 1024, prompt: "In this dreamlike painting, a plush car made of clouds floats lightly in the blue sky. This unique car is made entirely of white, fluffy clouds, and every part of it exudes a soft and fuzzy texture. From the roof to the tires to its round headlights, everything is made of delicate cloud filaments, as if it could sway gently in the wind at any time. The windows are also made of transparent cloud material, covered with a layer of soft fuzz that makes people want to touch it. This magical cloud car seems to be a means of transportation in a magical world. It is suspended in a gorgeous sky illuminated by the setting sun, surrounded by colorful sunsets and leisurely floating clouds. The afterglow of the setting sun shines on the cloud car, coating its soft outline with a layer of golden light, making the whole scene warm, mysterious and fascinating.", guidance_scale: 3.5, num_inference_steps: 50 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", input={ "width": 1024, "height": 1024, "prompt": "In this dreamlike painting, a plush car made of clouds floats lightly in the blue sky. This unique car is made entirely of white, fluffy clouds, and every part of it exudes a soft and fuzzy texture. From the roof to the tires to its round headlights, everything is made of delicate cloud filaments, as if it could sway gently in the wind at any time. The windows are also made of transparent cloud material, covered with a layer of soft fuzz that makes people want to touch it. This magical cloud car seems to be a means of transportation in a magical world. It is suspended in a gorgeous sky illuminated by the setting sun, surrounded by colorful sunsets and leisurely floating clouds. The afterglow of the setting sun shines on the cloud car, coating its soft outline with a layer of golden light, making the whole scene warm, mysterious and fascinating.", "guidance_scale": 3.5, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/cogview4-6b 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": "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", "input": { "width": 1024, "height": 1024, "prompt": "In this dreamlike painting, a plush car made of clouds floats lightly in the blue sky. This unique car is made entirely of white, fluffy clouds, and every part of it exudes a soft and fuzzy texture. From the roof to the tires to its round headlights, everything is made of delicate cloud filaments, as if it could sway gently in the wind at any time. The windows are also made of transparent cloud material, covered with a layer of soft fuzz that makes people want to touch it. This magical cloud car seems to be a means of transportation in a magical world. It is suspended in a gorgeous sky illuminated by the setting sun, surrounded by colorful sunsets and leisurely floating clouds. The afterglow of the setting sun shines on the cloud car, coating its soft outline with a layer of golden light, making the whole scene warm, mysterious and fascinating.", "guidance_scale": 3.5, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-06T20:13:27.772856Z", "created_at": "2025-03-06T20:12:27.824000Z", "data_removed": false, "error": null, "id": "mhaxtqm761rma0cndmb9dpdm78", "input": { "width": 1024, "height": 1024, "prompt": "In this dreamlike painting, a plush car made of clouds floats lightly in the blue sky. This unique car is made entirely of white, fluffy clouds, and every part of it exudes a soft and fuzzy texture. From the roof to the tires to its round headlights, everything is made of delicate cloud filaments, as if it could sway gently in the wind at any time. The windows are also made of transparent cloud material, covered with a layer of soft fuzz that makes people want to touch it. This magical cloud car seems to be a means of transportation in a magical world. It is suspended in a gorgeous sky illuminated by the setting sun, surrounded by colorful sunsets and leisurely floating clouds. The afterglow of the setting sun shines on the cloud car, coating its soft outline with a layer of golden light, making the whole scene warm, mysterious and fascinating.", "guidance_scale": 3.5, "num_inference_steps": 50 }, "logs": "Using seed: 5053951\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:11<08:59, 11.00s/it]\n 4%|▍ | 2/50 [00:11<03:53, 4.86s/it]\n 6%|▌ | 3/50 [00:12<02:20, 2.99s/it]\n 8%|▊ | 4/50 [00:13<01:37, 2.12s/it]\n 10%|█ | 5/50 [00:13<01:13, 1.64s/it]\n 12%|█▏ | 6/50 [00:14<00:59, 1.35s/it]\n 14%|█▍ | 7/50 [00:15<00:49, 1.16s/it]\n 16%|█▌ | 8/50 [00:16<00:43, 1.04s/it]\n 18%|█▊ | 9/50 [00:17<00:39, 1.04it/s]\n 20%|██ | 10/50 [00:17<00:36, 1.10it/s]\n 22%|██▏ | 11/50 [00:18<00:33, 1.15it/s]\n 24%|██▍ | 12/50 [00:19<00:32, 1.19it/s]\n 26%|██▌ | 13/50 [00:20<00:30, 1.21it/s]\n 28%|██▊ | 14/50 [00:20<00:29, 1.22it/s]\n 30%|███ | 15/50 [00:21<00:28, 1.23it/s]\n 32%|███▏ | 16/50 [00:22<00:27, 1.23it/s]\n 34%|███▍ | 17/50 [00:23<00:26, 1.24it/s]\n 36%|███▌ | 18/50 [00:24<00:25, 1.24it/s]\n 38%|███▊ | 19/50 [00:24<00:24, 1.24it/s]\n 40%|████ | 20/50 [00:25<00:24, 1.24it/s]\n 42%|████▏ | 21/50 [00:26<00:23, 1.24it/s]\n 44%|████▍ | 22/50 [00:27<00:22, 1.25it/s]\n 46%|████▌ | 23/50 [00:28<00:21, 1.25it/s]\n 48%|████▊ | 24/50 [00:28<00:20, 1.25it/s]\n 50%|█████ | 25/50 [00:29<00:20, 1.24it/s]\n 52%|█████▏ | 26/50 [00:30<00:19, 1.24it/s]\n 54%|█████▍ | 27/50 [00:31<00:18, 1.24it/s]\n 56%|█████▌ | 28/50 [00:32<00:17, 1.24it/s]\n 58%|█████▊ | 29/50 [00:33<00:16, 1.24it/s]\n 60%|██████ | 30/50 [00:33<00:16, 1.24it/s]\n 62%|██████▏ | 31/50 [00:34<00:15, 1.24it/s]\n 64%|██████▍ | 32/50 [00:35<00:14, 1.24it/s]\n 66%|██████▌ | 33/50 [00:36<00:13, 1.24it/s]\n 68%|██████▊ | 34/50 [00:37<00:12, 1.24it/s]\n 70%|███████ | 35/50 [00:37<00:12, 1.24it/s]\n 72%|███████▏ | 36/50 [00:38<00:11, 1.24it/s]\n 74%|███████▍ | 37/50 [00:39<00:10, 1.24it/s]\n 76%|███████▌ | 38/50 [00:40<00:09, 1.24it/s]\n 78%|███████▊ | 39/50 [00:41<00:08, 1.24it/s]\n 80%|████████ | 40/50 [00:41<00:08, 1.24it/s]\n 82%|████████▏ | 41/50 [00:42<00:07, 1.24it/s]\n 84%|████████▍ | 42/50 [00:43<00:06, 1.24it/s]\n 86%|████████▌ | 43/50 [00:44<00:05, 1.24it/s]\n 88%|████████▊ | 44/50 [00:45<00:04, 1.24it/s]\n 90%|█████████ | 45/50 [00:45<00:04, 1.24it/s]\n 92%|█████████▏| 46/50 [00:46<00:03, 1.24it/s]\n 94%|█████████▍| 47/50 [00:47<00:02, 1.24it/s]\n 96%|█████████▌| 48/50 [00:48<00:01, 1.24it/s]\n 98%|█████████▊| 49/50 [00:49<00:00, 1.24it/s]\n100%|██████████| 50/50 [00:49<00:00, 1.24it/s]\n100%|██████████| 50/50 [00:49<00:00, 1.00it/s]", "metrics": { "predict_time": 59.942078729, "total_time": 59.948856 }, "output": "https://replicate.delivery/xezq/cm3rekEBxASQGijMePje25Uf5ZvEIe1hToAgckEPRWo98ZviC/output.png", "started_at": "2025-03-06T20:12:27.830777Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-ckd4zjhyahrfxklypac76i3jeav72sb26chzhga5ftkn6mfq52yq", "get": "https://api.replicate.com/v1/predictions/mhaxtqm761rma0cndmb9dpdm78", "cancel": "https://api.replicate.com/v1/predictions/mhaxtqm761rma0cndmb9dpdm78/cancel" }, "version": "5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62" }
Generated inUsing seed: 5053951 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:11<08:59, 11.00s/it] 4%|▍ | 2/50 [00:11<03:53, 4.86s/it] 6%|▌ | 3/50 [00:12<02:20, 2.99s/it] 8%|▊ | 4/50 [00:13<01:37, 2.12s/it] 10%|█ | 5/50 [00:13<01:13, 1.64s/it] 12%|█▏ | 6/50 [00:14<00:59, 1.35s/it] 14%|█▍ | 7/50 [00:15<00:49, 1.16s/it] 16%|█▌ | 8/50 [00:16<00:43, 1.04s/it] 18%|█▊ | 9/50 [00:17<00:39, 1.04it/s] 20%|██ | 10/50 [00:17<00:36, 1.10it/s] 22%|██▏ | 11/50 [00:18<00:33, 1.15it/s] 24%|██▍ | 12/50 [00:19<00:32, 1.19it/s] 26%|██▌ | 13/50 [00:20<00:30, 1.21it/s] 28%|██▊ | 14/50 [00:20<00:29, 1.22it/s] 30%|███ | 15/50 [00:21<00:28, 1.23it/s] 32%|███▏ | 16/50 [00:22<00:27, 1.23it/s] 34%|███▍ | 17/50 [00:23<00:26, 1.24it/s] 36%|███▌ | 18/50 [00:24<00:25, 1.24it/s] 38%|███▊ | 19/50 [00:24<00:24, 1.24it/s] 40%|████ | 20/50 [00:25<00:24, 1.24it/s] 42%|████▏ | 21/50 [00:26<00:23, 1.24it/s] 44%|████▍ | 22/50 [00:27<00:22, 1.25it/s] 46%|████▌ | 23/50 [00:28<00:21, 1.25it/s] 48%|████▊ | 24/50 [00:28<00:20, 1.25it/s] 50%|█████ | 25/50 [00:29<00:20, 1.24it/s] 52%|█████▏ | 26/50 [00:30<00:19, 1.24it/s] 54%|█████▍ | 27/50 [00:31<00:18, 1.24it/s] 56%|█████▌ | 28/50 [00:32<00:17, 1.24it/s] 58%|█████▊ | 29/50 [00:33<00:16, 1.24it/s] 60%|██████ | 30/50 [00:33<00:16, 1.24it/s] 62%|██████▏ | 31/50 [00:34<00:15, 1.24it/s] 64%|██████▍ | 32/50 [00:35<00:14, 1.24it/s] 66%|██████▌ | 33/50 [00:36<00:13, 1.24it/s] 68%|██████▊ | 34/50 [00:37<00:12, 1.24it/s] 70%|███████ | 35/50 [00:37<00:12, 1.24it/s] 72%|███████▏ | 36/50 [00:38<00:11, 1.24it/s] 74%|███████▍ | 37/50 [00:39<00:10, 1.24it/s] 76%|███████▌ | 38/50 [00:40<00:09, 1.24it/s] 78%|███████▊ | 39/50 [00:41<00:08, 1.24it/s] 80%|████████ | 40/50 [00:41<00:08, 1.24it/s] 82%|████████▏ | 41/50 [00:42<00:07, 1.24it/s] 84%|████████▍ | 42/50 [00:43<00:06, 1.24it/s] 86%|████████▌ | 43/50 [00:44<00:05, 1.24it/s] 88%|████████▊ | 44/50 [00:45<00:04, 1.24it/s] 90%|█████████ | 45/50 [00:45<00:04, 1.24it/s] 92%|█████████▏| 46/50 [00:46<00:03, 1.24it/s] 94%|█████████▍| 47/50 [00:47<00:02, 1.24it/s] 96%|█████████▌| 48/50 [00:48<00:01, 1.24it/s] 98%|█████████▊| 49/50 [00:49<00:00, 1.24it/s] 100%|██████████| 50/50 [00:49<00:00, 1.24it/s] 100%|██████████| 50/50 [00:49<00:00, 1.00it/s]
Prediction
lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62ID0fg2mkd7anrmc0cndmc9s7kypwStatusSucceededSourceWebHardwareL40STotal durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- This is a Pixar-style animated rendering of an anthropomorphic clay-style snake. The happy little snake is dressed as a magician and occupies the lower third of the screen, looking playful and lively. It wears a retro black wool hat on its head and a uniquely designed red cotton jacket, with white fur sleeves adding a warm contrast. The snake's scales are carefully painted with golden plum blossom patterns, which are gorgeous and cute. Its belly and face are white, which is in sharp contrast to its red body. This winding little snake has a cute plastic figurine texture, as if it will jump out of the picture at any time. The background is a bright red, and the ground is scattered with decorations such as treasure chests, golden eggs and red lanterns, creating a strong festive atmosphere. The upper half of the picture is written in golden cursive words "Happy New Year", celebrating the arrival of the new year, and also hinting at the arrival of the Year of the Snake, adding a festive joy and auspiciousness to the whole picture.
- guidance_scale
- 3.5
- num_inference_steps
- 50
{ "width": 1024, "height": 1024, "prompt": "This is a Pixar-style animated rendering of an anthropomorphic clay-style snake. The happy little snake is dressed as a magician and occupies the lower third of the screen, looking playful and lively. It wears a retro black wool hat on its head and a uniquely designed red cotton jacket, with white fur sleeves adding a warm contrast. The snake's scales are carefully painted with golden plum blossom patterns, which are gorgeous and cute. Its belly and face are white, which is in sharp contrast to its red body. This winding little snake has a cute plastic figurine texture, as if it will jump out of the picture at any time. The background is a bright red, and the ground is scattered with decorations such as treasure chests, golden eggs and red lanterns, creating a strong festive atmosphere. The upper half of the picture is written in golden cursive words \"Happy New Year\", celebrating the arrival of the new year, and also hinting at the arrival of the Year of the Snake, adding a festive joy and auspiciousness to the whole picture.", "guidance_scale": 3.5, "num_inference_steps": 50 }
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 lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", { input: { width: 1024, height: 1024, prompt: "This is a Pixar-style animated rendering of an anthropomorphic clay-style snake. The happy little snake is dressed as a magician and occupies the lower third of the screen, looking playful and lively. It wears a retro black wool hat on its head and a uniquely designed red cotton jacket, with white fur sleeves adding a warm contrast. The snake's scales are carefully painted with golden plum blossom patterns, which are gorgeous and cute. Its belly and face are white, which is in sharp contrast to its red body. This winding little snake has a cute plastic figurine texture, as if it will jump out of the picture at any time. The background is a bright red, and the ground is scattered with decorations such as treasure chests, golden eggs and red lanterns, creating a strong festive atmosphere. The upper half of the picture is written in golden cursive words \"Happy New Year\", celebrating the arrival of the new year, and also hinting at the arrival of the Year of the Snake, adding a festive joy and auspiciousness to the whole picture.", guidance_scale: 3.5, num_inference_steps: 50 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/cogview4-6b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", input={ "width": 1024, "height": 1024, "prompt": "This is a Pixar-style animated rendering of an anthropomorphic clay-style snake. The happy little snake is dressed as a magician and occupies the lower third of the screen, looking playful and lively. It wears a retro black wool hat on its head and a uniquely designed red cotton jacket, with white fur sleeves adding a warm contrast. The snake's scales are carefully painted with golden plum blossom patterns, which are gorgeous and cute. Its belly and face are white, which is in sharp contrast to its red body. This winding little snake has a cute plastic figurine texture, as if it will jump out of the picture at any time. The background is a bright red, and the ground is scattered with decorations such as treasure chests, golden eggs and red lanterns, creating a strong festive atmosphere. The upper half of the picture is written in golden cursive words \"Happy New Year\", celebrating the arrival of the new year, and also hinting at the arrival of the Year of the Snake, adding a festive joy and auspiciousness to the whole picture.", "guidance_scale": 3.5, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/cogview4-6b 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": "lucataco/cogview4-6b:5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62", "input": { "width": 1024, "height": 1024, "prompt": "This is a Pixar-style animated rendering of an anthropomorphic clay-style snake. The happy little snake is dressed as a magician and occupies the lower third of the screen, looking playful and lively. It wears a retro black wool hat on its head and a uniquely designed red cotton jacket, with white fur sleeves adding a warm contrast. The snake\'s scales are carefully painted with golden plum blossom patterns, which are gorgeous and cute. Its belly and face are white, which is in sharp contrast to its red body. This winding little snake has a cute plastic figurine texture, as if it will jump out of the picture at any time. The background is a bright red, and the ground is scattered with decorations such as treasure chests, golden eggs and red lanterns, creating a strong festive atmosphere. The upper half of the picture is written in golden cursive words \\"Happy New Year\\", celebrating the arrival of the new year, and also hinting at the arrival of the Year of the Snake, adding a festive joy and auspiciousness to the whole picture.", "guidance_scale": 3.5, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-06T20:15:46.851122Z", "created_at": "2025-03-06T20:14:47.125000Z", "data_removed": false, "error": null, "id": "0fg2mkd7anrmc0cndmc9s7kypw", "input": { "width": 1024, "height": 1024, "prompt": "This is a Pixar-style animated rendering of an anthropomorphic clay-style snake. The happy little snake is dressed as a magician and occupies the lower third of the screen, looking playful and lively. It wears a retro black wool hat on its head and a uniquely designed red cotton jacket, with white fur sleeves adding a warm contrast. The snake's scales are carefully painted with golden plum blossom patterns, which are gorgeous and cute. Its belly and face are white, which is in sharp contrast to its red body. This winding little snake has a cute plastic figurine texture, as if it will jump out of the picture at any time. The background is a bright red, and the ground is scattered with decorations such as treasure chests, golden eggs and red lanterns, creating a strong festive atmosphere. The upper half of the picture is written in golden cursive words \"Happy New Year\", celebrating the arrival of the new year, and also hinting at the arrival of the Year of the Snake, adding a festive joy and auspiciousness to the whole picture.", "guidance_scale": 3.5, "num_inference_steps": 50 }, "logs": "Using seed: 16049815\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:10<08:52, 10.87s/it]\n 4%|▍ | 2/50 [00:11<03:50, 4.80s/it]\n 6%|▌ | 3/50 [00:12<02:19, 2.96s/it]\n 8%|▊ | 4/50 [00:12<01:36, 2.10s/it]\n 10%|█ | 5/50 [00:13<01:13, 1.62s/it]\n 12%|█▏ | 6/50 [00:14<00:58, 1.34s/it]\n 14%|█▍ | 7/50 [00:15<00:49, 1.15s/it]\n 16%|█▌ | 8/50 [00:16<00:43, 1.04s/it]\n 18%|█▊ | 9/50 [00:16<00:39, 1.05it/s]\n 20%|██ | 10/50 [00:17<00:36, 1.10it/s]\n 22%|██▏ | 11/50 [00:18<00:34, 1.15it/s]\n 24%|██▍ | 12/50 [00:19<00:32, 1.18it/s]\n 26%|██▌ | 13/50 [00:20<00:30, 1.21it/s]\n 28%|██▊ | 14/50 [00:20<00:29, 1.22it/s]\n 30%|███ | 15/50 [00:21<00:28, 1.23it/s]\n 32%|███▏ | 16/50 [00:22<00:27, 1.23it/s]\n 34%|███▍ | 17/50 [00:23<00:26, 1.24it/s]\n 36%|███▌ | 18/50 [00:24<00:25, 1.24it/s]\n 38%|███▊ | 19/50 [00:24<00:25, 1.24it/s]\n 40%|████ | 20/50 [00:25<00:24, 1.24it/s]\n 42%|████▏ | 21/50 [00:26<00:23, 1.24it/s]\n 44%|████▍ | 22/50 [00:27<00:22, 1.24it/s]\n 46%|████▌ | 23/50 [00:28<00:21, 1.24it/s]\n 48%|████▊ | 24/50 [00:28<00:21, 1.24it/s]\n 50%|█████ | 25/50 [00:29<00:20, 1.24it/s]\n 52%|█████▏ | 26/50 [00:30<00:19, 1.24it/s]\n 54%|█████▍ | 27/50 [00:31<00:18, 1.24it/s]\n 56%|█████▌ | 28/50 [00:32<00:17, 1.24it/s]\n 58%|█████▊ | 29/50 [00:32<00:16, 1.24it/s]\n 60%|██████ | 30/50 [00:33<00:16, 1.24it/s]\n 62%|██████▏ | 31/50 [00:34<00:15, 1.24it/s]\n 64%|██████▍ | 32/50 [00:35<00:14, 1.23it/s]\n 66%|██████▌ | 33/50 [00:36<00:13, 1.23it/s]\n 68%|██████▊ | 34/50 [00:37<00:13, 1.23it/s]\n 70%|███████ | 35/50 [00:37<00:12, 1.24it/s]\n 72%|███████▏ | 36/50 [00:38<00:11, 1.24it/s]\n 74%|███████▍ | 37/50 [00:39<00:10, 1.24it/s]\n 76%|███████▌ | 38/50 [00:40<00:09, 1.24it/s]\n 78%|███████▊ | 39/50 [00:41<00:08, 1.24it/s]\n 80%|████████ | 40/50 [00:41<00:08, 1.25it/s]\n 82%|████████▏ | 41/50 [00:42<00:07, 1.25it/s]\n 84%|████████▍ | 42/50 [00:43<00:06, 1.25it/s]\n 86%|████████▌ | 43/50 [00:44<00:05, 1.25it/s]\n 88%|████████▊ | 44/50 [00:45<00:04, 1.25it/s]\n 90%|█████████ | 45/50 [00:45<00:04, 1.25it/s]\n 92%|█████████▏| 46/50 [00:46<00:03, 1.25it/s]\n 94%|█████████▍| 47/50 [00:47<00:02, 1.25it/s]\n 96%|█████████▌| 48/50 [00:48<00:01, 1.25it/s]\n 98%|█████████▊| 49/50 [00:49<00:00, 1.25it/s]\n100%|██████████| 50/50 [00:49<00:00, 1.24it/s]\n100%|██████████| 50/50 [00:49<00:00, 1.00it/s]", "metrics": { "predict_time": 59.719579522, "total_time": 59.726122 }, "output": "https://replicate.delivery/xezq/KFRRGWUfBsxta60OwrEaVz4FlcRPECmERM1ilXgryWV5o9KKA/output.png", "started_at": "2025-03-06T20:14:47.131543Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-rlbqrkhkr7es5kevuknt7sflnyohdjzyziogvi64yj5vlhebeipq", "get": "https://api.replicate.com/v1/predictions/0fg2mkd7anrmc0cndmc9s7kypw", "cancel": "https://api.replicate.com/v1/predictions/0fg2mkd7anrmc0cndmc9s7kypw/cancel" }, "version": "5b608630958be05f6845ed0d629f56cd01c372017d42f4e26916a12c7eab7b62" }
Generated inUsing seed: 16049815 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:10<08:52, 10.87s/it] 4%|▍ | 2/50 [00:11<03:50, 4.80s/it] 6%|▌ | 3/50 [00:12<02:19, 2.96s/it] 8%|▊ | 4/50 [00:12<01:36, 2.10s/it] 10%|█ | 5/50 [00:13<01:13, 1.62s/it] 12%|█▏ | 6/50 [00:14<00:58, 1.34s/it] 14%|█▍ | 7/50 [00:15<00:49, 1.15s/it] 16%|█▌ | 8/50 [00:16<00:43, 1.04s/it] 18%|█▊ | 9/50 [00:16<00:39, 1.05it/s] 20%|██ | 10/50 [00:17<00:36, 1.10it/s] 22%|██▏ | 11/50 [00:18<00:34, 1.15it/s] 24%|██▍ | 12/50 [00:19<00:32, 1.18it/s] 26%|██▌ | 13/50 [00:20<00:30, 1.21it/s] 28%|██▊ | 14/50 [00:20<00:29, 1.22it/s] 30%|███ | 15/50 [00:21<00:28, 1.23it/s] 32%|███▏ | 16/50 [00:22<00:27, 1.23it/s] 34%|███▍ | 17/50 [00:23<00:26, 1.24it/s] 36%|███▌ | 18/50 [00:24<00:25, 1.24it/s] 38%|███▊ | 19/50 [00:24<00:25, 1.24it/s] 40%|████ | 20/50 [00:25<00:24, 1.24it/s] 42%|████▏ | 21/50 [00:26<00:23, 1.24it/s] 44%|████▍ | 22/50 [00:27<00:22, 1.24it/s] 46%|████▌ | 23/50 [00:28<00:21, 1.24it/s] 48%|████▊ | 24/50 [00:28<00:21, 1.24it/s] 50%|█████ | 25/50 [00:29<00:20, 1.24it/s] 52%|█████▏ | 26/50 [00:30<00:19, 1.24it/s] 54%|█████▍ | 27/50 [00:31<00:18, 1.24it/s] 56%|█████▌ | 28/50 [00:32<00:17, 1.24it/s] 58%|█████▊ | 29/50 [00:32<00:16, 1.24it/s] 60%|██████ | 30/50 [00:33<00:16, 1.24it/s] 62%|██████▏ | 31/50 [00:34<00:15, 1.24it/s] 64%|██████▍ | 32/50 [00:35<00:14, 1.23it/s] 66%|██████▌ | 33/50 [00:36<00:13, 1.23it/s] 68%|██████▊ | 34/50 [00:37<00:13, 1.23it/s] 70%|███████ | 35/50 [00:37<00:12, 1.24it/s] 72%|███████▏ | 36/50 [00:38<00:11, 1.24it/s] 74%|███████▍ | 37/50 [00:39<00:10, 1.24it/s] 76%|███████▌ | 38/50 [00:40<00:09, 1.24it/s] 78%|███████▊ | 39/50 [00:41<00:08, 1.24it/s] 80%|████████ | 40/50 [00:41<00:08, 1.25it/s] 82%|████████▏ | 41/50 [00:42<00:07, 1.25it/s] 84%|████████▍ | 42/50 [00:43<00:06, 1.25it/s] 86%|████████▌ | 43/50 [00:44<00:05, 1.25it/s] 88%|████████▊ | 44/50 [00:45<00:04, 1.25it/s] 90%|█████████ | 45/50 [00:45<00:04, 1.25it/s] 92%|█████████▏| 46/50 [00:46<00:03, 1.25it/s] 94%|█████████▍| 47/50 [00:47<00:02, 1.25it/s] 96%|█████████▌| 48/50 [00:48<00:01, 1.25it/s] 98%|█████████▊| 49/50 [00:49<00:00, 1.25it/s] 100%|██████████| 50/50 [00:49<00:00, 1.24it/s] 100%|██████████| 50/50 [00:49<00:00, 1.00it/s]
Want to make some of these yourself?
Run this model