Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
darionaviar /cinthia:b26a56ab
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run darionaviar/cinthia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"darionaviar/cinthia:b26a56abd9f014712559f3e6a79f172235742fda77ebbc4cfca5fa573c4db3c3",
{
input: {
image: "https://replicate.delivery/pbxt/LblPrpkqWtH7Vy879nDbAXeYw6jQlYdNypGr5sv4QM2U3bJ2/A_photo_of_Cinthia_Vega_034.jpg",
model: "dev",
prompt: "CINTHIA sitting ",
go_fast: false,
lora_scale: 1,
megapixels: "1",
num_outputs: 2,
aspect_ratio: "1:1",
output_format: "jpg",
guidance_scale: 3.5,
output_quality: 100,
prompt_strength: 0.8,
extra_lora_scale: 0.8,
num_inference_steps: 28
}
}
);
// To access the file URL:
console.log(output[0].url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run darionaviar/cinthia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"darionaviar/cinthia:b26a56abd9f014712559f3e6a79f172235742fda77ebbc4cfca5fa573c4db3c3",
input={
"image": "https://replicate.delivery/pbxt/LblPrpkqWtH7Vy879nDbAXeYw6jQlYdNypGr5sv4QM2U3bJ2/A_photo_of_Cinthia_Vega_034.jpg",
"model": "dev",
"prompt": "CINTHIA sitting ",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 2,
"aspect_ratio": "1:1",
"output_format": "jpg",
"guidance_scale": 3.5,
"output_quality": 100,
"prompt_strength": 0.8,
"extra_lora_scale": 0.8,
"num_inference_steps": 28
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run darionaviar/cinthia 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": "darionaviar/cinthia:b26a56abd9f014712559f3e6a79f172235742fda77ebbc4cfca5fa573c4db3c3",
"input": {
"image": "https://replicate.delivery/pbxt/LblPrpkqWtH7Vy879nDbAXeYw6jQlYdNypGr5sv4QM2U3bJ2/A_photo_of_Cinthia_Vega_034.jpg",
"model": "dev",
"prompt": "CINTHIA sitting ",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 2,
"aspect_ratio": "1:1",
"output_format": "jpg",
"guidance_scale": 3.5,
"output_quality": 100,
"prompt_strength": 0.8,
"extra_lora_scale": 0.8,
"num_inference_steps": 28
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2024-09-12T03:41:22.342545Z",
"created_at": "2024-09-12T03:40:57.875000Z",
"data_removed": false,
"error": null,
"id": "h7ct4sf4jdrm40chwh8vvy80km",
"input": {
"image": "https://replicate.delivery/pbxt/LblPrpkqWtH7Vy879nDbAXeYw6jQlYdNypGr5sv4QM2U3bJ2/A_photo_of_Cinthia_Vega_034.jpg",
"model": "dev",
"prompt": "CINTHIA sitting ",
"lora_scale": 1,
"num_outputs": 2,
"aspect_ratio": "1:1",
"output_format": "jpg",
"guidance_scale": 3.5,
"output_quality": 100,
"prompt_strength": 0.8,
"extra_lora_scale": 0.8,
"num_inference_steps": 28
},
"logs": "Using seed: 51269\nPrompt: CINTHIA sitting\n[!] img2img mode\nUsing dev model for img2img\nUsing dev model\nfree=7516089495552\nDownloading weights\n2024-09-12T03:40:58Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpa8crk3gp/weights url=https://replicate.delivery/yhqm/mlriPeRDZjQ3CKoDe2HlSm9vazau0m4u5pUBfYUzuHXW793mA/trained_model.tar\n2024-09-12T03:41:02Z | INFO | [ Complete ] dest=/tmp/tmpa8crk3gp/weights size=\"215 MB\" total_elapsed=3.622s url=https://replicate.delivery/yhqm/mlriPeRDZjQ3CKoDe2HlSm9vazau0m4u5pUBfYUzuHXW793mA/trained_model.tar\nDownloaded weights in 3.65s\nLoaded LoRAs in 11.42s\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:09, 2.44it/s]\n 9%|▊ | 2/23 [00:00<00:09, 2.13it/s]\n 13%|█▎ | 3/23 [00:01<00:09, 2.04it/s]\n 17%|█▋ | 4/23 [00:01<00:09, 2.01it/s]\n 22%|██▏ | 5/23 [00:02<00:09, 1.99it/s]\n 26%|██▌ | 6/23 [00:02<00:08, 1.98it/s]\n 30%|███ | 7/23 [00:03<00:08, 1.97it/s]\n 35%|███▍ | 8/23 [00:03<00:07, 1.96it/s]\n 39%|███▉ | 9/23 [00:04<00:07, 1.96it/s]\n 43%|████▎ | 10/23 [00:05<00:06, 1.96it/s]\n 48%|████▊ | 11/23 [00:05<00:06, 1.96it/s]\n 52%|█████▏ | 12/23 [00:06<00:05, 1.96it/s]\n 57%|█████▋ | 13/23 [00:06<00:05, 1.96it/s]\n 61%|██████ | 14/23 [00:07<00:04, 1.95it/s]\n 65%|██████▌ | 15/23 [00:07<00:04, 1.95it/s]\n 70%|██████▉ | 16/23 [00:08<00:03, 1.95it/s]\n 74%|███████▍ | 17/23 [00:08<00:03, 1.95it/s]\n 78%|███████▊ | 18/23 [00:09<00:02, 1.95it/s]\n 83%|████████▎ | 19/23 [00:09<00:02, 1.95it/s]\n 87%|████████▋ | 20/23 [00:10<00:01, 1.95it/s]\n 91%|█████████▏| 21/23 [00:10<00:01, 1.95it/s]\n 96%|█████████▌| 22/23 [00:11<00:00, 1.95it/s]\n100%|██████████| 23/23 [00:11<00:00, 1.96it/s]\n100%|██████████| 23/23 [00:11<00:00, 1.97it/s]",
"metrics": {
"predict_time": 24.459933778,
"total_time": 24.467545
},
"output": [
"https://replicate.delivery/yhqm/z8YznWf5xIVzGiOsg6fjxDDyYhYR9z7Pf096AjCyv9SEnC4mA/out-0.jpg",
"https://replicate.delivery/yhqm/xsO8ehzJWa2EHSWD29Yrk9cggNX4zfXmAGecYwZIWI5EnC4mA/out-1.jpg"
],
"started_at": "2024-09-12T03:40:57.882612Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/h7ct4sf4jdrm40chwh8vvy80km",
"cancel": "https://api.replicate.com/v1/predictions/h7ct4sf4jdrm40chwh8vvy80km/cancel"
},
"version": "b26a56abd9f014712559f3e6a79f172235742fda77ebbc4cfca5fa573c4db3c3"
}
Using seed: 51269
Prompt: CINTHIA sitting
[!] img2img mode
Using dev model for img2img
Using dev model
free=7516089495552
Downloading weights
2024-09-12T03:40:58Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpa8crk3gp/weights url=https://replicate.delivery/yhqm/mlriPeRDZjQ3CKoDe2HlSm9vazau0m4u5pUBfYUzuHXW793mA/trained_model.tar
2024-09-12T03:41:02Z | INFO | [ Complete ] dest=/tmp/tmpa8crk3gp/weights size="215 MB" total_elapsed=3.622s url=https://replicate.delivery/yhqm/mlriPeRDZjQ3CKoDe2HlSm9vazau0m4u5pUBfYUzuHXW793mA/trained_model.tar
Downloaded weights in 3.65s
Loaded LoRAs in 11.42s
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:09, 2.44it/s]
9%|▊ | 2/23 [00:00<00:09, 2.13it/s]
13%|█▎ | 3/23 [00:01<00:09, 2.04it/s]
17%|█▋ | 4/23 [00:01<00:09, 2.01it/s]
22%|██▏ | 5/23 [00:02<00:09, 1.99it/s]
26%|██▌ | 6/23 [00:02<00:08, 1.98it/s]
30%|███ | 7/23 [00:03<00:08, 1.97it/s]
35%|███▍ | 8/23 [00:03<00:07, 1.96it/s]
39%|███▉ | 9/23 [00:04<00:07, 1.96it/s]
43%|████▎ | 10/23 [00:05<00:06, 1.96it/s]
48%|████▊ | 11/23 [00:05<00:06, 1.96it/s]
52%|█████▏ | 12/23 [00:06<00:05, 1.96it/s]
57%|█████▋ | 13/23 [00:06<00:05, 1.96it/s]
61%|██████ | 14/23 [00:07<00:04, 1.95it/s]
65%|██████▌ | 15/23 [00:07<00:04, 1.95it/s]
70%|██████▉ | 16/23 [00:08<00:03, 1.95it/s]
74%|███████▍ | 17/23 [00:08<00:03, 1.95it/s]
78%|███████▊ | 18/23 [00:09<00:02, 1.95it/s]
83%|████████▎ | 19/23 [00:09<00:02, 1.95it/s]
87%|████████▋ | 20/23 [00:10<00:01, 1.95it/s]
91%|█████████▏| 21/23 [00:10<00:01, 1.95it/s]
96%|█████████▌| 22/23 [00:11<00:00, 1.95it/s]
100%|██████████| 23/23 [00:11<00:00, 1.96it/s]
100%|██████████| 23/23 [00:11<00:00, 1.97it/s]