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";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run simon_colby/ghibli-flux-rdancer-05 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"simon_colby/ghibli-flux-rdancer-05:fbc7c9f759e43fa0e4bf20157b496c318910a3b2a3fd381b6a40cd9a9ad9ab53",
{
input: {
image: "https://replicate.delivery/pbxt/MnpCqz5zknL6kmqmQimYtuJs3Pwn2K4NbIPvLM1uvWyHjR8W/photo_055.webp",
model: "dev",
prompt: "GHBL25_05 A young man with short black hair stands on a neatly mowed lawn at night, wearing a dark navy blue three-piece suit, a white shirt, and a teal tie. A gold chain accessory is clipped to his blazer pocket. His hands rest casually in his pockets as he looks to the left. He wears polished brown leather shoes. To his side is a large, glittering silver pegasus statue surrounded by vibrant pink, red, yellow, and white flowers. Behind him, festive purple and yellow fabric-draped archways line a walkway lit with soft warm lights, evoking the mood of a magical outdoor celebration.",
go_fast: false,
lora_scale: 1,
megapixels: "1",
num_outputs: 4,
aspect_ratio: "1:1",
output_format: "webp",
guidance_scale: 3,
output_quality: 80,
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 simon_colby/ghibli-flux-rdancer-05 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"simon_colby/ghibli-flux-rdancer-05:fbc7c9f759e43fa0e4bf20157b496c318910a3b2a3fd381b6a40cd9a9ad9ab53",
input={
"image": "https://replicate.delivery/pbxt/MnpCqz5zknL6kmqmQimYtuJs3Pwn2K4NbIPvLM1uvWyHjR8W/photo_055.webp",
"model": "dev",
"prompt": "GHBL25_05 A young man with short black hair stands on a neatly mowed lawn at night, wearing a dark navy blue three-piece suit, a white shirt, and a teal tie. A gold chain accessory is clipped to his blazer pocket. His hands rest casually in his pockets as he looks to the left. He wears polished brown leather shoes. To his side is a large, glittering silver pegasus statue surrounded by vibrant pink, red, yellow, and white flowers. Behind him, festive purple and yellow fabric-draped archways line a walkway lit with soft warm lights, evoking the mood of a magical outdoor celebration.",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 3,
"output_quality": 80,
"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 simon_colby/ghibli-flux-rdancer-05 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": "simon_colby/ghibli-flux-rdancer-05:fbc7c9f759e43fa0e4bf20157b496c318910a3b2a3fd381b6a40cd9a9ad9ab53",
"input": {
"image": "https://replicate.delivery/pbxt/MnpCqz5zknL6kmqmQimYtuJs3Pwn2K4NbIPvLM1uvWyHjR8W/photo_055.webp",
"model": "dev",
"prompt": "GHBL25_05 A young man with short black hair stands on a neatly mowed lawn at night, wearing a dark navy blue three-piece suit, a white shirt, and a teal tie. A gold chain accessory is clipped to his blazer pocket. His hands rest casually in his pockets as he looks to the left. He wears polished brown leather shoes. To his side is a large, glittering silver pegasus statue surrounded by vibrant pink, red, yellow, and white flowers. Behind him, festive purple and yellow fabric-draped archways line a walkway lit with soft warm lights, evoking the mood of a magical outdoor celebration.",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 3,
"output_quality": 80,
"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.
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/simon_colby/ghibli-flux-rdancer-05@sha256:fbc7c9f759e43fa0e4bf20157b496c318910a3b2a3fd381b6a40cd9a9ad9ab53 \
-i 'image="https://replicate.delivery/pbxt/MnpCqz5zknL6kmqmQimYtuJs3Pwn2K4NbIPvLM1uvWyHjR8W/photo_055.webp"' \
-i 'model="dev"' \
-i 'prompt="GHBL25_05 A young man with short black hair stands on a neatly mowed lawn at night, wearing a dark navy blue three-piece suit, a white shirt, and a teal tie. A gold chain accessory is clipped to his blazer pocket. His hands rest casually in his pockets as he looks to the left. He wears polished brown leather shoes. To his side is a large, glittering silver pegasus statue surrounded by vibrant pink, red, yellow, and white flowers. Behind him, festive purple and yellow fabric-draped archways line a walkway lit with soft warm lights, evoking the mood of a magical outdoor celebration."' \
-i 'go_fast=false' \
-i 'lora_scale=1' \
-i 'megapixels="1"' \
-i 'num_outputs=4' \
-i 'aspect_ratio="1:1"' \
-i 'output_format="webp"' \
-i 'guidance_scale=3' \
-i 'output_quality=80' \
-i 'prompt_strength=0.8' \
-i 'extra_lora_scale=1' \
-i 'num_inference_steps=28'
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/simon_colby/ghibli-flux-rdancer-05@sha256:fbc7c9f759e43fa0e4bf20157b496c318910a3b2a3fd381b6a40cd9a9ad9ab53
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/MnpCqz5zknL6kmqmQimYtuJs3Pwn2K4NbIPvLM1uvWyHjR8W/photo_055.webp", "model": "dev", "prompt": "GHBL25_05 A young man with short black hair stands on a neatly mowed lawn at night, wearing a dark navy blue three-piece suit, a white shirt, and a teal tie. A gold chain accessory is clipped to his blazer pocket. His hands rest casually in his pockets as he looks to the left. He wears polished brown leather shoes. To his side is a large, glittering silver pegasus statue surrounded by vibrant pink, red, yellow, and white flowers. Behind him, festive purple and yellow fabric-draped archways line a walkway lit with soft warm lights, evoking the mood of a magical outdoor celebration.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
{
"completed_at": "2025-04-08T19:16:05.139585Z",
"created_at": "2025-04-08T19:14:54.086000Z",
"data_removed": false,
"error": null,
"id": "4sg4zeng0srmc0cp2v9sq0mxz4",
"input": {
"image": "https://replicate.delivery/pbxt/MnpCqz5zknL6kmqmQimYtuJs3Pwn2K4NbIPvLM1uvWyHjR8W/photo_055.webp",
"model": "dev",
"prompt": "GHBL25_05 A young man with short black hair stands on a neatly mowed lawn at night, wearing a dark navy blue three-piece suit, a white shirt, and a teal tie. A gold chain accessory is clipped to his blazer pocket. His hands rest casually in his pockets as he looks to the left. He wears polished brown leather shoes. To his side is a large, glittering silver pegasus statue surrounded by vibrant pink, red, yellow, and white flowers. Behind him, festive purple and yellow fabric-draped archways line a walkway lit with soft warm lights, evoking the mood of a magical outdoor celebration.",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 3,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 28
},
"logs": "free=25489239584768\nDownloading weights\n2025-04-08T19:15:18Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpcvdvedz2/weights url=https://replicate.delivery/xezq/mm8n9SK9FbqVBphgkHzigzeyMoG79YreAF8CLMGVBH6eCfCSB/trained_model.tar\n2025-04-08T19:15:21Z | INFO | [ Complete ] dest=/tmp/tmpcvdvedz2/weights size=\"258 MB\" total_elapsed=3.065s url=https://replicate.delivery/xezq/mm8n9SK9FbqVBphgkHzigzeyMoG79YreAF8CLMGVBH6eCfCSB/trained_model.tar\nDownloaded weights in 3.08s\nLoaded LoRAs in 3.65s\nUsing seed: 60517\nPrompt: GHBL25_05 A young man with short black hair stands on a neatly mowed lawn at night, wearing a dark navy blue three-piece suit, a white shirt, and a teal tie. A gold chain accessory is clipped to his blazer pocket. His hands rest casually in his pockets as he looks to the left. He wears polished brown leather shoes. To his side is a large, glittering silver pegasus statue surrounded by vibrant pink, red, yellow, and white flowers. Behind him, festive purple and yellow fabric-draped archways line a walkway lit with soft warm lights, evoking the mood of a magical outdoor celebration.\nInput image size: 1280x1280\n[!] Resizing input image from 1280x1280 to 1280x1280\n[!] img2img mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:01<00:28, 1.29s/it]\n 9%|▊ | 2/23 [00:02<00:31, 1.48s/it]\n 13%|█▎ | 3/23 [00:04<00:30, 1.54s/it]\n 17%|█▋ | 4/23 [00:06<00:29, 1.57s/it]\n 22%|██▏ | 5/23 [00:07<00:28, 1.59s/it]\n 26%|██▌ | 6/23 [00:09<00:27, 1.60s/it]\n 30%|███ | 7/23 [00:10<00:25, 1.60s/it]\n 35%|███▍ | 8/23 [00:12<00:24, 1.61s/it]\n 39%|███▉ | 9/23 [00:14<00:22, 1.61s/it]\n 43%|████▎ | 10/23 [00:15<00:20, 1.61s/it]\n 48%|████▊ | 11/23 [00:17<00:19, 1.61s/it]\n 52%|█████▏ | 12/23 [00:19<00:17, 1.61s/it]\n 57%|█████▋ | 13/23 [00:20<00:16, 1.61s/it]\n 61%|██████ | 14/23 [00:22<00:14, 1.61s/it]\n 65%|██████▌ | 15/23 [00:23<00:12, 1.61s/it]\n 70%|██████▉ | 16/23 [00:25<00:11, 1.61s/it]\n 74%|███████▍ | 17/23 [00:27<00:09, 1.61s/it]\n 78%|███████▊ | 18/23 [00:28<00:08, 1.61s/it]\n 83%|████████▎ | 19/23 [00:30<00:06, 1.61s/it]\n 87%|████████▋ | 20/23 [00:31<00:04, 1.61s/it]\n 91%|█████████▏| 21/23 [00:33<00:03, 1.61s/it]\n 96%|█████████▌| 22/23 [00:35<00:01, 1.61s/it]\n100%|██████████| 23/23 [00:36<00:00, 1.61s/it]\n100%|██████████| 23/23 [00:36<00:00, 1.60s/it]\nTotal safe images: 4 out of 4",
"metrics": {
"predict_time": 46.496157871,
"total_time": 71.053585
},
"output": [
"https://replicate.delivery/xezq/Pfx5whfNYukE9EmXjS9BZzg4ZCBLXBbizXip6hOkBXv1fkBpA/out-0.webp",
"https://replicate.delivery/xezq/g6Ym11ueCsSFM6r0AnI00fnM6i38FfQ3fCDbffLCcECV9nMIF/out-1.webp",
"https://replicate.delivery/xezq/3kTuAkif712YR6ma5mhiff1LpxTh4lSoy5kABsKsblTrfJDSB/out-2.webp",
"https://replicate.delivery/xezq/88R60Eb4tc7KCJlDeWalcyg3Fo1H6hFxUBxOZjTfa2K1fkBpA/out-3.webp"
],
"started_at": "2025-04-08T19:15:18.643427Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-rbv43zyapdfyyabbblrhkmms3hspstof4prdot6772dxl4hs4rkq",
"get": "https://api.replicate.com/v1/predictions/4sg4zeng0srmc0cp2v9sq0mxz4",
"cancel": "https://api.replicate.com/v1/predictions/4sg4zeng0srmc0cp2v9sq0mxz4/cancel"
},
"version": "fbc7c9f759e43fa0e4bf20157b496c318910a3b2a3fd381b6a40cd9a9ad9ab53"
}
free=25489239584768
Downloading weights
2025-04-08T19:15:18Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpcvdvedz2/weights url=https://replicate.delivery/xezq/mm8n9SK9FbqVBphgkHzigzeyMoG79YreAF8CLMGVBH6eCfCSB/trained_model.tar
2025-04-08T19:15:21Z | INFO | [ Complete ] dest=/tmp/tmpcvdvedz2/weights size="258 MB" total_elapsed=3.065s url=https://replicate.delivery/xezq/mm8n9SK9FbqVBphgkHzigzeyMoG79YreAF8CLMGVBH6eCfCSB/trained_model.tar
Downloaded weights in 3.08s
Loaded LoRAs in 3.65s
Using seed: 60517
Prompt: GHBL25_05 A young man with short black hair stands on a neatly mowed lawn at night, wearing a dark navy blue three-piece suit, a white shirt, and a teal tie. A gold chain accessory is clipped to his blazer pocket. His hands rest casually in his pockets as he looks to the left. He wears polished brown leather shoes. To his side is a large, glittering silver pegasus statue surrounded by vibrant pink, red, yellow, and white flowers. Behind him, festive purple and yellow fabric-draped archways line a walkway lit with soft warm lights, evoking the mood of a magical outdoor celebration.
Input image size: 1280x1280
[!] Resizing input image from 1280x1280 to 1280x1280
[!] img2img mode
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:01<00:28, 1.29s/it]
9%|▊ | 2/23 [00:02<00:31, 1.48s/it]
13%|█▎ | 3/23 [00:04<00:30, 1.54s/it]
17%|█▋ | 4/23 [00:06<00:29, 1.57s/it]
22%|██▏ | 5/23 [00:07<00:28, 1.59s/it]
26%|██▌ | 6/23 [00:09<00:27, 1.60s/it]
30%|███ | 7/23 [00:10<00:25, 1.60s/it]
35%|███▍ | 8/23 [00:12<00:24, 1.61s/it]
39%|███▉ | 9/23 [00:14<00:22, 1.61s/it]
43%|████▎ | 10/23 [00:15<00:20, 1.61s/it]
48%|████▊ | 11/23 [00:17<00:19, 1.61s/it]
52%|█████▏ | 12/23 [00:19<00:17, 1.61s/it]
57%|█████▋ | 13/23 [00:20<00:16, 1.61s/it]
61%|██████ | 14/23 [00:22<00:14, 1.61s/it]
65%|██████▌ | 15/23 [00:23<00:12, 1.61s/it]
70%|██████▉ | 16/23 [00:25<00:11, 1.61s/it]
74%|███████▍ | 17/23 [00:27<00:09, 1.61s/it]
78%|███████▊ | 18/23 [00:28<00:08, 1.61s/it]
83%|████████▎ | 19/23 [00:30<00:06, 1.61s/it]
87%|████████▋ | 20/23 [00:31<00:04, 1.61s/it]
91%|█████████▏| 21/23 [00:33<00:03, 1.61s/it]
96%|█████████▌| 22/23 [00:35<00:01, 1.61s/it]
100%|██████████| 23/23 [00:36<00:00, 1.61s/it]
100%|██████████| 23/23 [00:36<00:00, 1.60s/it]
Total safe images: 4 out of 4
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
free=25489239584768
Downloading weights
2025-04-08T19:15:18Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpcvdvedz2/weights url=https://replicate.delivery/xezq/mm8n9SK9FbqVBphgkHzigzeyMoG79YreAF8CLMGVBH6eCfCSB/trained_model.tar
2025-04-08T19:15:21Z | INFO | [ Complete ] dest=/tmp/tmpcvdvedz2/weights size="258 MB" total_elapsed=3.065s url=https://replicate.delivery/xezq/mm8n9SK9FbqVBphgkHzigzeyMoG79YreAF8CLMGVBH6eCfCSB/trained_model.tar
Downloaded weights in 3.08s
Loaded LoRAs in 3.65s
Using seed: 60517
Prompt: GHBL25_05 A young man with short black hair stands on a neatly mowed lawn at night, wearing a dark navy blue three-piece suit, a white shirt, and a teal tie. A gold chain accessory is clipped to his blazer pocket. His hands rest casually in his pockets as he looks to the left. He wears polished brown leather shoes. To his side is a large, glittering silver pegasus statue surrounded by vibrant pink, red, yellow, and white flowers. Behind him, festive purple and yellow fabric-draped archways line a walkway lit with soft warm lights, evoking the mood of a magical outdoor celebration.
Input image size: 1280x1280
[!] Resizing input image from 1280x1280 to 1280x1280
[!] img2img mode
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:01<00:28, 1.29s/it]
9%|▊ | 2/23 [00:02<00:31, 1.48s/it]
13%|█▎ | 3/23 [00:04<00:30, 1.54s/it]
17%|█▋ | 4/23 [00:06<00:29, 1.57s/it]
22%|██▏ | 5/23 [00:07<00:28, 1.59s/it]
26%|██▌ | 6/23 [00:09<00:27, 1.60s/it]
30%|███ | 7/23 [00:10<00:25, 1.60s/it]
35%|███▍ | 8/23 [00:12<00:24, 1.61s/it]
39%|███▉ | 9/23 [00:14<00:22, 1.61s/it]
43%|████▎ | 10/23 [00:15<00:20, 1.61s/it]
48%|████▊ | 11/23 [00:17<00:19, 1.61s/it]
52%|█████▏ | 12/23 [00:19<00:17, 1.61s/it]
57%|█████▋ | 13/23 [00:20<00:16, 1.61s/it]
61%|██████ | 14/23 [00:22<00:14, 1.61s/it]
65%|██████▌ | 15/23 [00:23<00:12, 1.61s/it]
70%|██████▉ | 16/23 [00:25<00:11, 1.61s/it]
74%|███████▍ | 17/23 [00:27<00:09, 1.61s/it]
78%|███████▊ | 18/23 [00:28<00:08, 1.61s/it]
83%|████████▎ | 19/23 [00:30<00:06, 1.61s/it]
87%|████████▋ | 20/23 [00:31<00:04, 1.61s/it]
91%|█████████▏| 21/23 [00:33<00:03, 1.61s/it]
96%|█████████▌| 22/23 [00:35<00:01, 1.61s/it]
100%|██████████| 23/23 [00:36<00:00, 1.61s/it]
100%|██████████| 23/23 [00:36<00:00, 1.60s/it]
Total safe images: 4 out of 4