Readme
This model doesn't have a readme.
AuraFlow: Fully open-sourced flow-based text-to-image generation model
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";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run jyoung105/auraflow-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"jyoung105/auraflow-v1:1fd682b7024a34320a1f89cf90d9961554b52282908599145247dbc97d3bbc93",
{
input: {
steps: 50,
width: 1024,
height: 1024,
prompt: "A man with hoodie on, illustration",
num_images: 1,
guidance_scale: 3.5
}
}
);
// 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 jyoung105/auraflow-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"jyoung105/auraflow-v1:1fd682b7024a34320a1f89cf90d9961554b52282908599145247dbc97d3bbc93",
input={
"steps": 50,
"width": 1024,
"height": 1024,
"prompt": "A man with hoodie on, illustration",
"num_images": 1,
"guidance_scale": 3.5
}
)
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 jyoung105/auraflow-v1 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": "jyoung105/auraflow-v1:1fd682b7024a34320a1f89cf90d9961554b52282908599145247dbc97d3bbc93",
"input": {
"steps": 50,
"width": 1024,
"height": 1024,
"prompt": "A man with hoodie on, illustration",
"num_images": 1,
"guidance_scale": 3.5
}
}' \
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
{
"completed_at": "2024-11-09T15:09:35.833733Z",
"created_at": "2024-11-09T15:06:08.392000Z",
"data_removed": false,
"error": null,
"id": "3310px08h1rgg0ck25vavpghfw",
"input": {
"steps": 50,
"width": 1024,
"height": 1024,
"prompt": "A man with hoodie on, illustration",
"num_images": 1,
"guidance_scale": 3.5
},
"logs": "DEVICE: cuda\nDTYPE: torch.float16\nUsing seed: 24932\nFinish setup in 0.00012969970703125 secs.\n[Debug] Prompt: A man with hoodie on, illustration, best quality, high detail, sharp focus\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:01<00:55, 1.12s/it]\n 4%|▍ | 2/50 [00:01<00:32, 1.50it/s]\n 6%|▌ | 3/50 [00:02<00:39, 1.19it/s]\n 8%|▊ | 4/50 [00:03<00:42, 1.09it/s]\n 10%|█ | 5/50 [00:04<00:43, 1.04it/s]\n 12%|█▏ | 6/50 [00:05<00:43, 1.01it/s]\n 14%|█▍ | 7/50 [00:06<00:43, 1.01s/it]\n 16%|█▌ | 8/50 [00:07<00:43, 1.02s/it]\n 18%|█▊ | 9/50 [00:08<00:42, 1.03s/it]\n 20%|██ | 10/50 [00:09<00:41, 1.04s/it]\n 22%|██▏ | 11/50 [00:10<00:40, 1.04s/it]\n 24%|██▍ | 12/50 [00:11<00:39, 1.05s/it]\n 26%|██▌ | 13/50 [00:13<00:38, 1.05s/it]\n 28%|██▊ | 14/50 [00:14<00:37, 1.05s/it]\n 30%|███ | 15/50 [00:15<00:36, 1.05s/it]\n 32%|███▏ | 16/50 [00:16<00:35, 1.05s/it]\n 34%|███▍ | 17/50 [00:17<00:34, 1.05s/it]\n 36%|███▌ | 18/50 [00:18<00:33, 1.05s/it]\n 38%|███▊ | 19/50 [00:19<00:32, 1.05s/it]\n 40%|████ | 20/50 [00:20<00:31, 1.05s/it]\n 42%|████▏ | 21/50 [00:21<00:30, 1.05s/it]\n 44%|████▍ | 22/50 [00:22<00:29, 1.05s/it]\n 46%|████▌ | 23/50 [00:23<00:28, 1.05s/it]\n 48%|████▊ | 24/50 [00:24<00:27, 1.05s/it]\n 50%|█████ | 25/50 [00:25<00:26, 1.05s/it]\n 52%|█████▏ | 26/50 [00:26<00:25, 1.05s/it]\n 54%|█████▍ | 27/50 [00:27<00:24, 1.05s/it]\n 56%|█████▌ | 28/50 [00:28<00:23, 1.05s/it]\n 58%|█████▊ | 29/50 [00:29<00:22, 1.05s/it]\n 60%|██████ | 30/50 [00:30<00:21, 1.05s/it]\n 62%|██████▏ | 31/50 [00:31<00:20, 1.05s/it]\n 64%|██████▍ | 32/50 [00:32<00:18, 1.05s/it]\n 66%|██████▌ | 33/50 [00:34<00:17, 1.05s/it]\n 68%|██████▊ | 34/50 [00:35<00:16, 1.05s/it]\n 70%|███████ | 35/50 [00:36<00:15, 1.05s/it]\n 72%|███████▏ | 36/50 [00:37<00:14, 1.06s/it]\n 74%|███████▍ | 37/50 [00:38<00:13, 1.06s/it]\n 76%|███████▌ | 38/50 [00:39<00:12, 1.06s/it]\n 78%|███████▊ | 39/50 [00:40<00:11, 1.06s/it]\n 80%|████████ | 40/50 [00:41<00:10, 1.06s/it]\n 82%|████████▏ | 41/50 [00:42<00:09, 1.06s/it]\n 84%|████████▍ | 42/50 [00:43<00:08, 1.06s/it]\n 86%|████████▌ | 43/50 [00:44<00:07, 1.06s/it]\n 88%|████████▊ | 44/50 [00:45<00:06, 1.06s/it]\n 90%|█████████ | 45/50 [00:46<00:05, 1.06s/it]\n 92%|█████████▏| 46/50 [00:47<00:04, 1.06s/it]\n 94%|█████████▍| 47/50 [00:48<00:03, 1.06s/it]\n 96%|█████████▌| 48/50 [00:49<00:02, 1.06s/it]\n 98%|█████████▊| 49/50 [00:50<00:01, 1.06s/it]\n100%|██████████| 50/50 [00:52<00:00, 1.06s/it]\n100%|██████████| 50/50 [00:52<00:00, 1.04s/it]\nFinish generation in 53.76023054122925 secs.",
"metrics": {
"predict_time": 55.617371161,
"total_time": 207.441733
},
"output": [
"https://replicate.delivery/pbxt/LR32PlkhiRYDJp5v2cWgKYgS2DqCh0lPW5bkAffFiiUu0SvTA/out_0.png"
],
"started_at": "2024-11-09T15:08:40.216361Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/3310px08h1rgg0ck25vavpghfw",
"cancel": "https://api.replicate.com/v1/predictions/3310px08h1rgg0ck25vavpghfw/cancel"
},
"version": "3b2bba7d9da724277cd57b3b562f744c2a7ae66680a99332b25f8c7ccb94bd7b"
}
DEVICE: cuda
DTYPE: torch.float16
Using seed: 24932
Finish setup in 0.00012969970703125 secs.
[Debug] Prompt: A man with hoodie on, illustration, best quality, high detail, sharp focus
0%| | 0/50 [00:00<?, ?it/s]
2%|▏ | 1/50 [00:01<00:55, 1.12s/it]
4%|▍ | 2/50 [00:01<00:32, 1.50it/s]
6%|▌ | 3/50 [00:02<00:39, 1.19it/s]
8%|▊ | 4/50 [00:03<00:42, 1.09it/s]
10%|█ | 5/50 [00:04<00:43, 1.04it/s]
12%|█▏ | 6/50 [00:05<00:43, 1.01it/s]
14%|█▍ | 7/50 [00:06<00:43, 1.01s/it]
16%|█▌ | 8/50 [00:07<00:43, 1.02s/it]
18%|█▊ | 9/50 [00:08<00:42, 1.03s/it]
20%|██ | 10/50 [00:09<00:41, 1.04s/it]
22%|██▏ | 11/50 [00:10<00:40, 1.04s/it]
24%|██▍ | 12/50 [00:11<00:39, 1.05s/it]
26%|██▌ | 13/50 [00:13<00:38, 1.05s/it]
28%|██▊ | 14/50 [00:14<00:37, 1.05s/it]
30%|███ | 15/50 [00:15<00:36, 1.05s/it]
32%|███▏ | 16/50 [00:16<00:35, 1.05s/it]
34%|███▍ | 17/50 [00:17<00:34, 1.05s/it]
36%|███▌ | 18/50 [00:18<00:33, 1.05s/it]
38%|███▊ | 19/50 [00:19<00:32, 1.05s/it]
40%|████ | 20/50 [00:20<00:31, 1.05s/it]
42%|████▏ | 21/50 [00:21<00:30, 1.05s/it]
44%|████▍ | 22/50 [00:22<00:29, 1.05s/it]
46%|████▌ | 23/50 [00:23<00:28, 1.05s/it]
48%|████▊ | 24/50 [00:24<00:27, 1.05s/it]
50%|█████ | 25/50 [00:25<00:26, 1.05s/it]
52%|█████▏ | 26/50 [00:26<00:25, 1.05s/it]
54%|█████▍ | 27/50 [00:27<00:24, 1.05s/it]
56%|█████▌ | 28/50 [00:28<00:23, 1.05s/it]
58%|█████▊ | 29/50 [00:29<00:22, 1.05s/it]
60%|██████ | 30/50 [00:30<00:21, 1.05s/it]
62%|██████▏ | 31/50 [00:31<00:20, 1.05s/it]
64%|██████▍ | 32/50 [00:32<00:18, 1.05s/it]
66%|██████▌ | 33/50 [00:34<00:17, 1.05s/it]
68%|██████▊ | 34/50 [00:35<00:16, 1.05s/it]
70%|███████ | 35/50 [00:36<00:15, 1.05s/it]
72%|███████▏ | 36/50 [00:37<00:14, 1.06s/it]
74%|███████▍ | 37/50 [00:38<00:13, 1.06s/it]
76%|███████▌ | 38/50 [00:39<00:12, 1.06s/it]
78%|███████▊ | 39/50 [00:40<00:11, 1.06s/it]
80%|████████ | 40/50 [00:41<00:10, 1.06s/it]
82%|████████▏ | 41/50 [00:42<00:09, 1.06s/it]
84%|████████▍ | 42/50 [00:43<00:08, 1.06s/it]
86%|████████▌ | 43/50 [00:44<00:07, 1.06s/it]
88%|████████▊ | 44/50 [00:45<00:06, 1.06s/it]
90%|█████████ | 45/50 [00:46<00:05, 1.06s/it]
92%|█████████▏| 46/50 [00:47<00:04, 1.06s/it]
94%|█████████▍| 47/50 [00:48<00:03, 1.06s/it]
96%|█████████▌| 48/50 [00:49<00:02, 1.06s/it]
98%|█████████▊| 49/50 [00:50<00:01, 1.06s/it]
100%|██████████| 50/50 [00:52<00:00, 1.06s/it]
100%|██████████| 50/50 [00:52<00:00, 1.04s/it]
Finish generation in 53.76023054122925 secs.
This output was created using a different version of the model, jyoung105/auraflow-v1:3b2bba7d.
This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.
This model is cold. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
DEVICE: cuda
DTYPE: torch.float16
Using seed: 24932
Finish setup in 0.00012969970703125 secs.
[Debug] Prompt: A man with hoodie on, illustration, best quality, high detail, sharp focus
0%| | 0/50 [00:00<?, ?it/s]
2%|▏ | 1/50 [00:01<00:55, 1.12s/it]
4%|▍ | 2/50 [00:01<00:32, 1.50it/s]
6%|▌ | 3/50 [00:02<00:39, 1.19it/s]
8%|▊ | 4/50 [00:03<00:42, 1.09it/s]
10%|█ | 5/50 [00:04<00:43, 1.04it/s]
12%|█▏ | 6/50 [00:05<00:43, 1.01it/s]
14%|█▍ | 7/50 [00:06<00:43, 1.01s/it]
16%|█▌ | 8/50 [00:07<00:43, 1.02s/it]
18%|█▊ | 9/50 [00:08<00:42, 1.03s/it]
20%|██ | 10/50 [00:09<00:41, 1.04s/it]
22%|██▏ | 11/50 [00:10<00:40, 1.04s/it]
24%|██▍ | 12/50 [00:11<00:39, 1.05s/it]
26%|██▌ | 13/50 [00:13<00:38, 1.05s/it]
28%|██▊ | 14/50 [00:14<00:37, 1.05s/it]
30%|███ | 15/50 [00:15<00:36, 1.05s/it]
32%|███▏ | 16/50 [00:16<00:35, 1.05s/it]
34%|███▍ | 17/50 [00:17<00:34, 1.05s/it]
36%|███▌ | 18/50 [00:18<00:33, 1.05s/it]
38%|███▊ | 19/50 [00:19<00:32, 1.05s/it]
40%|████ | 20/50 [00:20<00:31, 1.05s/it]
42%|████▏ | 21/50 [00:21<00:30, 1.05s/it]
44%|████▍ | 22/50 [00:22<00:29, 1.05s/it]
46%|████▌ | 23/50 [00:23<00:28, 1.05s/it]
48%|████▊ | 24/50 [00:24<00:27, 1.05s/it]
50%|█████ | 25/50 [00:25<00:26, 1.05s/it]
52%|█████▏ | 26/50 [00:26<00:25, 1.05s/it]
54%|█████▍ | 27/50 [00:27<00:24, 1.05s/it]
56%|█████▌ | 28/50 [00:28<00:23, 1.05s/it]
58%|█████▊ | 29/50 [00:29<00:22, 1.05s/it]
60%|██████ | 30/50 [00:30<00:21, 1.05s/it]
62%|██████▏ | 31/50 [00:31<00:20, 1.05s/it]
64%|██████▍ | 32/50 [00:32<00:18, 1.05s/it]
66%|██████▌ | 33/50 [00:34<00:17, 1.05s/it]
68%|██████▊ | 34/50 [00:35<00:16, 1.05s/it]
70%|███████ | 35/50 [00:36<00:15, 1.05s/it]
72%|███████▏ | 36/50 [00:37<00:14, 1.06s/it]
74%|███████▍ | 37/50 [00:38<00:13, 1.06s/it]
76%|███████▌ | 38/50 [00:39<00:12, 1.06s/it]
78%|███████▊ | 39/50 [00:40<00:11, 1.06s/it]
80%|████████ | 40/50 [00:41<00:10, 1.06s/it]
82%|████████▏ | 41/50 [00:42<00:09, 1.06s/it]
84%|████████▍ | 42/50 [00:43<00:08, 1.06s/it]
86%|████████▌ | 43/50 [00:44<00:07, 1.06s/it]
88%|████████▊ | 44/50 [00:45<00:06, 1.06s/it]
90%|█████████ | 45/50 [00:46<00:05, 1.06s/it]
92%|█████████▏| 46/50 [00:47<00:04, 1.06s/it]
94%|█████████▍| 47/50 [00:48<00:03, 1.06s/it]
96%|█████████▌| 48/50 [00:49<00:02, 1.06s/it]
98%|█████████▊| 49/50 [00:50<00:01, 1.06s/it]
100%|██████████| 50/50 [00:52<00:00, 1.06s/it]
100%|██████████| 50/50 [00:52<00:00, 1.04s/it]
Finish generation in 53.76023054122925 secs.