Readme
This model doesn't have a readme.
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run cristobalascencio/sims using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"cristobalascencio/sims:1afa7eff3ad50afb698f1003693378d60ce09791195331d53f1cb5f0f7cde31b",
{
input: {
image: "https://replicate.delivery/pbxt/LgUZOqV1XojAJ5Wm40euDH4wORY6xWQE79dUml1QSxfS2cG0/lon16853-teaser-xxl.jpg",
model: "dev",
prompt: "Create an image from behind of a shirtless, fat, bald man with a hairy back walking on a bustling beach promenade IN THE STYLE OF GTX. Light the subject with a strong, harsh flash, creating a stark contrast between the man and his surroundings, reminiscent of Martin Parr's photographic style.. The man's head and upper back are in the foreground, taking up about a third of the image. In the background, show a crowded beach with sunbathers and beach umbrellas. To the left, include palm trees lining the promenade. On the right, depict a row of high-rise apartment buildings and hotels. In the far distance, show mountains meeting the sea. The scene should have a bright, sunny atmosphere with a clear blue sky. Include other pedestrians walking on the promenade. The overall mood should capture a lively, popular seaside resort town on a warm day. IN THE STYLE OF GTX.",
go_fast: false,
lora_scale: 1.2,
megapixels: "1",
num_outputs: 4,
aspect_ratio: "3:2",
output_format: "png",
guidance_scale: 3.5,
output_quality: 90,
prompt_strength: 0.8,
extra_lora_scale: 1,
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 cristobalascencio/sims using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"cristobalascencio/sims:1afa7eff3ad50afb698f1003693378d60ce09791195331d53f1cb5f0f7cde31b",
input={
"image": "https://replicate.delivery/pbxt/LgUZOqV1XojAJ5Wm40euDH4wORY6xWQE79dUml1QSxfS2cG0/lon16853-teaser-xxl.jpg",
"model": "dev",
"prompt": "Create an image from behind of a shirtless, fat, bald man with a hairy back walking on a bustling beach promenade IN THE STYLE OF GTX. Light the subject with a strong, harsh flash, creating a stark contrast between the man and his surroundings, reminiscent of Martin Parr's photographic style.. The man's head and upper back are in the foreground, taking up about a third of the image. In the background, show a crowded beach with sunbathers and beach umbrellas. To the left, include palm trees lining the promenade. On the right, depict a row of high-rise apartment buildings and hotels. In the far distance, show mountains meeting the sea. The scene should have a bright, sunny atmosphere with a clear blue sky. Include other pedestrians walking on the promenade. The overall mood should capture a lively, popular seaside resort town on a warm day. IN THE STYLE OF GTX.",
"go_fast": False,
"lora_scale": 1.2,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "3:2",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 90,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"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 cristobalascencio/sims 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": "cristobalascencio/sims:1afa7eff3ad50afb698f1003693378d60ce09791195331d53f1cb5f0f7cde31b",
"input": {
"image": "https://replicate.delivery/pbxt/LgUZOqV1XojAJ5Wm40euDH4wORY6xWQE79dUml1QSxfS2cG0/lon16853-teaser-xxl.jpg",
"model": "dev",
"prompt": "Create an image from behind of a shirtless, fat, bald man with a hairy back walking on a bustling beach promenade IN THE STYLE OF GTX. Light the subject with a strong, harsh flash, creating a stark contrast between the man and his surroundings, reminiscent of Martin Parr\'s photographic style.. The man\'s head and upper back are in the foreground, taking up about a third of the image. In the background, show a crowded beach with sunbathers and beach umbrellas. To the left, include palm trees lining the promenade. On the right, depict a row of high-rise apartment buildings and hotels. In the far distance, show mountains meeting the sea. The scene should have a bright, sunny atmosphere with a clear blue sky. Include other pedestrians walking on the promenade. The overall mood should capture a lively, popular seaside resort town on a warm day. IN THE STYLE OF GTX.",
"go_fast": false,
"lora_scale": 1.2,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "3:2",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 90,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"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
{
"completed_at": "2024-09-25T11:23:25.427251Z",
"created_at": "2024-09-25T11:22:51.635000Z",
"data_removed": false,
"error": null,
"id": "5z3fajkhedrm40cj53nvrd9n9w",
"input": {
"image": "https://replicate.delivery/pbxt/LgUZOqV1XojAJ5Wm40euDH4wORY6xWQE79dUml1QSxfS2cG0/lon16853-teaser-xxl.jpg",
"model": "dev",
"prompt": "Create an image from behind of a shirtless, fat, bald man with a hairy back walking on a bustling beach promenade IN THE STYLE OF GTX. Light the subject with a strong, harsh flash, creating a stark contrast between the man and his surroundings, reminiscent of Martin Parr's photographic style.. The man's head and upper back are in the foreground, taking up about a third of the image. In the background, show a crowded beach with sunbathers and beach umbrellas. To the left, include palm trees lining the promenade. On the right, depict a row of high-rise apartment buildings and hotels. In the far distance, show mountains meeting the sea. The scene should have a bright, sunny atmosphere with a clear blue sky. Include other pedestrians walking on the promenade. The overall mood should capture a lively, popular seaside resort town on a warm day. IN THE STYLE OF GTX.",
"lora_scale": 1.2,
"num_outputs": 4,
"aspect_ratio": "3:2",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 90,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 28
},
"logs": "Using seed: 56210\nPrompt: Create an image from behind of a shirtless, fat, bald man with a hairy back walking on a bustling beach promenade IN THE STYLE OF GTX. Light the subject with a strong, harsh flash, creating a stark contrast between the man and his surroundings, reminiscent of Martin Parr's photographic style.. The man's head and upper back are in the foreground, taking up about a third of the image. In the background, show a crowded beach with sunbathers and beach umbrellas. To the left, include palm trees lining the promenade. On the right, depict a row of high-rise apartment buildings and hotels. In the far distance, show mountains meeting the sea. The scene should have a bright, sunny atmosphere with a clear blue sky. Include other pedestrians walking on the promenade. The overall mood should capture a lively, popular seaside resort town on a warm day. IN THE STYLE OF GTX.\n[!] Resizing input image from 560x373 to 560x384\n[!] img2img mode\n[!] Using dev model for img2img\nUsing dev model\nLoaded LoRAs in 14.38s\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:05, 3.85it/s]\n 9%|▊ | 2/23 [00:00<00:05, 3.52it/s]\n 13%|█▎ | 3/23 [00:00<00:05, 3.44it/s]\n 17%|█▋ | 4/23 [00:01<00:05, 3.40it/s]\n 22%|██▏ | 5/23 [00:01<00:05, 3.37it/s]\n 26%|██▌ | 6/23 [00:01<00:05, 3.36it/s]\n 30%|███ | 7/23 [00:02<00:04, 3.35it/s]\n 35%|███▍ | 8/23 [00:02<00:04, 3.35it/s]\n 39%|███▉ | 9/23 [00:02<00:04, 3.34it/s]\n 43%|████▎ | 10/23 [00:02<00:03, 3.34it/s]\n 48%|████▊ | 11/23 [00:03<00:03, 3.34it/s]\n 52%|█████▏ | 12/23 [00:03<00:03, 3.34it/s]\n 57%|█████▋ | 13/23 [00:03<00:03, 3.33it/s]\n 61%|██████ | 14/23 [00:04<00:02, 3.34it/s]\n 65%|██████▌ | 15/23 [00:04<00:02, 3.34it/s]\n 70%|██████▉ | 16/23 [00:04<00:02, 3.34it/s]\n 74%|███████▍ | 17/23 [00:05<00:01, 3.34it/s]\n 78%|███████▊ | 18/23 [00:05<00:01, 3.33it/s]\n 83%|████████▎ | 19/23 [00:05<00:01, 3.33it/s]\n 87%|████████▋ | 20/23 [00:05<00:00, 3.33it/s]\n 91%|█████████▏| 21/23 [00:06<00:00, 3.33it/s]\n 96%|█████████▌| 22/23 [00:06<00:00, 3.33it/s]\n100%|██████████| 23/23 [00:06<00:00, 3.34it/s]\n100%|██████████| 23/23 [00:06<00:00, 3.35it/s]",
"metrics": {
"predict_time": 22.831811514,
"total_time": 33.792251
},
"output": [
"https://replicate.delivery/yhqm/4FO25uLtH55PE13aoylC5ly7UW5L5ppAGdcRQpnb2JCrkG4E/out-0.png",
"https://replicate.delivery/yhqm/GddWwRS2XJbZFB4BayZMZG1qyNClrgeN0y3eT2cM6QltSagTA/out-1.png",
"https://replicate.delivery/yhqm/BDKLM6gZUPqmB9pxBcB9fd8ISvkJyFyTaH911Ke5RivtSagTA/out-2.png",
"https://replicate.delivery/yhqm/IjGFTMaJpLpCGFN4YcnuEtbVzRr1tWs9xeLsEZXItntWJNwJA/out-3.png"
],
"started_at": "2024-09-25T11:23:02.595439Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/5z3fajkhedrm40cj53nvrd9n9w",
"cancel": "https://api.replicate.com/v1/predictions/5z3fajkhedrm40cj53nvrd9n9w/cancel"
},
"version": "1afa7eff3ad50afb698f1003693378d60ce09791195331d53f1cb5f0f7cde31b"
}
Using seed: 56210
Prompt: Create an image from behind of a shirtless, fat, bald man with a hairy back walking on a bustling beach promenade IN THE STYLE OF GTX. Light the subject with a strong, harsh flash, creating a stark contrast between the man and his surroundings, reminiscent of Martin Parr's photographic style.. The man's head and upper back are in the foreground, taking up about a third of the image. In the background, show a crowded beach with sunbathers and beach umbrellas. To the left, include palm trees lining the promenade. On the right, depict a row of high-rise apartment buildings and hotels. In the far distance, show mountains meeting the sea. The scene should have a bright, sunny atmosphere with a clear blue sky. Include other pedestrians walking on the promenade. The overall mood should capture a lively, popular seaside resort town on a warm day. IN THE STYLE OF GTX.
[!] Resizing input image from 560x373 to 560x384
[!] img2img mode
[!] Using dev model for img2img
Using dev model
Loaded LoRAs in 14.38s
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:05, 3.85it/s]
9%|▊ | 2/23 [00:00<00:05, 3.52it/s]
13%|█▎ | 3/23 [00:00<00:05, 3.44it/s]
17%|█▋ | 4/23 [00:01<00:05, 3.40it/s]
22%|██▏ | 5/23 [00:01<00:05, 3.37it/s]
26%|██▌ | 6/23 [00:01<00:05, 3.36it/s]
30%|███ | 7/23 [00:02<00:04, 3.35it/s]
35%|███▍ | 8/23 [00:02<00:04, 3.35it/s]
39%|███▉ | 9/23 [00:02<00:04, 3.34it/s]
43%|████▎ | 10/23 [00:02<00:03, 3.34it/s]
48%|████▊ | 11/23 [00:03<00:03, 3.34it/s]
52%|█████▏ | 12/23 [00:03<00:03, 3.34it/s]
57%|█████▋ | 13/23 [00:03<00:03, 3.33it/s]
61%|██████ | 14/23 [00:04<00:02, 3.34it/s]
65%|██████▌ | 15/23 [00:04<00:02, 3.34it/s]
70%|██████▉ | 16/23 [00:04<00:02, 3.34it/s]
74%|███████▍ | 17/23 [00:05<00:01, 3.34it/s]
78%|███████▊ | 18/23 [00:05<00:01, 3.33it/s]
83%|████████▎ | 19/23 [00:05<00:01, 3.33it/s]
87%|████████▋ | 20/23 [00:05<00:00, 3.33it/s]
91%|█████████▏| 21/23 [00:06<00:00, 3.33it/s]
96%|█████████▌| 22/23 [00:06<00:00, 3.33it/s]
100%|██████████| 23/23 [00:06<00:00, 3.34it/s]
100%|██████████| 23/23 [00:06<00:00, 3.35it/s]
This model runs on Nvidia H100 GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.
This model is warm. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Using seed: 56210
Prompt: Create an image from behind of a shirtless, fat, bald man with a hairy back walking on a bustling beach promenade IN THE STYLE OF GTX. Light the subject with a strong, harsh flash, creating a stark contrast between the man and his surroundings, reminiscent of Martin Parr's photographic style.. The man's head and upper back are in the foreground, taking up about a third of the image. In the background, show a crowded beach with sunbathers and beach umbrellas. To the left, include palm trees lining the promenade. On the right, depict a row of high-rise apartment buildings and hotels. In the far distance, show mountains meeting the sea. The scene should have a bright, sunny atmosphere with a clear blue sky. Include other pedestrians walking on the promenade. The overall mood should capture a lively, popular seaside resort town on a warm day. IN THE STYLE OF GTX.
[!] Resizing input image from 560x373 to 560x384
[!] img2img mode
[!] Using dev model for img2img
Using dev model
Loaded LoRAs in 14.38s
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:05, 3.85it/s]
9%|▊ | 2/23 [00:00<00:05, 3.52it/s]
13%|█▎ | 3/23 [00:00<00:05, 3.44it/s]
17%|█▋ | 4/23 [00:01<00:05, 3.40it/s]
22%|██▏ | 5/23 [00:01<00:05, 3.37it/s]
26%|██▌ | 6/23 [00:01<00:05, 3.36it/s]
30%|███ | 7/23 [00:02<00:04, 3.35it/s]
35%|███▍ | 8/23 [00:02<00:04, 3.35it/s]
39%|███▉ | 9/23 [00:02<00:04, 3.34it/s]
43%|████▎ | 10/23 [00:02<00:03, 3.34it/s]
48%|████▊ | 11/23 [00:03<00:03, 3.34it/s]
52%|█████▏ | 12/23 [00:03<00:03, 3.34it/s]
57%|█████▋ | 13/23 [00:03<00:03, 3.33it/s]
61%|██████ | 14/23 [00:04<00:02, 3.34it/s]
65%|██████▌ | 15/23 [00:04<00:02, 3.34it/s]
70%|██████▉ | 16/23 [00:04<00:02, 3.34it/s]
74%|███████▍ | 17/23 [00:05<00:01, 3.34it/s]
78%|███████▊ | 18/23 [00:05<00:01, 3.33it/s]
83%|████████▎ | 19/23 [00:05<00:01, 3.33it/s]
87%|████████▋ | 20/23 [00:05<00:00, 3.33it/s]
91%|█████████▏| 21/23 [00:06<00:00, 3.33it/s]
96%|█████████▌| 22/23 [00:06<00:00, 3.33it/s]
100%|██████████| 23/23 [00:06<00:00, 3.34it/s]
100%|██████████| 23/23 [00:06<00:00, 3.35it/s]