Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
lucataco /aura-flow-v0.2:e784141e
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run lucataco/aura-flow-v0.2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"lucataco/aura-flow-v0.2:e784141e567364018b6c24297273e910b80c468c60ccb2a2a6642c034c7d43ee",
{
input: {
cfg: 3.5,
shift: 2,
width: 1024,
height: 1024,
prompt: "A refreshing scene where a glass of freshly squeezed orange juice stands prominently at the center, bathed in warm, golden sunlight that highlights the vibrant, citrus hues of the juice. The glass is intricately detailed, showing condensation droplets that glisten like tiny jewels. Surrounding the base of the glass, scattered orange slices and lush green leaves add a touch of natural beauty and freshness. Above the glass, a dynamic splash of orange juice is captured mid-air, forming the word \"Orange\" in a fluid, playful script. The splash is so vivid and realistic that each droplet seems to dance in the air, creating a sense of movement and energy. In the background, a serene orchard with rows of orange trees stretches out under a clear blue sky, their branches heavy with ripe oranges ready for harvest. Rays of sunlight filter through the leaves, casting dappled shadows on the ground. A gentle breeze rustles the leaves, adding a sense of calm and tranquility to the scene. The entire scene evokes a sense of purity, freshness, and vitality, inviting viewers to experience the simple joy of a glass of fresh orange juice.",
sampler: "uni_pc",
scheduler: "normal",
output_format: "webp",
output_quality: 80,
negative_prompt: "",
number_of_images: 1
}
}
);
// To access the file URL:
console.log(output[0].url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run lucataco/aura-flow-v0.2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"lucataco/aura-flow-v0.2:e784141e567364018b6c24297273e910b80c468c60ccb2a2a6642c034c7d43ee",
input={
"cfg": 3.5,
"shift": 2,
"width": 1024,
"height": 1024,
"prompt": "A refreshing scene where a glass of freshly squeezed orange juice stands prominently at the center, bathed in warm, golden sunlight that highlights the vibrant, citrus hues of the juice. The glass is intricately detailed, showing condensation droplets that glisten like tiny jewels. Surrounding the base of the glass, scattered orange slices and lush green leaves add a touch of natural beauty and freshness. Above the glass, a dynamic splash of orange juice is captured mid-air, forming the word \"Orange\" in a fluid, playful script. The splash is so vivid and realistic that each droplet seems to dance in the air, creating a sense of movement and energy. In the background, a serene orchard with rows of orange trees stretches out under a clear blue sky, their branches heavy with ripe oranges ready for harvest. Rays of sunlight filter through the leaves, casting dappled shadows on the ground. A gentle breeze rustles the leaves, adding a sense of calm and tranquility to the scene. The entire scene evokes a sense of purity, freshness, and vitality, inviting viewers to experience the simple joy of a glass of fresh orange juice.",
"sampler": "uni_pc",
"scheduler": "normal",
"output_format": "webp",
"output_quality": 80,
"negative_prompt": "",
"number_of_images": 1
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run lucataco/aura-flow-v0.2 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/aura-flow-v0.2:e784141e567364018b6c24297273e910b80c468c60ccb2a2a6642c034c7d43ee",
"input": {
"cfg": 3.5,
"shift": 2,
"width": 1024,
"height": 1024,
"prompt": "A refreshing scene where a glass of freshly squeezed orange juice stands prominently at the center, bathed in warm, golden sunlight that highlights the vibrant, citrus hues of the juice. The glass is intricately detailed, showing condensation droplets that glisten like tiny jewels. Surrounding the base of the glass, scattered orange slices and lush green leaves add a touch of natural beauty and freshness. Above the glass, a dynamic splash of orange juice is captured mid-air, forming the word \\"Orange\\" in a fluid, playful script. The splash is so vivid and realistic that each droplet seems to dance in the air, creating a sense of movement and energy. In the background, a serene orchard with rows of orange trees stretches out under a clear blue sky, their branches heavy with ripe oranges ready for harvest. Rays of sunlight filter through the leaves, casting dappled shadows on the ground. A gentle breeze rustles the leaves, adding a sense of calm and tranquility to the scene. The entire scene evokes a sense of purity, freshness, and vitality, inviting viewers to experience the simple joy of a glass of fresh orange juice.",
"sampler": "uni_pc",
"scheduler": "normal",
"output_format": "webp",
"output_quality": 80,
"negative_prompt": "",
"number_of_images": 1
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2024-07-27T18:20:41.003777Z",
"created_at": "2024-07-27T18:20:27.729000Z",
"data_removed": false,
"error": null,
"id": "cd1mc81mt5rj60cgynp9xqydfr",
"input": {
"cfg": 3.5,
"shift": 2,
"width": 1024,
"height": 1024,
"prompt": "A refreshing scene where a glass of freshly squeezed orange juice stands prominently at the center, bathed in warm, golden sunlight that highlights the vibrant, citrus hues of the juice. The glass is intricately detailed, showing condensation droplets that glisten like tiny jewels. Surrounding the base of the glass, scattered orange slices and lush green leaves add a touch of natural beauty and freshness. Above the glass, a dynamic splash of orange juice is captured mid-air, forming the word \"Orange\" in a fluid, playful script. The splash is so vivid and realistic that each droplet seems to dance in the air, creating a sense of movement and energy. In the background, a serene orchard with rows of orange trees stretches out under a clear blue sky, their branches heavy with ripe oranges ready for harvest. Rays of sunlight filter through the leaves, casting dappled shadows on the ground. A gentle breeze rustles the leaves, adding a sense of calm and tranquility to the scene. The entire scene evokes a sense of purity, freshness, and vitality, inviting viewers to experience the simple joy of a glass of fresh orange juice.",
"sampler": "uni_pc",
"scheduler": "normal",
"output_format": "webp",
"output_quality": 80,
"negative_prompt": "",
"number_of_images": 1
},
"logs": "Random seed set to: 565989316\nRunning workflow\ngot prompt\nExecuting node 10, title: ModelSamplingAuraFlow, class type: ModelSamplingAuraFlow\nExecuting node 6, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode\nExecuting node 3, title: KSampler, class type: KSampler\nRequested to load AuraFlow\nLoading 1 new model\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:06, 3.44it/s]\n 8%|▊ | 2/25 [00:00<00:09, 2.46it/s]\n 12%|█▏ | 3/25 [00:01<00:09, 2.25it/s]\n 16%|█▌ | 4/25 [00:01<00:09, 2.17it/s]\n 20%|██ | 5/25 [00:02<00:09, 2.12it/s]\n 24%|██▍ | 6/25 [00:02<00:09, 2.10it/s]\n 28%|██▊ | 7/25 [00:03<00:08, 2.08it/s]\n 32%|███▏ | 8/25 [00:03<00:08, 2.07it/s]\n 36%|███▌ | 9/25 [00:04<00:07, 2.06it/s]\n 40%|████ | 10/25 [00:04<00:07, 2.06it/s]\n 44%|████▍ | 11/25 [00:05<00:06, 2.05it/s]\n 48%|████▊ | 12/25 [00:05<00:06, 2.05it/s]\n 52%|█████▏ | 13/25 [00:06<00:05, 2.05it/s]\n 56%|█████▌ | 14/25 [00:06<00:05, 2.05it/s]\n 60%|██████ | 15/25 [00:07<00:04, 2.05it/s]\n 64%|██████▍ | 16/25 [00:07<00:04, 2.04it/s]\n 68%|██████▊ | 17/25 [00:08<00:03, 2.04it/s]\n 72%|███████▏ | 18/25 [00:08<00:03, 2.04it/s]\n 76%|███████▌ | 19/25 [00:09<00:02, 2.04it/s]\n 80%|████████ | 20/25 [00:09<00:02, 2.04it/s]\n 84%|████████▍ | 21/25 [00:10<00:01, 2.04it/s]\n 88%|████████▊ | 22/25 [00:10<00:01, 2.04it/s]\n 92%|█████████▏| 23/25 [00:11<00:00, 2.04it/s]\n 96%|█████████▌| 24/25 [00:11<00:00, 2.04it/s]\n100%|██████████| 25/25 [00:12<00:00, 1.82it/s]\n100%|██████████| 25/25 [00:12<00:00, 2.04it/s]\nExecuting node 8, title: VAE Decode, class type: VAEDecode\nExecuting node 9, title: Save Image, class type: SaveImage\nPrompt executed in 12.69 seconds\noutputs: {'9': {'images': [{'filename': 'ComfyUI_00001_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nComfyUI_00001_.png",
"metrics": {
"predict_time": 13.264458328,
"total_time": 13.274777
},
"output": [
"https://replicate.delivery/yhqm/Kia0Hu2UVcZNJRpYX24HEc2QylPtL7BdmD2N4DgH7nPeYXmJA/ComfyUI_00001_.webp"
],
"started_at": "2024-07-27T18:20:27.739319Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/cd1mc81mt5rj60cgynp9xqydfr",
"cancel": "https://api.replicate.com/v1/predictions/cd1mc81mt5rj60cgynp9xqydfr/cancel"
},
"version": "e784141e567364018b6c24297273e910b80c468c60ccb2a2a6642c034c7d43ee"
}
Random seed set to: 565989316
Running workflow
got prompt
Executing node 10, title: ModelSamplingAuraFlow, class type: ModelSamplingAuraFlow
Executing node 6, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode
Executing node 3, title: KSampler, class type: KSampler
Requested to load AuraFlow
Loading 1 new model
0%| | 0/25 [00:00<?, ?it/s]
4%|▍ | 1/25 [00:00<00:06, 3.44it/s]
8%|▊ | 2/25 [00:00<00:09, 2.46it/s]
12%|█▏ | 3/25 [00:01<00:09, 2.25it/s]
16%|█▌ | 4/25 [00:01<00:09, 2.17it/s]
20%|██ | 5/25 [00:02<00:09, 2.12it/s]
24%|██▍ | 6/25 [00:02<00:09, 2.10it/s]
28%|██▊ | 7/25 [00:03<00:08, 2.08it/s]
32%|███▏ | 8/25 [00:03<00:08, 2.07it/s]
36%|███▌ | 9/25 [00:04<00:07, 2.06it/s]
40%|████ | 10/25 [00:04<00:07, 2.06it/s]
44%|████▍ | 11/25 [00:05<00:06, 2.05it/s]
48%|████▊ | 12/25 [00:05<00:06, 2.05it/s]
52%|█████▏ | 13/25 [00:06<00:05, 2.05it/s]
56%|█████▌ | 14/25 [00:06<00:05, 2.05it/s]
60%|██████ | 15/25 [00:07<00:04, 2.05it/s]
64%|██████▍ | 16/25 [00:07<00:04, 2.04it/s]
68%|██████▊ | 17/25 [00:08<00:03, 2.04it/s]
72%|███████▏ | 18/25 [00:08<00:03, 2.04it/s]
76%|███████▌ | 19/25 [00:09<00:02, 2.04it/s]
80%|████████ | 20/25 [00:09<00:02, 2.04it/s]
84%|████████▍ | 21/25 [00:10<00:01, 2.04it/s]
88%|████████▊ | 22/25 [00:10<00:01, 2.04it/s]
92%|█████████▏| 23/25 [00:11<00:00, 2.04it/s]
96%|█████████▌| 24/25 [00:11<00:00, 2.04it/s]
100%|██████████| 25/25 [00:12<00:00, 1.82it/s]
100%|██████████| 25/25 [00:12<00:00, 2.04it/s]
Executing node 8, title: VAE Decode, class type: VAEDecode
Executing node 9, title: Save Image, class type: SaveImage
Prompt executed in 12.69 seconds
outputs: {'9': {'images': [{'filename': 'ComfyUI_00001_.png', 'subfolder': '', 'type': 'output'}]}}
====================================
ComfyUI_00001_.png