lightweight-ai / model1
flux_schnell model img2img inference
- Public
- 98.7K runs
-
A100 (80GB)
Prediction
lightweight-ai/model1:4eef7f80447eba7af4013ab74710d0216a99ca4e342710f47c6e29412dc7dbc6IDd4s6pmj19drj00ck38gr9gw90rStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- A fluffy, orange tabby cat curled up asleep in a sunbeam streaming through a window, its soft fur glowing with the warmth of the light; highly detailed 8K UHD photorealistic rendering, natural lighting, warm and inviting atmosphere, focus on softness and texture.
- num_outputs
- 1
- output_format
- png
- output_quality
- 100
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "width": 1024, "height": 1024, "prompt": "A fluffy, orange tabby cat curled up asleep in a sunbeam streaming through a window, its soft fur glowing with the warmth of the light; highly detailed 8K UHD photorealistic rendering, natural lighting, warm and inviting atmosphere, focus on softness and texture.", "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lightweight-ai/model1:4eef7f80447eba7af4013ab74710d0216a99ca4e342710f47c6e29412dc7dbc6", { input: { width: 1024, height: 1024, prompt: "A fluffy, orange tabby cat curled up asleep in a sunbeam streaming through a window, its soft fur glowing with the warmth of the light; highly detailed 8K UHD photorealistic rendering, natural lighting, warm and inviting atmosphere, focus on softness and texture.", num_outputs: 1, output_format: "png", output_quality: 100, prompt_strength: 0.8, num_inference_steps: 4 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lightweight-ai/model1:4eef7f80447eba7af4013ab74710d0216a99ca4e342710f47c6e29412dc7dbc6", input={ "width": 1024, "height": 1024, "prompt": "A fluffy, orange tabby cat curled up asleep in a sunbeam streaming through a window, its soft fur glowing with the warmth of the light; highly detailed 8K UHD photorealistic rendering, natural lighting, warm and inviting atmosphere, focus on softness and texture.", "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lightweight-ai/model1 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": "lightweight-ai/model1:4eef7f80447eba7af4013ab74710d0216a99ca4e342710f47c6e29412dc7dbc6", "input": { "width": 1024, "height": 1024, "prompt": "A fluffy, orange tabby cat curled up asleep in a sunbeam streaming through a window, its soft fur glowing with the warmth of the light; highly detailed 8K UHD photorealistic rendering, natural lighting, warm and inviting atmosphere, focus on softness and texture.", "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-11T07:30:53.114065Z", "created_at": "2024-11-11T07:30:07.307000Z", "data_removed": false, "error": null, "id": "d4s6pmj19drj00ck38gr9gw90r", "input": { "width": 1024, "height": 1024, "prompt": "A fluffy, orange tabby cat curled up asleep in a sunbeam streaming through a window, its soft fur glowing with the warmth of the light; highly detailed 8K UHD photorealistic rendering, natural lighting, warm and inviting atmosphere, focus on softness and texture.", "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 9166\nPrompt: A fluffy, orange tabby cat curled up asleep in a sunbeam streaming through a window, its soft fur glowing with the warmth of the light; highly detailed 8K UHD photorealistic rendering, natural lighting, warm and inviting atmosphere, focus on softness and texture.\ntxt2img mode\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|βββ | 1/4 [00:00<00:01, 1.92it/s]\n 50%|βββββ | 2/4 [00:00<00:00, 2.54it/s]\n 75%|ββββββββ | 3/4 [00:01<00:00, 2.35it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 2.27it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 2.28it/s]", "metrics": { "predict_time": 3.202414406, "total_time": 45.807065 }, "output": [ "https://replicate.delivery/yhqm/YX0hcMfpEXTCaKefnRBkOqVSHcewWCUgUBjvVFr9FWfpVye7E/out-0.png" ], "started_at": "2024-11-11T07:30:49.911650Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-4the27mnw4zfpcukgplp263upejs65kwzb55tayzrwiznzrjukda", "get": "https://api.replicate.com/v1/predictions/d4s6pmj19drj00ck38gr9gw90r", "cancel": "https://api.replicate.com/v1/predictions/d4s6pmj19drj00ck38gr9gw90r/cancel" }, "version": "4eef7f80447eba7af4013ab74710d0216a99ca4e342710f47c6e29412dc7dbc6" }
Generated inUsing seed: 9166 Prompt: A fluffy, orange tabby cat curled up asleep in a sunbeam streaming through a window, its soft fur glowing with the warmth of the light; highly detailed 8K UHD photorealistic rendering, natural lighting, warm and inviting atmosphere, focus on softness and texture. txt2img mode 0%| | 0/4 [00:00<?, ?it/s] 25%|βββ | 1/4 [00:00<00:01, 1.92it/s] 50%|βββββ | 2/4 [00:00<00:00, 2.54it/s] 75%|ββββββββ | 3/4 [00:01<00:00, 2.35it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 2.27it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 2.28it/s]
Prediction
lightweight-ai/model1:ecd637dfb6bcdefb2b80fb5085468cff9febf54f13059d58816f9b84fa5e3979IDkkjrn0e0fxrj60ck3xvagak5nrStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- pixel art is a digital illustration of an astronaut in outer space. The astronaut is wearing a full-body suit with a helmet that has a skull-like design on it. The skull is covered in pink and orange flames, giving it a fiery appearance. The background is filled with a nebula-like pattern of stars and planets. The overall color scheme of the image is vibrant and colorful, with shades of pink, orange, yellow, and blue. pixel art has a dreamy and surreal feel to it.
- lora_name
- PixelArt
- lora_scale
- 0.8
- num_outputs
- 1
- output_format
- png
- output_quality
- 100
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "width": 1024, "height": 1024, "prompt": "pixel art is a digital illustration of an astronaut in outer space. The astronaut is wearing a full-body suit with a helmet that has a skull-like design on it. The skull is covered in pink and orange flames, giving it a fiery appearance. The background is filled with a nebula-like pattern of stars and planets. The overall color scheme of the image is vibrant and colorful, with shades of pink, orange, yellow, and blue. pixel art has a dreamy and surreal feel to it.", "lora_name": "PixelArt", "lora_scale": 0.8, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lightweight-ai/model1:ecd637dfb6bcdefb2b80fb5085468cff9febf54f13059d58816f9b84fa5e3979", { input: { width: 1024, height: 1024, prompt: "pixel art is a digital illustration of an astronaut in outer space. The astronaut is wearing a full-body suit with a helmet that has a skull-like design on it. The skull is covered in pink and orange flames, giving it a fiery appearance. The background is filled with a nebula-like pattern of stars and planets. The overall color scheme of the image is vibrant and colorful, with shades of pink, orange, yellow, and blue. pixel art has a dreamy and surreal feel to it.", lora_name: "PixelArt", lora_scale: 0.8, num_outputs: 1, output_format: "png", output_quality: 100, prompt_strength: 0.8, num_inference_steps: 4 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lightweight-ai/model1:ecd637dfb6bcdefb2b80fb5085468cff9febf54f13059d58816f9b84fa5e3979", input={ "width": 1024, "height": 1024, "prompt": "pixel art is a digital illustration of an astronaut in outer space. The astronaut is wearing a full-body suit with a helmet that has a skull-like design on it. The skull is covered in pink and orange flames, giving it a fiery appearance. The background is filled with a nebula-like pattern of stars and planets. The overall color scheme of the image is vibrant and colorful, with shades of pink, orange, yellow, and blue. pixel art has a dreamy and surreal feel to it.", "lora_name": "PixelArt", "lora_scale": 0.8, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lightweight-ai/model1 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": "lightweight-ai/model1:ecd637dfb6bcdefb2b80fb5085468cff9febf54f13059d58816f9b84fa5e3979", "input": { "width": 1024, "height": 1024, "prompt": "pixel art is a digital illustration of an astronaut in outer space. The astronaut is wearing a full-body suit with a helmet that has a skull-like design on it. The skull is covered in pink and orange flames, giving it a fiery appearance. The background is filled with a nebula-like pattern of stars and planets. The overall color scheme of the image is vibrant and colorful, with shades of pink, orange, yellow, and blue. pixel art has a dreamy and surreal feel to it.", "lora_name": "PixelArt", "lora_scale": 0.8, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-12T08:21:41.840831Z", "created_at": "2024-11-12T08:21:36.511000Z", "data_removed": false, "error": null, "id": "kkjrn0e0fxrj60ck3xvagak5nr", "input": { "width": 1024, "height": 1024, "prompt": "pixel art is a digital illustration of an astronaut in outer space. The astronaut is wearing a full-body suit with a helmet that has a skull-like design on it. The skull is covered in pink and orange flames, giving it a fiery appearance. The background is filled with a nebula-like pattern of stars and planets. The overall color scheme of the image is vibrant and colorful, with shades of pink, orange, yellow, and blue. pixel art has a dreamy and surreal feel to it.", "lora_name": "PixelArt", "lora_scale": 0.8, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 48857\nPrompt: pixel art is a digital illustration of an astronaut in outer space. The astronaut is wearing a full-body suit with a helmet that has a skull-like design on it. The skull is covered in pink and orange flames, giving it a fiery appearance. The background is filled with a nebula-like pattern of stars and planets. The overall color scheme of the image is vibrant and colorful, with shades of pink, orange, yellow, and blue. pixel art has a dreamy and surreal feel to it.\ntxt2img mode\nDownloading LoRA weights from - safetensor URL: https://sg-model-store.s3.ap-northeast-2.amazonaws.com/System/Lora/Pixel+Art/V1/pixelart.safetensors\n/src/weights-cache/b4bba06e5c8d5562\nLoading LoRA took: 2.70 seconds\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['and colorful, with shades of pink, orange, yellow, and blue. pixel art has a dreamy and surreal feel to it.']\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|βββ | 1/4 [00:00<00:01, 1.87it/s]\n 50%|βββββ | 2/4 [00:00<00:00, 2.13it/s]\n 75%|ββββββββ | 3/4 [00:01<00:00, 2.02it/s]\n100%|ββββββββββ| 4/4 [00:02<00:00, 1.97it/s]\n100%|ββββββββββ| 4/4 [00:02<00:00, 1.99it/s]", "metrics": { "predict_time": 5.321730876, "total_time": 5.329831 }, "output": [ "https://replicate.delivery/yhqm/JWGlieLWf1rIY0tqpQjJea3SDR2pKaRLplXt8EsOqF1qQYgnA/out-0.png" ], "started_at": "2024-11-12T08:21:36.519100Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-wyafrkhnoeo4qn4ahikrvzf6dtzq52isagwwpnehl4owc52v73oq", "get": "https://api.replicate.com/v1/predictions/kkjrn0e0fxrj60ck3xvagak5nr", "cancel": "https://api.replicate.com/v1/predictions/kkjrn0e0fxrj60ck3xvagak5nr/cancel" }, "version": "ecd637dfb6bcdefb2b80fb5085468cff9febf54f13059d58816f9b84fa5e3979" }
Generated inUsing seed: 48857 Prompt: pixel art is a digital illustration of an astronaut in outer space. The astronaut is wearing a full-body suit with a helmet that has a skull-like design on it. The skull is covered in pink and orange flames, giving it a fiery appearance. The background is filled with a nebula-like pattern of stars and planets. The overall color scheme of the image is vibrant and colorful, with shades of pink, orange, yellow, and blue. pixel art has a dreamy and surreal feel to it. txt2img mode Downloading LoRA weights from - safetensor URL: https://sg-model-store.s3.ap-northeast-2.amazonaws.com/System/Lora/Pixel+Art/V1/pixelart.safetensors /src/weights-cache/b4bba06e5c8d5562 Loading LoRA took: 2.70 seconds The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['and colorful, with shades of pink, orange, yellow, and blue. pixel art has a dreamy and surreal feel to it.'] 0%| | 0/4 [00:00<?, ?it/s] 25%|βββ | 1/4 [00:00<00:01, 1.87it/s] 50%|βββββ | 2/4 [00:00<00:00, 2.13it/s] 75%|ββββββββ | 3/4 [00:01<00:00, 2.02it/s] 100%|ββββββββββ| 4/4 [00:02<00:00, 1.97it/s] 100%|ββββββββββ| 4/4 [00:02<00:00, 1.99it/s]
Prediction
lightweight-ai/model1:ecd637dfb6bcdefb2b80fb5085468cff9febf54f13059d58816f9b84fa5e3979IDjyqc0rphvsrj00ck3y2vgnrdp8StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- width
- 640
- height
- 1024
- prompt
- pixel art is a cartoon illustration of a dog sitting on a chair in front of a fireplace. The dog is brown and black in color and has a big smile on its face. It is wearing a red hat and is holding a cup of coffee in its paws. The fireplace is made of wood and has large flames burning around it. There is a speech bubble above the dog that reads "What the hell." The background is a green wall with a window and a door. The floor is covered in dirt and there is a small table with a cup on it in the foreground.
- lora_name
- PixelArt
- lora_scale
- 0.8
- num_outputs
- 1
- output_format
- png
- output_quality
- 100
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "width": 640, "height": 1024, "prompt": "pixel art is a cartoon illustration of a dog sitting on a chair in front of a fireplace. The dog is brown and black in color and has a big smile on its face. It is wearing a red hat and is holding a cup of coffee in its paws. The fireplace is made of wood and has large flames burning around it. There is a speech bubble above the dog that reads \"What the hell.\" The background is a green wall with a window and a door. The floor is covered in dirt and there is a small table with a cup on it in the foreground.", "lora_name": "PixelArt", "lora_scale": 0.8, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lightweight-ai/model1:ecd637dfb6bcdefb2b80fb5085468cff9febf54f13059d58816f9b84fa5e3979", { input: { width: 640, height: 1024, prompt: "pixel art is a cartoon illustration of a dog sitting on a chair in front of a fireplace. The dog is brown and black in color and has a big smile on its face. It is wearing a red hat and is holding a cup of coffee in its paws. The fireplace is made of wood and has large flames burning around it. There is a speech bubble above the dog that reads \"What the hell.\" The background is a green wall with a window and a door. The floor is covered in dirt and there is a small table with a cup on it in the foreground.", lora_name: "PixelArt", lora_scale: 0.8, num_outputs: 1, output_format: "png", output_quality: 100, prompt_strength: 0.8, num_inference_steps: 4 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lightweight-ai/model1:ecd637dfb6bcdefb2b80fb5085468cff9febf54f13059d58816f9b84fa5e3979", input={ "width": 640, "height": 1024, "prompt": "pixel art is a cartoon illustration of a dog sitting on a chair in front of a fireplace. The dog is brown and black in color and has a big smile on its face. It is wearing a red hat and is holding a cup of coffee in its paws. The fireplace is made of wood and has large flames burning around it. There is a speech bubble above the dog that reads \"What the hell.\" The background is a green wall with a window and a door. The floor is covered in dirt and there is a small table with a cup on it in the foreground.", "lora_name": "PixelArt", "lora_scale": 0.8, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lightweight-ai/model1 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": "lightweight-ai/model1:ecd637dfb6bcdefb2b80fb5085468cff9febf54f13059d58816f9b84fa5e3979", "input": { "width": 640, "height": 1024, "prompt": "pixel art is a cartoon illustration of a dog sitting on a chair in front of a fireplace. The dog is brown and black in color and has a big smile on its face. It is wearing a red hat and is holding a cup of coffee in its paws. The fireplace is made of wood and has large flames burning around it. There is a speech bubble above the dog that reads \\"What the hell.\\" The background is a green wall with a window and a door. The floor is covered in dirt and there is a small table with a cup on it in the foreground.", "lora_name": "PixelArt", "lora_scale": 0.8, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-12T08:38:08.361294Z", "created_at": "2024-11-12T08:38:03.998000Z", "data_removed": false, "error": null, "id": "jyqc0rphvsrj00ck3y2vgnrdp8", "input": { "width": 640, "height": 1024, "prompt": "pixel art is a cartoon illustration of a dog sitting on a chair in front of a fireplace. The dog is brown and black in color and has a big smile on its face. It is wearing a red hat and is holding a cup of coffee in its paws. The fireplace is made of wood and has large flames burning around it. There is a speech bubble above the dog that reads \"What the hell.\" The background is a green wall with a window and a door. The floor is covered in dirt and there is a small table with a cup on it in the foreground.", "lora_name": "PixelArt", "lora_scale": 0.8, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 29596\nPrompt: pixel art is a cartoon illustration of a dog sitting on a chair in front of a fireplace. The dog is brown and black in color and has a big smile on its face. It is wearing a red hat and is holding a cup of coffee in its paws. The fireplace is made of wood and has large flames burning around it. There is a speech bubble above the dog that reads \"What the hell.\" The background is a green wall with a window and a door. The floor is covered in dirt and there is a small table with a cup on it in the foreground.\ntxt2img mode\nDownloading LoRA weights from - safetensor URL: https://sg-model-store.s3.ap-northeast-2.amazonaws.com/System/Lora/Pixel+Art/V1/pixelart.safetensors\n/src/weights-cache/b4bba06e5c8d5562\nLoading LoRA took: 2.65 seconds\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['that reads \" what the hell.\" the background is a green wall with a window and a door. the floor is covered in dirt and there is a small table with a cup on it in the foreground.']\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|βββ | 1/4 [00:00<00:01, 2.82it/s]\n 50%|βββββ | 2/4 [00:00<00:00, 3.18it/s]\n 75%|ββββββββ | 3/4 [00:00<00:00, 3.03it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 2.98it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 3.00it/s]", "metrics": { "predict_time": 4.353921034, "total_time": 4.363294 }, "output": [ "https://replicate.delivery/yhqm/uzOrvA4KrVanE5P9CNQoUNHpia0604Xejfc7RdTLfOCgvYgnA/out-0.png" ], "started_at": "2024-11-12T08:38:04.007373Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-gcqkyipbie6lseyslgrxldikj52fxbynynbgadz52s72tr3fj5eq", "get": "https://api.replicate.com/v1/predictions/jyqc0rphvsrj00ck3y2vgnrdp8", "cancel": "https://api.replicate.com/v1/predictions/jyqc0rphvsrj00ck3y2vgnrdp8/cancel" }, "version": "ecd637dfb6bcdefb2b80fb5085468cff9febf54f13059d58816f9b84fa5e3979" }
Generated inUsing seed: 29596 Prompt: pixel art is a cartoon illustration of a dog sitting on a chair in front of a fireplace. The dog is brown and black in color and has a big smile on its face. It is wearing a red hat and is holding a cup of coffee in its paws. The fireplace is made of wood and has large flames burning around it. There is a speech bubble above the dog that reads "What the hell." The background is a green wall with a window and a door. The floor is covered in dirt and there is a small table with a cup on it in the foreground. txt2img mode Downloading LoRA weights from - safetensor URL: https://sg-model-store.s3.ap-northeast-2.amazonaws.com/System/Lora/Pixel+Art/V1/pixelart.safetensors /src/weights-cache/b4bba06e5c8d5562 Loading LoRA took: 2.65 seconds The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['that reads " what the hell." the background is a green wall with a window and a door. the floor is covered in dirt and there is a small table with a cup on it in the foreground.'] 0%| | 0/4 [00:00<?, ?it/s] 25%|βββ | 1/4 [00:00<00:01, 2.82it/s] 50%|βββββ | 2/4 [00:00<00:00, 3.18it/s] 75%|ββββββββ | 3/4 [00:00<00:00, 3.03it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 2.98it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 3.00it/s]
Prediction
lightweight-ai/model1:edc047cdeea08443ecd29dddc6b91c11d64345b50f198c00cdb360cb83daf525IDtwc7t97xw5rj60ck3yvvegdva8StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- seed
- 436550423
- width
- 640
- height
- 1024
- prompt
- A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.
- lora_name
- None
- lora_scale
- 1
- num_outputs
- 1
- output_format
- png
- output_quality
- 100
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "seed": 436550423, "width": 640, "height": 1024, "prompt": "A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.", "lora_name": "None", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lightweight-ai/model1:edc047cdeea08443ecd29dddc6b91c11d64345b50f198c00cdb360cb83daf525", { input: { seed: 436550423, width: 640, height: 1024, prompt: "A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.", lora_name: "None", lora_scale: 1, num_outputs: 1, output_format: "png", output_quality: 100, prompt_strength: 0.8, num_inference_steps: 4 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lightweight-ai/model1:edc047cdeea08443ecd29dddc6b91c11d64345b50f198c00cdb360cb83daf525", input={ "seed": 436550423, "width": 640, "height": 1024, "prompt": "A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.", "lora_name": "None", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lightweight-ai/model1 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": "lightweight-ai/model1:edc047cdeea08443ecd29dddc6b91c11d64345b50f198c00cdb360cb83daf525", "input": { "seed": 436550423, "width": 640, "height": 1024, "prompt": "A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.", "lora_name": "None", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-12T09:32:53.646261Z", "created_at": "2024-11-12T09:32:52.065000Z", "data_removed": false, "error": null, "id": "twc7t97xw5rj60ck3yvvegdva8", "input": { "seed": 436550423, "width": 640, "height": 1024, "prompt": "A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.", "lora_name": "None", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 436550423\nPrompt: A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.\ntxt2img mode\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|βββ | 1/4 [00:00<00:00, 3.33it/s]\n 50%|βββββ | 2/4 [00:00<00:00, 4.16it/s]\n 75%|ββββββββ | 3/4 [00:00<00:00, 3.74it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 3.57it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 3.64it/s]", "metrics": { "predict_time": 1.573054703, "total_time": 1.581261 }, "output": [ "https://replicate.delivery/yhqm/2GqxRLIH0cIuNpNlsqHLUYcCP36e3qw7yC25EH9MNffKWagnA/out-0.png" ], "started_at": "2024-11-12T09:32:52.073207Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-jiura6x62ik662b2zxgakz6m74bj3itjf5yzuj5tmpjmxbs27caq", "get": "https://api.replicate.com/v1/predictions/twc7t97xw5rj60ck3yvvegdva8", "cancel": "https://api.replicate.com/v1/predictions/twc7t97xw5rj60ck3yvvegdva8/cancel" }, "version": "edc047cdeea08443ecd29dddc6b91c11d64345b50f198c00cdb360cb83daf525" }
Generated inUsing seed: 436550423 Prompt: A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background. txt2img mode 0%| | 0/4 [00:00<?, ?it/s] 25%|βββ | 1/4 [00:00<00:00, 3.33it/s] 50%|βββββ | 2/4 [00:00<00:00, 4.16it/s] 75%|ββββββββ | 3/4 [00:00<00:00, 3.74it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 3.57it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 3.64it/s]
Prediction
lightweight-ai/model1:edc047cdeea08443ecd29dddc6b91c11d64345b50f198c00cdb360cb83daf525IDeg0eyq3ggxrj20ck3yxbfsndjrStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- width
- 640
- height
- 1024
- prompt
- A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.
- lora_name
- AzureAtlas
- lora_scale
- 1
- num_outputs
- 1
- output_format
- png
- output_quality
- 100
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "width": 640, "height": 1024, "prompt": "A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.", "lora_name": "AzureAtlas", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lightweight-ai/model1:edc047cdeea08443ecd29dddc6b91c11d64345b50f198c00cdb360cb83daf525", { input: { width: 640, height: 1024, prompt: "A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.", lora_name: "AzureAtlas", lora_scale: 1, num_outputs: 1, output_format: "png", output_quality: 100, prompt_strength: 0.8, num_inference_steps: 4 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lightweight-ai/model1:edc047cdeea08443ecd29dddc6b91c11d64345b50f198c00cdb360cb83daf525", input={ "width": 640, "height": 1024, "prompt": "A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.", "lora_name": "AzureAtlas", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lightweight-ai/model1 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": "lightweight-ai/model1:edc047cdeea08443ecd29dddc6b91c11d64345b50f198c00cdb360cb83daf525", "input": { "width": 640, "height": 1024, "prompt": "A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.", "lora_name": "AzureAtlas", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-12T09:35:36.070397Z", "created_at": "2024-11-12T09:35:32.487000Z", "data_removed": false, "error": null, "id": "eg0eyq3ggxrj20ck3yxbfsndjr", "input": { "width": 640, "height": 1024, "prompt": "A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.", "lora_name": "AzureAtlas", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 30707\nPrompt: A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background.\ntxt2img mode\nDownloading LoRA weights from - safetensor URL: https://sg-model-store.s3.ap-northeast-2.amazonaws.com/System/Lora/AzureAtlas/v0.5/AzureAtlasv0.5.safetensors\nLoading LoRA took: 1.76 seconds\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|βββ | 1/4 [00:00<00:01, 2.89it/s]\n 50%|βββββ | 2/4 [00:00<00:00, 3.33it/s]\n 75%|ββββββββ | 3/4 [00:00<00:00, 3.12it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 3.03it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 3.07it/s]", "metrics": { "predict_time": 3.534660921, "total_time": 3.583397 }, "output": [ "https://replicate.delivery/yhqm/WPGMBrUdHcoeD6EfZMyrAfkuORFmwNeJuWAF3e3wAufMaTD8E/out-0.png" ], "started_at": "2024-11-12T09:35:32.535736Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-7e6ip3ryhikjmocjr7vx7ajhfsesgrrvageplgh4xeb3ng474dka", "get": "https://api.replicate.com/v1/predictions/eg0eyq3ggxrj20ck3yxbfsndjr", "cancel": "https://api.replicate.com/v1/predictions/eg0eyq3ggxrj20ck3yxbfsndjr/cancel" }, "version": "edc047cdeea08443ecd29dddc6b91c11d64345b50f198c00cdb360cb83daf525" }
Generated inUsing seed: 30707 Prompt: A mixed-media collage of a man in a sleek, modern suit. His face is partially obscured by torn newspaper clippings and splashes of paint, creating a layered effect that contrasts his polished appearance with the chaotic background. txt2img mode Downloading LoRA weights from - safetensor URL: https://sg-model-store.s3.ap-northeast-2.amazonaws.com/System/Lora/AzureAtlas/v0.5/AzureAtlasv0.5.safetensors Loading LoRA took: 1.76 seconds 0%| | 0/4 [00:00<?, ?it/s] 25%|βββ | 1/4 [00:00<00:01, 2.89it/s] 50%|βββββ | 2/4 [00:00<00:00, 3.33it/s] 75%|ββββββββ | 3/4 [00:00<00:00, 3.12it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 3.03it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 3.07it/s]
Prediction
lightweight-ai/model1:a57704f2240629de96c6617ac8ec082a3b5aa0487cf6acde2d26cb6f01366e0bIDd6yk87cggdrj20ck3z9vzxaxdwStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- neonpunk style . cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional
- lora_name
- None
- lora_scale
- 1
- num_outputs
- 1
- output_format
- png
- output_quality
- 100
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "width": 1024, "height": 1024, "prompt": "neonpunk style . cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional", "lora_name": "None", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lightweight-ai/model1:a57704f2240629de96c6617ac8ec082a3b5aa0487cf6acde2d26cb6f01366e0b", { input: { width: 1024, height: 1024, prompt: "neonpunk style . cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional", lora_name: "None", lora_scale: 1, num_outputs: 1, output_format: "png", output_quality: 100, prompt_strength: 0.8, num_inference_steps: 4 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lightweight-ai/model1:a57704f2240629de96c6617ac8ec082a3b5aa0487cf6acde2d26cb6f01366e0b", input={ "width": 1024, "height": 1024, "prompt": "neonpunk style . cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional", "lora_name": "None", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lightweight-ai/model1 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": "lightweight-ai/model1:a57704f2240629de96c6617ac8ec082a3b5aa0487cf6acde2d26cb6f01366e0b", "input": { "width": 1024, "height": 1024, "prompt": "neonpunk style . cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional", "lora_name": "None", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-12T10:03:01.522117Z", "created_at": "2024-11-12T10:02:59.075000Z", "data_removed": false, "error": null, "id": "d6yk87cggdrj20ck3z9vzxaxdw", "input": { "width": 1024, "height": 1024, "prompt": "neonpunk style . cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional", "lora_name": "None", "lora_scale": 1, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 45497\nPrompt: neonpunk style . cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional\ntxt2img mode\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|βββ | 1/4 [00:00<00:01, 2.17it/s]\n 50%|βββββ | 2/4 [00:00<00:00, 2.71it/s]\n 75%|ββββββββ | 3/4 [00:01<00:00, 2.43it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 2.31it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 2.36it/s]", "metrics": { "predict_time": 2.440112629, "total_time": 2.447117 }, "output": [ "https://replicate.delivery/yhqm/kbqYdZod8coDBBZb6o5eXLONnd5K74xSXesM9LL9flnqObgnA/out-0.png" ], "started_at": "2024-11-12T10:02:59.082005Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-yoblmqdlkf5bzgcbomfhn4kofsz52jy5lvjd5rnxc7l3tjr67n7a", "get": "https://api.replicate.com/v1/predictions/d6yk87cggdrj20ck3z9vzxaxdw", "cancel": "https://api.replicate.com/v1/predictions/d6yk87cggdrj20ck3z9vzxaxdw/cancel" }, "version": "a57704f2240629de96c6617ac8ec082a3b5aa0487cf6acde2d26cb6f01366e0b" }
Generated inUsing seed: 45497 Prompt: neonpunk style . cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional txt2img mode 0%| | 0/4 [00:00<?, ?it/s] 25%|βββ | 1/4 [00:00<00:01, 2.17it/s] 50%|βββββ | 2/4 [00:00<00:00, 2.71it/s] 75%|ββββββββ | 3/4 [00:01<00:00, 2.43it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 2.31it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 2.36it/s]
Prediction
lightweight-ai/model1:50ba509b1ab55f8c169b3098c14c2b9a54c614bf8108e7c494cba8f3e5f1bc36IDndnza27kqdrj40ck3zfanjydgmStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- seed
- 7019597644749028000
- width
- 1024
- height
- 640
- prompt
- Solo, A Young man blonde hair green chaket whith hood and grey pants and black boots and green and blue eyes the chaket is broken and exposed the abs, lineart BRAKE in street of big city post-apocalyptic , morning time , destroyed buildings, abandoned cars, debris on the street Ilustration high quality, detailed background, 8k
- lora_name
- Siesta
- lora_scale
- 0.9
- num_outputs
- 1
- output_format
- png
- output_quality
- 100
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "seed": 7019597644749028000, "width": 1024, "height": 640, "prompt": "Solo, A Young man blonde hair green chaket whith hood and grey pants and black boots and green and blue eyes the chaket is broken and exposed the abs, lineart\nBRAKE \nin street of big city post-apocalyptic , morning time , destroyed buildings, abandoned cars, debris on the street\nIlustration high quality, detailed background, 8k", "lora_name": "Siesta", "lora_scale": 0.9, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lightweight-ai/model1:50ba509b1ab55f8c169b3098c14c2b9a54c614bf8108e7c494cba8f3e5f1bc36", { input: { seed: 7019597644749028000, width: 1024, height: 640, prompt: "Solo, A Young man blonde hair green chaket whith hood and grey pants and black boots and green and blue eyes the chaket is broken and exposed the abs, lineart\nBRAKE \nin street of big city post-apocalyptic , morning time , destroyed buildings, abandoned cars, debris on the street\nIlustration high quality, detailed background, 8k", lora_name: "Siesta", lora_scale: 0.9, num_outputs: 1, output_format: "png", output_quality: 100, prompt_strength: 0.8, num_inference_steps: 4 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run lightweight-ai/model1 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lightweight-ai/model1:50ba509b1ab55f8c169b3098c14c2b9a54c614bf8108e7c494cba8f3e5f1bc36", input={ "seed": 7019597644749028000, "width": 1024, "height": 640, "prompt": "Solo, A Young man blonde hair green chaket whith hood and grey pants and black boots and green and blue eyes the chaket is broken and exposed the abs, lineart\nBRAKE \nin street of big city post-apocalyptic , morning time , destroyed buildings, abandoned cars, debris on the street\nIlustration high quality, detailed background, 8k", "lora_name": "Siesta", "lora_scale": 0.9, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lightweight-ai/model1 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": "lightweight-ai/model1:50ba509b1ab55f8c169b3098c14c2b9a54c614bf8108e7c494cba8f3e5f1bc36", "input": { "seed": 7019597644749028000, "width": 1024, "height": 640, "prompt": "Solo, A Young man blonde hair green chaket whith hood and grey pants and black boots and green and blue eyes the chaket is broken and exposed the abs, lineart\\nBRAKE \\nin street of big city post-apocalyptic , morning time , destroyed buildings, abandoned cars, debris on the street\\nIlustration high quality, detailed background, 8k", "lora_name": "Siesta", "lora_scale": 0.9, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-12T10:15:31.406522Z", "created_at": "2024-11-12T10:15:25.371000Z", "data_removed": false, "error": null, "id": "ndnza27kqdrj40ck3zfanjydgm", "input": { "seed": 7019597644749028000, "width": 1024, "height": 640, "prompt": "Solo, A Young man blonde hair green chaket whith hood and grey pants and black boots and green and blue eyes the chaket is broken and exposed the abs, lineart\nBRAKE \nin street of big city post-apocalyptic , morning time , destroyed buildings, abandoned cars, debris on the street\nIlustration high quality, detailed background, 8k", "lora_name": "Siesta", "lora_scale": 0.9, "num_outputs": 1, "output_format": "png", "output_quality": 100, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 7019597644749028000\nPrompt: Solo, A Young man blonde hair green chaket whith hood and grey pants and black boots and green and blue eyes the chaket is broken and exposed the abs, lineart\nBRAKE\nin street of big city post-apocalyptic , morning time , destroyed buildings, abandoned cars, debris on the street\nIlustration high quality, detailed background, 8k\ntxt2img mode\nDownloading LoRA weights from - safetensor URL: https://sg-model-store.s3.ap-northeast-2.amazonaws.com/System/Lora/Siesta/v2.0/Siesta.safetensors\nLoading LoRA took: 4.25 seconds\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|βββ | 1/4 [00:00<00:01, 2.80it/s]\n 50%|βββββ | 2/4 [00:00<00:00, 3.16it/s]\n 75%|ββββββββ | 3/4 [00:00<00:00, 3.03it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 2.97it/s]\n100%|ββββββββββ| 4/4 [00:01<00:00, 2.99it/s]", "metrics": { "predict_time": 6.027365585, "total_time": 6.035522 }, "output": [ "https://replicate.delivery/yhqm/1VU3pyvqOkpWL11I85BixlEBuz5pdby4LPwJtAIVY7xwcD8E/out-0.png" ], "started_at": "2024-11-12T10:15:25.379156Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-h7tlvzphfaj6dhwv4jp2mvcgjmmhcyfnaoyehabmccj3bqr2q3ea", "get": "https://api.replicate.com/v1/predictions/ndnza27kqdrj40ck3zfanjydgm", "cancel": "https://api.replicate.com/v1/predictions/ndnza27kqdrj40ck3zfanjydgm/cancel" }, "version": "50ba509b1ab55f8c169b3098c14c2b9a54c614bf8108e7c494cba8f3e5f1bc36" }
Generated inUsing seed: 7019597644749028000 Prompt: Solo, A Young man blonde hair green chaket whith hood and grey pants and black boots and green and blue eyes the chaket is broken and exposed the abs, lineart BRAKE in street of big city post-apocalyptic , morning time , destroyed buildings, abandoned cars, debris on the street Ilustration high quality, detailed background, 8k txt2img mode Downloading LoRA weights from - safetensor URL: https://sg-model-store.s3.ap-northeast-2.amazonaws.com/System/Lora/Siesta/v2.0/Siesta.safetensors Loading LoRA took: 4.25 seconds 0%| | 0/4 [00:00<?, ?it/s] 25%|βββ | 1/4 [00:00<00:01, 2.80it/s] 50%|βββββ | 2/4 [00:00<00:00, 3.16it/s] 75%|ββββββββ | 3/4 [00:00<00:00, 3.03it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 2.97it/s] 100%|ββββββββββ| 4/4 [00:01<00:00, 2.99it/s]
Want to make some of these yourself?
Run this model