cesarvega / my-model-astrea-v2
- Public
- 74 runs
-
H100
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6ID8mtm86r8f5rme0cmxckaw03sp8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA in a luxurious red sports car, wearing a sleek leather outfit and designer sunglasses, parked in front of a grand mansion with golden gates and palm trees
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA in a luxurious red sports car, wearing a sleek leather outfit and designer sunglasses, parked in front of a grand mansion with golden gates and palm trees", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA in a luxurious red sports car, wearing a sleek leather outfit and designer sunglasses, parked in front of a grand mansion with golden gates and palm trees", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA in a luxurious red sports car, wearing a sleek leather outfit and designer sunglasses, parked in front of a grand mansion with golden gates and palm trees", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a luxurious red sports car, wearing a sleek leather outfit and designer sunglasses, parked in front of a grand mansion with golden gates and palm trees", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA in a luxurious red sports car, wearing a sleek leather outfit and designer sunglasses, parked in front of a grand mansion with golden gates and palm trees"' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a luxurious red sports car, wearing a sleek leather outfit and designer sunglasses, parked in front of a grand mansion with golden gates and palm trees", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:38:55.368472Z", "created_at": "2025-02-09T14:38:45.881000Z", "data_removed": false, "error": null, "id": "8mtm86r8f5rme0cmxckaw03sp8", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a luxurious red sports car, wearing a sleek leather outfit and designer sunglasses, parked in front of a grand mansion with golden gates and palm trees", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Loaded LoRAs in 0.59s\nUsing seed: 4991\nPrompt: Generate a photo of ASTREA in a luxurious red sports car, wearing a sleek leather outfit and designer sunglasses, parked in front of a grand mansion with golden gates and palm trees\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.05it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.57it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.32it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.21it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.15it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.11it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.09it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.08it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.07it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.06it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.06it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.05it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.05it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.05it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.05it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.05it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.05it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.05it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.04it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.04it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.04it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.04it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.05it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.05it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.05it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.05it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.05it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.04it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.04it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.04it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.04it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.04it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.04it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.07it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 9.480408844, "total_time": 9.487472 }, "output": [ "https://replicate.delivery/xezq/3zjwKJDAgprzHx5jq27UlW7MyaxlfQNeReKfdI246Bj9f3shC/out-0.webp" ], "started_at": "2025-02-09T14:38:45.888063Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-jhdjtjkfapirzm6mf3464maotll5plmlr5v5wa2aeoojyz7x5xaq", "get": "https://api.replicate.com/v1/predictions/8mtm86r8f5rme0cmxckaw03sp8", "cancel": "https://api.replicate.com/v1/predictions/8mtm86r8f5rme0cmxckaw03sp8/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inLoaded LoRAs in 0.59s Using seed: 4991 Prompt: Generate a photo of ASTREA in a luxurious red sports car, wearing a sleek leather outfit and designer sunglasses, parked in front of a grand mansion with golden gates and palm trees [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.05it/s] 6%|▌ | 2/35 [00:00<00:07, 4.57it/s] 9%|▊ | 3/35 [00:00<00:07, 4.32it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.21it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.15it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.11it/s] 20%|██ | 7/35 [00:01<00:06, 4.09it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.08it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.07it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.06it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.06it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.05it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.05it/s] 40%|████ | 14/35 [00:03<00:05, 4.05it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.05it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.05it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.05it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.05it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.04it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.04it/s] 60%|██████ | 21/35 [00:05<00:03, 4.04it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.04it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.05it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.05it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.05it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.05it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.05it/s] 80%|████████ | 28/35 [00:06<00:01, 4.04it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.04it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.04it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.04it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.04it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s] 100%|██████████| 35/35 [00:08<00:00, 4.04it/s] 100%|██████████| 35/35 [00:08<00:00, 4.07it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6IDy67jq5fj4drmc0cmxcm9g69tk8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:42:05.689179Z", "created_at": "2025-02-09T14:41:56.771000Z", "data_removed": false, "error": null, "id": "y67jq5fj4drmc0cmxcm9g69tk8", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 16362\nPrompt: Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.04it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.56it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.31it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.20it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.14it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.11it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.09it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.06it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.05it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.05it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.05it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.04it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.04it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.04it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.05it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.04it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.04it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.04it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.04it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.04it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.04it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.04it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.04it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.04it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.04it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.04it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.04it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.04it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.04it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.04it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.04it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.06it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.910886373, "total_time": 8.918179 }, "output": [ "https://replicate.delivery/xezq/7iMiP1hxtYJpNZF907t4fW1MrSEyOVPtT0VFoNY55KoeCnNUA/out-0.webp" ], "started_at": "2025-02-09T14:41:56.778293Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-y3iwqkpxj4zrhhyj42lacb6bkyohqcupnfa4q5kiyxnq26tnh3hq", "get": "https://api.replicate.com/v1/predictions/y67jq5fj4drmc0cmxcm9g69tk8", "cancel": "https://api.replicate.com/v1/predictions/y67jq5fj4drmc0cmxcm9g69tk8/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 16362 Prompt: Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.04it/s] 6%|▌ | 2/35 [00:00<00:07, 4.56it/s] 9%|▊ | 3/35 [00:00<00:07, 4.31it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.20it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.14it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.11it/s] 20%|██ | 7/35 [00:01<00:06, 4.09it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.06it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.05it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.05it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.05it/s] 40%|████ | 14/35 [00:03<00:05, 4.04it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.04it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.04it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.05it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.04it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.04it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.04it/s] 60%|██████ | 21/35 [00:05<00:03, 4.04it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.04it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.04it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.04it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.04it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.04it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.04it/s] 80%|████████ | 28/35 [00:06<00:01, 4.04it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.04it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.04it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.04it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.04it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s] 100%|██████████| 35/35 [00:08<00:00, 4.04it/s] 100%|██████████| 35/35 [00:08<00:00, 4.06it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6IDzsatmawj91rm80cmxcnawzw2z0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:44:09.172868Z", "created_at": "2025-02-09T14:43:43.304000Z", "data_removed": false, "error": null, "id": "zsatmawj91rm80cmxcnawzw2z0", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "free=28197521960960\nDownloading weights\n2025-02-09T14:43:43Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpw6_uzsvz/weights url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar\n2025-02-09T14:43:59Z | INFO | [ Complete ] dest=/tmp/tmpw6_uzsvz/weights size=\"172 MB\" total_elapsed=16.266s url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar\nDownloaded weights in 16.29s\nLoaded LoRAs in 16.85s\nUsing seed: 58088\nPrompt: Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.03it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.55it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.29it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.13it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.10it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.08it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.05it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.04it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.04it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.02it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.02it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.02it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.02it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.03it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.03it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.03it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.03it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.03it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.03it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.02it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.03it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.02it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.02it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.05it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 25.760557716, "total_time": 25.868868 }, "output": [ "https://replicate.delivery/xezq/age97FhS5G0SCKf1iVhrkIqUa9fQYyuQbYCg7Yo2W9nzJOboA/out-0.webp" ], "started_at": "2025-02-09T14:43:43.412310Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-aehbke3eeqszbx5kzcev7p3xqamoma4npcp5ihzq5jt7cs6eoruq", "get": "https://api.replicate.com/v1/predictions/zsatmawj91rm80cmxcnawzw2z0", "cancel": "https://api.replicate.com/v1/predictions/zsatmawj91rm80cmxcnawzw2z0/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated infree=28197521960960 Downloading weights 2025-02-09T14:43:43Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpw6_uzsvz/weights url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar 2025-02-09T14:43:59Z | INFO | [ Complete ] dest=/tmp/tmpw6_uzsvz/weights size="172 MB" total_elapsed=16.266s url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar Downloaded weights in 16.29s Loaded LoRAs in 16.85s Using seed: 58088 Prompt: Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.03it/s] 6%|▌ | 2/35 [00:00<00:07, 4.55it/s] 9%|▊ | 3/35 [00:00<00:07, 4.29it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.13it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.10it/s] 20%|██ | 7/35 [00:01<00:06, 4.08it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.05it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.04it/s] 40%|████ | 14/35 [00:03<00:05, 4.04it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.02it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.02it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.02it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.02it/s] 60%|██████ | 21/35 [00:05<00:03, 4.03it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.03it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.03it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.03it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.03it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s] 80%|████████ | 28/35 [00:06<00:01, 4.03it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.02it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.03it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.02it/s] 100%|██████████| 35/35 [00:08<00:00, 4.02it/s] 100%|██████████| 35/35 [00:08<00:00, 4.05it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6ID0bfa1b9sgdrm80cmxcpaq35merStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:45:40.564196Z", "created_at": "2025-02-09T14:45:31.651000Z", "data_removed": false, "error": null, "id": "0bfa1b9sgdrm80cmxcpaq35mer", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 38458\nPrompt: Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.04it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.57it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.31it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.20it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.14it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.11it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.09it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.05it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.05it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.05it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.05it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.05it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.04it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.04it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.04it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.05it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.04it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.05it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.05it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.05it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.05it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.05it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.05it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.05it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.05it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.04it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.05it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.04it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.04it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.05it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.04it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.07it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.905044358, "total_time": 8.913196 }, "output": [ "https://replicate.delivery/xezq/G3qg2mq1cY7BPpBN7OTIbpZQ083bKibf1BouD99QrKeUGnNUA/out-0.webp" ], "started_at": "2025-02-09T14:45:31.659152Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-n6umitwd7dmjfjcbm7qtkywdghwusemjwbjklaojttrtazqzskea", "get": "https://api.replicate.com/v1/predictions/0bfa1b9sgdrm80cmxcpaq35mer", "cancel": "https://api.replicate.com/v1/predictions/0bfa1b9sgdrm80cmxcpaq35mer/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 38458 Prompt: Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.04it/s] 6%|▌ | 2/35 [00:00<00:07, 4.57it/s] 9%|▊ | 3/35 [00:00<00:07, 4.31it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.20it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.14it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.11it/s] 20%|██ | 7/35 [00:01<00:06, 4.09it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.05it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.05it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.05it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.05it/s] 40%|████ | 14/35 [00:03<00:05, 4.05it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.04it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.04it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.04it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.05it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.04it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.05it/s] 60%|██████ | 21/35 [00:05<00:03, 4.05it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.05it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.05it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.05it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.05it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.05it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.05it/s] 80%|████████ | 28/35 [00:06<00:01, 4.04it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.05it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.04it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.04it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.05it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s] 100%|██████████| 35/35 [00:08<00:00, 4.04it/s] 100%|██████████| 35/35 [00:08<00:00, 4.07it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6IDr7p7k7znb1rmc0cmxcpaza6vf4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA in a sleek and sexy all-black power suit, posing in front of a luxury yacht, exuding confidence and elegance like a billionaire business mogul.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA in a sleek and sexy all-black power suit, posing in front of a luxury yacht, exuding confidence and elegance like a billionaire business mogul.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA in a sleek and sexy all-black power suit, posing in front of a luxury yacht, exuding confidence and elegance like a billionaire business mogul.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA in a sleek and sexy all-black power suit, posing in front of a luxury yacht, exuding confidence and elegance like a billionaire business mogul.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a sleek and sexy all-black power suit, posing in front of a luxury yacht, exuding confidence and elegance like a billionaire business mogul.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA in a sleek and sexy all-black power suit, posing in front of a luxury yacht, exuding confidence and elegance like a billionaire business mogul."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a sleek and sexy all-black power suit, posing in front of a luxury yacht, exuding confidence and elegance like a billionaire business mogul.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:46:44.679016Z", "created_at": "2025-02-09T14:46:19.736000Z", "data_removed": false, "error": null, "id": "r7p7k7znb1rmc0cmxcpaza6vf4", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a sleek and sexy all-black power suit, posing in front of a luxury yacht, exuding confidence and elegance like a billionaire business mogul.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "free=28521057349632\nDownloading weights\n2025-02-09T14:46:19Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpovfrqqkr/weights url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar\n2025-02-09T14:46:35Z | INFO | [ Complete ] dest=/tmp/tmpovfrqqkr/weights size=\"172 MB\" total_elapsed=15.342s url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar\nDownloaded weights in 15.37s\nLoaded LoRAs in 15.92s\nUsing seed: 36533\nPrompt: Generate a photo of ASTREA in a sleek and sexy all-black power suit, posing in front of a luxury yacht, exuding confidence and elegance like a billionaire business mogul.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.04it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.56it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.30it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.13it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.10it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.07it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.03it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.03it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.03it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.02it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.02it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.02it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.02it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.02it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.02it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.02it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.02it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.02it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.02it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.02it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.02it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.03it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.05it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 24.836555808, "total_time": 24.943016 }, "output": [ "https://replicate.delivery/xezq/OCffabFxkeazhoECPUM0etSc4Tyf2Bz9yR5oXw3UoUjn64shC/out-0.webp" ], "started_at": "2025-02-09T14:46:19.842461Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-fk4sfh25bgbclue3bvwqsqvoclt2f3ljafrikzozfwzkhw6qyyha", "get": "https://api.replicate.com/v1/predictions/r7p7k7znb1rmc0cmxcpaza6vf4", "cancel": "https://api.replicate.com/v1/predictions/r7p7k7znb1rmc0cmxcpaza6vf4/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated infree=28521057349632 Downloading weights 2025-02-09T14:46:19Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpovfrqqkr/weights url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar 2025-02-09T14:46:35Z | INFO | [ Complete ] dest=/tmp/tmpovfrqqkr/weights size="172 MB" total_elapsed=15.342s url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar Downloaded weights in 15.37s Loaded LoRAs in 15.92s Using seed: 36533 Prompt: Generate a photo of ASTREA in a sleek and sexy all-black power suit, posing in front of a luxury yacht, exuding confidence and elegance like a billionaire business mogul. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.04it/s] 6%|▌ | 2/35 [00:00<00:07, 4.56it/s] 9%|▊ | 3/35 [00:00<00:07, 4.30it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.13it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.10it/s] 20%|██ | 7/35 [00:01<00:06, 4.07it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s] 40%|████ | 14/35 [00:03<00:05, 4.03it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.03it/s] 60%|██████ | 21/35 [00:05<00:03, 4.03it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.02it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.02it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.02it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.02it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.02it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.02it/s] 80%|████████ | 28/35 [00:06<00:01, 4.02it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.02it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.02it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.02it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.02it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.02it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s] 100%|██████████| 35/35 [00:08<00:00, 4.03it/s] 100%|██████████| 35/35 [00:08<00:00, 4.05it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6ID4zzy9bdbwxrma0cmxcprm5k2cgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:47:15.428369Z", "created_at": "2025-02-09T14:47:06.471000Z", "data_removed": false, "error": null, "id": "4zzy9bdbwxrma0cmxcprm5k2cg", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 36635\nPrompt: Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.03it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.56it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.30it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.18it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.12it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.09it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.07it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.03it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.03it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.03it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.02it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.03it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.02it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.02it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.02it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.02it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.02it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.02it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.02it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.02it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.02it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.02it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.03it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.03it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.05it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.951041415, "total_time": 8.957369 }, "output": [ "https://replicate.delivery/xezq/8KwSqUSfJmWNJ6egaUNeczhFfWqIKq6OCfi4pbgqn8If8xZDF/out-0.webp" ], "started_at": "2025-02-09T14:47:06.477327Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-pt2cixlkwkhgtqzqji2tphybs2ep3ddq46jbodqkxaea4i5tkf5a", "get": "https://api.replicate.com/v1/predictions/4zzy9bdbwxrma0cmxcprm5k2cg", "cancel": "https://api.replicate.com/v1/predictions/4zzy9bdbwxrma0cmxcprm5k2cg/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 36635 Prompt: Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.03it/s] 6%|▌ | 2/35 [00:00<00:07, 4.56it/s] 9%|▊ | 3/35 [00:00<00:07, 4.30it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.18it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.12it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.09it/s] 20%|██ | 7/35 [00:01<00:06, 4.07it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.03it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s] 40%|████ | 14/35 [00:03<00:05, 4.03it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.03it/s] 60%|██████ | 21/35 [00:05<00:03, 4.02it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.03it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.02it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.02it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.02it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.02it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.02it/s] 80%|████████ | 28/35 [00:06<00:01, 4.02it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.02it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.02it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.02it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.02it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.03it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s] 100%|██████████| 35/35 [00:08<00:00, 4.03it/s] 100%|██████████| 35/35 [00:08<00:00, 4.05it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6IDhwpt9kq5csrm80cmxcpvj1v744StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:47:30.152108Z", "created_at": "2025-02-09T14:47:21.190000Z", "data_removed": false, "error": null, "id": "hwpt9kq5csrm80cmxcpvj1v744", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 13353\nPrompt: Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.03it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.55it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.30it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.13it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.09it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.07it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.05it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.04it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.03it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.03it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.02it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.03it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.02it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.02it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.02it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.02it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.02it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.02it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.02it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.02it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.02it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.02it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.02it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.02it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.02it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.02it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.01it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.02it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.02it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.02it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.04it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.95539773, "total_time": 8.962108 }, "output": [ "https://replicate.delivery/xezq/JnP5gxGiCb76FdeUuApMSmp9WgclRkUYJ1FeUjt6YXvCInNUA/out-0.webp" ], "started_at": "2025-02-09T14:47:21.196710Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-gj5lfwytqql7toexghdiwrjwwd5lyb3hmmqk3h7aruoqd2wymmca", "get": "https://api.replicate.com/v1/predictions/hwpt9kq5csrm80cmxcpvj1v744", "cancel": "https://api.replicate.com/v1/predictions/hwpt9kq5csrm80cmxcpvj1v744/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 13353 Prompt: Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.03it/s] 6%|▌ | 2/35 [00:00<00:07, 4.55it/s] 9%|▊ | 3/35 [00:00<00:07, 4.30it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.13it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.09it/s] 20%|██ | 7/35 [00:01<00:06, 4.07it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.05it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.04it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.03it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.03it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.02it/s] 40%|████ | 14/35 [00:03<00:05, 4.03it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.02it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.02it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.02it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.02it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.02it/s] 60%|██████ | 21/35 [00:05<00:03, 4.02it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.02it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.02it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.02it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.02it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s] 80%|████████ | 28/35 [00:06<00:01, 4.02it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.02it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.02it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.02it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.01it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.02it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.02it/s] 100%|██████████| 35/35 [00:08<00:00, 4.02it/s] 100%|██████████| 35/35 [00:08<00:00, 4.04it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6ID6wakv9adwxrme0cmwvrv5t64mrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a photo of ASTREA washing in shorts a Purple Lamborghini diablo, no glasses, in Miami
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 8
- output_quality
- 80
- prompt_strength
- 0.9
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "a photo of ASTREA washing in shorts a Purple Lamborghini diablo, no glasses, in Miami", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 8, "output_quality": 80, "prompt_strength": 0.9, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "a photo of ASTREA washing in shorts a Purple Lamborghini diablo, no glasses, in Miami", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 8, output_quality: 80, prompt_strength: 0.9, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "a photo of ASTREA washing in shorts a Purple Lamborghini diablo, no glasses, in Miami", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 8, "output_quality": 80, "prompt_strength": 0.9, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "a photo of ASTREA washing in shorts a Purple Lamborghini diablo, no glasses, in Miami", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 8, "output_quality": 80, "prompt_strength": 0.9, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="a photo of ASTREA washing in shorts a Purple Lamborghini diablo, no glasses, in Miami"' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=8' \ -i 'output_quality=80' \ -i 'prompt_strength=0.9' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "a photo of ASTREA washing in shorts a Purple Lamborghini diablo, no glasses, in Miami", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 8, "output_quality": 80, "prompt_strength": 0.9, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-08T19:02:52.981879Z", "created_at": "2025-02-08T19:02:41.383000Z", "data_removed": false, "error": null, "id": "6wakv9adwxrme0cmwvrv5t64mr", "input": { "model": "dev", "prompt": "a photo of ASTREA washing in shorts a Purple Lamborghini diablo, no glasses, in Miami", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 8, "output_quality": 80, "prompt_strength": 0.9, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "free=28983736700928\nDownloading weights\n2025-02-08T19:02:41Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzcro1s23/weights url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar\n2025-02-08T19:02:43Z | INFO | [ Complete ] dest=/tmp/tmpzcro1s23/weights size=\"172 MB\" total_elapsed=2.109s url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar\nDownloaded weights in 2.14s\nLoaded LoRAs in 2.68s\nUsing seed: 30537\nPrompt: a photo of ASTREA washing in shorts a Purple Lamborghini diablo, no glasses, in Miami\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.07it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.57it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.32it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.22it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.17it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.13it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.12it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.09it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.08it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.08it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.07it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.06it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.05it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.06it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.06it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.06it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.06it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.06it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.06it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.07it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.06it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.05it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.05it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.06it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.06it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.06it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.05it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.05it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.05it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.06it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.06it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.05it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.05it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.05it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.05it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.08it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 11.544115546, "total_time": 11.598879 }, "output": [ "https://replicate.delivery/xezq/YNGeJVntAu3waymymcOaowxvqOBC2hoQwdF8LHC6neRcxVNUA/out-0.webp" ], "started_at": "2025-02-08T19:02:41.437763Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-shkef4mv5cfldcpeledfjq55ay4a2h4dbuw4fa2643rndkrcybqq", "get": "https://api.replicate.com/v1/predictions/6wakv9adwxrme0cmwvrv5t64mr", "cancel": "https://api.replicate.com/v1/predictions/6wakv9adwxrme0cmwvrv5t64mr/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated infree=28983736700928 Downloading weights 2025-02-08T19:02:41Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzcro1s23/weights url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar 2025-02-08T19:02:43Z | INFO | [ Complete ] dest=/tmp/tmpzcro1s23/weights size="172 MB" total_elapsed=2.109s url=https://replicate.delivery/xezq/EAQLA1eQ6BSMAK4GIWo88tcuHo7VeJfD4ItCwpeKEeCy1sqhC/trained_model.tar Downloaded weights in 2.14s Loaded LoRAs in 2.68s Using seed: 30537 Prompt: a photo of ASTREA washing in shorts a Purple Lamborghini diablo, no glasses, in Miami [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.07it/s] 6%|▌ | 2/35 [00:00<00:07, 4.57it/s] 9%|▊ | 3/35 [00:00<00:07, 4.32it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.22it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.17it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.13it/s] 20%|██ | 7/35 [00:01<00:06, 4.12it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.09it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.08it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.08it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.07it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.06it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.05it/s] 40%|████ | 14/35 [00:03<00:05, 4.06it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.06it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.06it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.06it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.06it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.06it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.07it/s] 60%|██████ | 21/35 [00:05<00:03, 4.06it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.05it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.05it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.06it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.06it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.06it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.05it/s] 80%|████████ | 28/35 [00:06<00:01, 4.05it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.05it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.06it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.06it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.05it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.05it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.05it/s] 100%|██████████| 35/35 [00:08<00:00, 4.05it/s] 100%|██████████| 35/35 [00:08<00:00, 4.08it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6IDhjmaaxx24nrm80cmxckbc98jhwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA on a futuristic fashion runway, wearing a metallic cyberpunk-style dress with neon lights illuminating the stage, surrounded by a high-tech digital audience.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA on a futuristic fashion runway, wearing a metallic cyberpunk-style dress with neon lights illuminating the stage, surrounded by a high-tech digital audience.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA on a futuristic fashion runway, wearing a metallic cyberpunk-style dress with neon lights illuminating the stage, surrounded by a high-tech digital audience.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA on a futuristic fashion runway, wearing a metallic cyberpunk-style dress with neon lights illuminating the stage, surrounded by a high-tech digital audience.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA on a futuristic fashion runway, wearing a metallic cyberpunk-style dress with neon lights illuminating the stage, surrounded by a high-tech digital audience.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA on a futuristic fashion runway, wearing a metallic cyberpunk-style dress with neon lights illuminating the stage, surrounded by a high-tech digital audience."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA on a futuristic fashion runway, wearing a metallic cyberpunk-style dress with neon lights illuminating the stage, surrounded by a high-tech digital audience.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:39:34.129046Z", "created_at": "2025-02-09T14:39:25.221000Z", "data_removed": false, "error": null, "id": "hjmaaxx24nrm80cmxckbc98jhw", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA on a futuristic fashion runway, wearing a metallic cyberpunk-style dress with neon lights illuminating the stage, surrounded by a high-tech digital audience.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 62803\nPrompt: Generate a photo of ASTREA on a futuristic fashion runway, wearing a metallic cyberpunk-style dress with neon lights illuminating the stage, surrounded by a high-tech digital audience.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.06it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.57it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.31it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.21it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.14it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.10it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.09it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.05it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.05it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.04it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.05it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.05it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.05it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.05it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.05it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.05it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.05it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.05it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.05it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.05it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.05it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.04it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.05it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.04it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.05it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.05it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.05it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.05it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.04it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.04it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.07it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.901038266, "total_time": 8.908046 }, "output": [ "https://replicate.delivery/xezq/vAnURFOToNZUNdflqvZWC7hKd5WVfQfRlos3XHNpb9TNBOboA/out-0.webp" ], "started_at": "2025-02-09T14:39:25.228008Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-v3osr6msh7apbbvqta7p3vwsrmufjevlksark5htaa4dqbs3oita", "get": "https://api.replicate.com/v1/predictions/hjmaaxx24nrm80cmxckbc98jhw", "cancel": "https://api.replicate.com/v1/predictions/hjmaaxx24nrm80cmxckbc98jhw/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 62803 Prompt: Generate a photo of ASTREA on a futuristic fashion runway, wearing a metallic cyberpunk-style dress with neon lights illuminating the stage, surrounded by a high-tech digital audience. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.06it/s] 6%|▌ | 2/35 [00:00<00:07, 4.57it/s] 9%|▊ | 3/35 [00:00<00:07, 4.31it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.21it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.14it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.10it/s] 20%|██ | 7/35 [00:01<00:06, 4.09it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.05it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.05it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.04it/s] 40%|████ | 14/35 [00:03<00:05, 4.05it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.05it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.05it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.05it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.05it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.05it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.05it/s] 60%|██████ | 21/35 [00:05<00:03, 4.05it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.05it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.05it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.05it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.04it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.05it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.04it/s] 80%|████████ | 28/35 [00:06<00:01, 4.05it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.05it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.05it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.05it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.04it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s] 100%|██████████| 35/35 [00:08<00:00, 4.04it/s] 100%|██████████| 35/35 [00:08<00:00, 4.07it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6IDw3eggxzgexrmc0cmxcktrj09emStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA lounging in a penthouse suite, dressed in a silky gold robe and diamond jewelry, sipping champagne while the city lights sparkle in the background.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA lounging in a penthouse suite, dressed in a silky gold robe and diamond jewelry, sipping champagne while the city lights sparkle in the background.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA lounging in a penthouse suite, dressed in a silky gold robe and diamond jewelry, sipping champagne while the city lights sparkle in the background.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA lounging in a penthouse suite, dressed in a silky gold robe and diamond jewelry, sipping champagne while the city lights sparkle in the background.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA lounging in a penthouse suite, dressed in a silky gold robe and diamond jewelry, sipping champagne while the city lights sparkle in the background.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA lounging in a penthouse suite, dressed in a silky gold robe and diamond jewelry, sipping champagne while the city lights sparkle in the background."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA lounging in a penthouse suite, dressed in a silky gold robe and diamond jewelry, sipping champagne while the city lights sparkle in the background.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:40:59.718620Z", "created_at": "2025-02-09T14:40:50.807000Z", "data_removed": false, "error": null, "id": "w3eggxzgexrmc0cmxcktrj09em", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA lounging in a penthouse suite, dressed in a silky gold robe and diamond jewelry, sipping champagne while the city lights sparkle in the background.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 56367\nPrompt: Generate a photo of ASTREA lounging in a penthouse suite, dressed in a silky gold robe and diamond jewelry, sipping champagne while the city lights sparkle in the background.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.03it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.56it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.31it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.21it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.15it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.11it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.09it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.06it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.05it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.05it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.05it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.05it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.05it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.05it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.05it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.05it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.05it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.05it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.05it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.04it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.04it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.04it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.04it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.04it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.04it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.04it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.04it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.04it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.05it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.05it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.07it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.904647192, "total_time": 8.91162 }, "output": [ "https://replicate.delivery/xezq/HaMy27kZcp4YCRoMK3OVKXssSu7RRUoD9iLtz2wK7H8egzGKA/out-0.webp" ], "started_at": "2025-02-09T14:40:50.813972Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-5bx6hyhsbhfa2jraeq5u7lj4qbqgelblj4vad4dwbv3yrylxi4zq", "get": "https://api.replicate.com/v1/predictions/w3eggxzgexrmc0cmxcktrj09em", "cancel": "https://api.replicate.com/v1/predictions/w3eggxzgexrmc0cmxcktrj09em/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 56367 Prompt: Generate a photo of ASTREA lounging in a penthouse suite, dressed in a silky gold robe and diamond jewelry, sipping champagne while the city lights sparkle in the background. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.03it/s] 6%|▌ | 2/35 [00:00<00:07, 4.56it/s] 9%|▊ | 3/35 [00:00<00:07, 4.31it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.21it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.15it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.11it/s] 20%|██ | 7/35 [00:01<00:06, 4.09it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.06it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.05it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.05it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.05it/s] 40%|████ | 14/35 [00:03<00:05, 4.05it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.05it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.05it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.05it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.05it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.05it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.05it/s] 60%|██████ | 21/35 [00:05<00:03, 4.05it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.04it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.04it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.04it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.04it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.04it/s] 80%|████████ | 28/35 [00:06<00:01, 4.04it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.04it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.04it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.04it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.05it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s] 100%|██████████| 35/35 [00:08<00:00, 4.05it/s] 100%|██████████| 35/35 [00:08<00:00, 4.07it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6ID0drbzdkxz5rma0cmxcm8t9gq0cStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:41:36.503986Z", "created_at": "2025-02-09T14:41:27.033000Z", "data_removed": false, "error": null, "id": "0drbzdkxz5rma0cmxcm8t9gq0c", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Loaded LoRAs in 0.55s\nUsing seed: 10061\nPrompt: Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.05it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.57it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.31it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.20it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.14it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.10it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.08it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.05it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.05it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.04it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.04it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.04it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.04it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.04it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.04it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.04it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.04it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.04it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.04it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.04it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.04it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.04it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.04it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.03it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.04it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.04it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.04it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.06it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 9.446451505, "total_time": 9.470986 }, "output": [ "https://replicate.delivery/xezq/b2hASMzBffn0u02AhsGMBhIt5VCfhAfKcVG5NlDc7dXBKc2QB/out-0.webp" ], "started_at": "2025-02-09T14:41:27.057534Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-wcl2ll7biai76n4c7v7drl6aqvrvgjpplyb4tfaotqdp7ueaszva", "get": "https://api.replicate.com/v1/predictions/0drbzdkxz5rma0cmxcm8t9gq0c", "cancel": "https://api.replicate.com/v1/predictions/0drbzdkxz5rma0cmxcm8t9gq0c/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inLoaded LoRAs in 0.55s Using seed: 10061 Prompt: Generate a photo of ASTREA posing in a glamorous beach photoshoot, wearing a shimmering bikini with a flowing sheer cover-up, standing against the backdrop of an exotic tropical paradise at sunset. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.05it/s] 6%|▌ | 2/35 [00:00<00:07, 4.57it/s] 9%|▊ | 3/35 [00:00<00:07, 4.31it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.20it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.14it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.10it/s] 20%|██ | 7/35 [00:01<00:06, 4.08it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.05it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.05it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.04it/s] 40%|████ | 14/35 [00:03<00:05, 4.04it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.04it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.04it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.04it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.04it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.04it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.04it/s] 60%|██████ | 21/35 [00:05<00:03, 4.04it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.04it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.04it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.04it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.04it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.04it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s] 80%|████████ | 28/35 [00:06<00:01, 4.03it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.04it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.04it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.04it/s] 100%|██████████| 35/35 [00:08<00:00, 4.04it/s] 100%|██████████| 35/35 [00:08<00:00, 4.06it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6ID5p0v7yx4rxrma0cmxcmv64kef4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:42:51.445390Z", "created_at": "2025-02-09T14:42:42.503000Z", "data_removed": false, "error": null, "id": "5p0v7yx4rxrma0cmxcmv64kef4", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 59473\nPrompt: Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.06it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.57it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.31it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.20it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.12it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.09it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.07it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.03it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.03it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.02it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.02it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.02it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.01it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.01it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.01it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.02it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.03it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.03it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.02it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.03it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.05it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.936064022, "total_time": 8.94239 }, "output": [ "https://replicate.delivery/xezq/GpIwzN1tflSfGkD0Mj2VREFQxoECv3jhngUmfHKqMWEXHOboA/out-0.webp" ], "started_at": "2025-02-09T14:42:42.509326Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-favzohu2cbwwvgxht7g67qgg6wx7ihchfywdgpep36w2pimy6m4q", "get": "https://api.replicate.com/v1/predictions/5p0v7yx4rxrma0cmxcmv64kef4", "cancel": "https://api.replicate.com/v1/predictions/5p0v7yx4rxrma0cmxcmv64kef4/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 59473 Prompt: Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.06it/s] 6%|▌ | 2/35 [00:00<00:07, 4.57it/s] 9%|▊ | 3/35 [00:00<00:07, 4.31it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.20it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.12it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.09it/s] 20%|██ | 7/35 [00:01<00:06, 4.07it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.03it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.03it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s] 40%|████ | 14/35 [00:03<00:05, 4.02it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.02it/s] 60%|██████ | 21/35 [00:05<00:03, 4.02it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.01it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.01it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.01it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.02it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s] 80%|████████ | 28/35 [00:06<00:01, 4.03it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.03it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.02it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s] 100%|██████████| 35/35 [00:08<00:00, 4.03it/s] 100%|██████████| 35/35 [00:08<00:00, 4.05it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6ID570dntpyhhrma0cmxcmsqr7ps8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:43:06.241095Z", "created_at": "2025-02-09T14:42:57.292000Z", "data_removed": false, "error": null, "id": "570dntpyhhrma0cmxcmsqr7ps8", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 6959\nPrompt: Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.03it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.56it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.30it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.12it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.08it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.07it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.03it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.04it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.04it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.04it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.03it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.02it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.03it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.03it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.04it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.04it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.04it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.04it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.04it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.04it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.04it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.03it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.02it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.02it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.05it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.941642879, "total_time": 8.949095 }, "output": [ "https://replicate.delivery/xezq/6BmRfzU8rAXfL0eqKwAUdHaefhX407VUPbvgYFudUGAVfwZDF/out-0.webp" ], "started_at": "2025-02-09T14:42:57.299452Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-a2xx23kuj7klhkz3dftlvt5kjmhbhr3dc4pncxlqfeliu4jafcbq", "get": "https://api.replicate.com/v1/predictions/570dntpyhhrma0cmxcmsqr7ps8", "cancel": "https://api.replicate.com/v1/predictions/570dntpyhhrma0cmxcmsqr7ps8/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 6959 Prompt: Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.03it/s] 6%|▌ | 2/35 [00:00<00:07, 4.56it/s] 9%|▊ | 3/35 [00:00<00:07, 4.30it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.12it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.08it/s] 20%|██ | 7/35 [00:01<00:06, 4.07it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.03it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s] 40%|████ | 14/35 [00:03<00:05, 4.04it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.04it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.04it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.03it/s] 60%|██████ | 21/35 [00:05<00:03, 4.02it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.03it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.03it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.04it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.04it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.04it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.04it/s] 80%|████████ | 28/35 [00:06<00:01, 4.04it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.04it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.04it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.04it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.03it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.02it/s] 100%|██████████| 35/35 [00:08<00:00, 4.02it/s] 100%|██████████| 35/35 [00:08<00:00, 4.05it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6ID45a3e8vee9rmc0cmxcnv38px58StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:44:49.140458Z", "created_at": "2025-02-09T14:44:39.666000Z", "data_removed": false, "error": null, "id": "45a3e8vee9rmc0cmxcnv38px58", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Loaded LoRAs in 0.56s\nUsing seed: 22935\nPrompt: Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.03it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.55it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.29it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.18it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.12it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.09it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.07it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.03it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.02it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.03it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.03it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.03it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.03it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.03it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.03it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.03it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.03it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.03it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.05it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 9.4679004, "total_time": 9.474458 }, "output": [ "https://replicate.delivery/xezq/zEygLyjeaV3LAqmpsUKoozX53QLbKgNRCFJ42fRh33ohFnNUA/out-0.webp" ], "started_at": "2025-02-09T14:44:39.672557Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-qsto3bw3z6z6yc3k74miso56wab6rg5y63xpbhszt2o45imauwqa", "get": "https://api.replicate.com/v1/predictions/45a3e8vee9rmc0cmxcnv38px58", "cancel": "https://api.replicate.com/v1/predictions/45a3e8vee9rmc0cmxcnv38px58/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inLoaded LoRAs in 0.56s Using seed: 22935 Prompt: Generate a photo of ASTREA at a Parisian fashion show, strutting down the runway in a bold avant-garde couture outfit, with flashing cameras and an audience full of celebrities. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.03it/s] 6%|▌ | 2/35 [00:00<00:07, 4.55it/s] 9%|▊ | 3/35 [00:00<00:07, 4.29it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.18it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.12it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.09it/s] 20%|██ | 7/35 [00:01<00:06, 4.07it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s] 40%|████ | 14/35 [00:03<00:05, 4.03it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.02it/s] 60%|██████ | 21/35 [00:05<00:03, 4.03it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.03it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.03it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.03it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.03it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s] 80%|████████ | 28/35 [00:06<00:01, 4.03it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.03it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.03it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s] 100%|██████████| 35/35 [00:08<00:00, 4.03it/s] 100%|██████████| 35/35 [00:08<00:00, 4.05it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6ID624dw4vhzdrma0cmxcpb2afk3gStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:45:56.022831Z", "created_at": "2025-02-09T14:45:46.107000Z", "data_removed": false, "error": null, "id": "624dw4vhzdrma0cmxcpb2afk3g", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Loaded LoRAs in 0.64s\nUsing seed: 36831\nPrompt: Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.05it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.56it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.30it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.14it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.10it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.08it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.05it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.04it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.03it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.03it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.03it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.03it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.03it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.03it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.03it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.03it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.03it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.04it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.04it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.03it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.06it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 9.550451245, "total_time": 9.915831 }, "output": [ "https://replicate.delivery/xezq/DllPmXrGCPIrBNQeeY17NYffyVMKc5vJTwhSo0eIHmGl04shC/out-0.webp" ], "started_at": "2025-02-09T14:45:46.472380Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-jhz6a4e2b5geykyu5fg7kxbt4ckedl3rx44pc2zofomg2vki5mia", "get": "https://api.replicate.com/v1/predictions/624dw4vhzdrma0cmxcpb2afk3g", "cancel": "https://api.replicate.com/v1/predictions/624dw4vhzdrma0cmxcpb2afk3g/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inLoaded LoRAs in 0.64s Using seed: 36831 Prompt: Generate a photo of ASTREA in a high-energy magazine shoot, dressed in a stunning sequined dress, stepping out of a private jet onto a red carpet with paparazzi capturing her every move. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.05it/s] 6%|▌ | 2/35 [00:00<00:07, 4.56it/s] 9%|▊ | 3/35 [00:00<00:07, 4.30it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.14it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.10it/s] 20%|██ | 7/35 [00:01<00:06, 4.08it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.07it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.06it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.05it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.04it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.04it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.04it/s] 40%|████ | 14/35 [00:03<00:05, 4.03it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.03it/s] 60%|██████ | 21/35 [00:05<00:03, 4.03it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.03it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.03it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.03it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.03it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s] 80%|████████ | 28/35 [00:06<00:01, 4.03it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.03it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.04it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.04it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s] 100%|██████████| 35/35 [00:08<00:00, 4.03it/s] 100%|██████████| 35/35 [00:08<00:00, 4.06it/s] Total safe images: 1 out of 1
Prediction
cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6IDvejxtp3h2xrme0cmxcpv1rp330StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 6.57
- output_quality
- 80
- prompt_strength
- 0.85
- extra_lora_scale
- 1
- num_inference_steps
- 35
{ "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", { input: { model: "dev", prompt: "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 6.57, output_quality: 80, prompt_strength: 0.85, extra_lora_scale: 1, num_inference_steps: 35 } } ); // 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 cesarvega/my-model-astrea-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", input={ "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run cesarvega/my-model-astrea-v2 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": "cesarvega/my-model-astrea-v2:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6 \ -i 'model="dev"' \ -i 'prompt="Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers."' \ -i 'go_fast=false' \ -i 'lora_scale=1' \ -i 'megapixels="1"' \ -i 'num_outputs=1' \ -i 'aspect_ratio="1:1"' \ -i 'output_format="webp"' \ -i 'guidance_scale=6.57' \ -i 'output_quality=80' \ -i 'prompt_strength=0.85' \ -i 'extra_lora_scale=1' \ -i 'num_inference_steps=35'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/cesarvega/my-model-astrea-v2@sha256:5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2025-02-09T14:47:00.369102Z", "created_at": "2025-02-09T14:46:51.415000Z", "data_removed": false, "error": null, "id": "vejxtp3h2xrme0cmxcpv1rp330", "input": { "model": "dev", "prompt": "Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 6.57, "output_quality": 80, "prompt_strength": 0.85, "extra_lora_scale": 1, "num_inference_steps": 35 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 5929\nPrompt: Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers.\n[!] txt2img mode\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:08, 4.02it/s]\n 6%|▌ | 2/35 [00:00<00:07, 4.55it/s]\n 9%|▊ | 3/35 [00:00<00:07, 4.29it/s]\n 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s]\n 14%|█▍ | 5/35 [00:01<00:07, 4.13it/s]\n 17%|█▋ | 6/35 [00:01<00:07, 4.09it/s]\n 20%|██ | 7/35 [00:01<00:06, 4.07it/s]\n 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s]\n 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s]\n 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s]\n 31%|███▏ | 11/35 [00:02<00:05, 4.03it/s]\n 34%|███▍ | 12/35 [00:02<00:05, 4.03it/s]\n 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s]\n 40%|████ | 14/35 [00:03<00:05, 4.03it/s]\n 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s]\n 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s]\n 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s]\n 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s]\n 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s]\n 57%|█████▋ | 20/35 [00:04<00:03, 4.03it/s]\n 60%|██████ | 21/35 [00:05<00:03, 4.02it/s]\n 63%|██████▎ | 22/35 [00:05<00:03, 4.02it/s]\n 66%|██████▌ | 23/35 [00:05<00:02, 4.02it/s]\n 69%|██████▊ | 24/35 [00:05<00:02, 4.02it/s]\n 71%|███████▏ | 25/35 [00:06<00:02, 4.03it/s]\n 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s]\n 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s]\n 80%|████████ | 28/35 [00:06<00:01, 4.03it/s]\n 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s]\n 86%|████████▌ | 30/35 [00:07<00:01, 4.03it/s]\n 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s]\n 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s]\n 94%|█████████▍| 33/35 [00:08<00:00, 4.03it/s]\n 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.02it/s]\n100%|██████████| 35/35 [00:08<00:00, 4.05it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.948356961, "total_time": 8.954102 }, "output": [ "https://replicate.delivery/xezq/ibuzeltzeRt9FEeYNVSq7xCRbOjvZPxg4922lndIgHnIPOboA/out-0.webp" ], "started_at": "2025-02-09T14:46:51.420745Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-hgcdt5vprh6neizq4en6nbfvibcwwjmqxb7ljdxhx5igvjkdlq3a", "get": "https://api.replicate.com/v1/predictions/vejxtp3h2xrme0cmxcpv1rp330", "cancel": "https://api.replicate.com/v1/predictions/vejxtp3h2xrme0cmxcpv1rp330/cancel" }, "version": "5f41e3976581ee396f2d589d517d93a01551b4b6079361799f2dc1bfde9fe3c6" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 5929 Prompt: Generate a photo of ASTREA in a fantasy-themed royal ball, wearing an extravagant crystal-embellished gown with a diamond tiara, inside a lavish palace ballroom filled with chandeliers. [!] txt2img mode 0%| | 0/35 [00:00<?, ?it/s] 3%|▎ | 1/35 [00:00<00:08, 4.02it/s] 6%|▌ | 2/35 [00:00<00:07, 4.55it/s] 9%|▊ | 3/35 [00:00<00:07, 4.29it/s] 11%|█▏ | 4/35 [00:00<00:07, 4.19it/s] 14%|█▍ | 5/35 [00:01<00:07, 4.13it/s] 17%|█▋ | 6/35 [00:01<00:07, 4.09it/s] 20%|██ | 7/35 [00:01<00:06, 4.07it/s] 23%|██▎ | 8/35 [00:01<00:06, 4.06it/s] 26%|██▌ | 9/35 [00:02<00:06, 4.05it/s] 29%|██▊ | 10/35 [00:02<00:06, 4.04it/s] 31%|███▏ | 11/35 [00:02<00:05, 4.03it/s] 34%|███▍ | 12/35 [00:02<00:05, 4.03it/s] 37%|███▋ | 13/35 [00:03<00:05, 4.03it/s] 40%|████ | 14/35 [00:03<00:05, 4.03it/s] 43%|████▎ | 15/35 [00:03<00:04, 4.03it/s] 46%|████▌ | 16/35 [00:03<00:04, 4.03it/s] 49%|████▊ | 17/35 [00:04<00:04, 4.03it/s] 51%|█████▏ | 18/35 [00:04<00:04, 4.03it/s] 54%|█████▍ | 19/35 [00:04<00:03, 4.03it/s] 57%|█████▋ | 20/35 [00:04<00:03, 4.03it/s] 60%|██████ | 21/35 [00:05<00:03, 4.02it/s] 63%|██████▎ | 22/35 [00:05<00:03, 4.02it/s] 66%|██████▌ | 23/35 [00:05<00:02, 4.02it/s] 69%|██████▊ | 24/35 [00:05<00:02, 4.02it/s] 71%|███████▏ | 25/35 [00:06<00:02, 4.03it/s] 74%|███████▍ | 26/35 [00:06<00:02, 4.03it/s] 77%|███████▋ | 27/35 [00:06<00:01, 4.03it/s] 80%|████████ | 28/35 [00:06<00:01, 4.03it/s] 83%|████████▎ | 29/35 [00:07<00:01, 4.03it/s] 86%|████████▌ | 30/35 [00:07<00:01, 4.03it/s] 89%|████████▊ | 31/35 [00:07<00:00, 4.03it/s] 91%|█████████▏| 32/35 [00:07<00:00, 4.03it/s] 94%|█████████▍| 33/35 [00:08<00:00, 4.03it/s] 97%|█████████▋| 34/35 [00:08<00:00, 4.03it/s] 100%|██████████| 35/35 [00:08<00:00, 4.02it/s] 100%|██████████| 35/35 [00:08<00:00, 4.05it/s] Total safe images: 1 out of 1
Want to make some of these yourself?
Run this model