Readme
This model doesn't have a readme.
Creates images similar to scenes found in Yeşilçam movies
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 okturan/flux-yesilcam using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"okturan/flux-yesilcam:524103ba2ebc229fcc596d726b893449a77e987db29dc802629e1b6575244f07",
{
input: {
model: "dev",
width: 512,
height: 512,
prompt: "A scene from a YSLCM movie, A family in a station wagon parks two spots over from a grocer.",
go_fast: false,
lora_scale: 1.2,
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: 0.8,
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.
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 okturan/flux-yesilcam using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"okturan/flux-yesilcam:524103ba2ebc229fcc596d726b893449a77e987db29dc802629e1b6575244f07",
input={
"model": "dev",
"width": 512,
"height": 512,
"prompt": "A scene from a YSLCM movie, A family in a station wagon parks two spots over from a grocer.",
"go_fast": False,
"lora_scale": 1.2,
"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": 0.8,
"num_inference_steps": 35
}
)
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 okturan/flux-yesilcam 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": "524103ba2ebc229fcc596d726b893449a77e987db29dc802629e1b6575244f07",
"input": {
"model": "dev",
"width": 512,
"height": 512,
"prompt": "A scene from a YSLCM movie, A family in a station wagon parks two spots over from a grocer.",
"go_fast": false,
"lora_scale": 1.2,
"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": 0.8,
"num_inference_steps": 35
}
}' \
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-08-28T22:55:16.173919Z",
"created_at": "2024-08-28T22:54:27.093000Z",
"data_removed": false,
"error": null,
"id": "9nwvtccd2nrm60chkcsanj91zw",
"input": {
"model": "dev",
"width": 512,
"height": 512,
"prompt": "A scene from a YSLCM movie, A family in a station wagon parks two spots over from a grocer.",
"lora_scale": 1.2,
"num_outputs": 4,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 3,
"output_quality": 80,
"extra_lora_scale": 0.8,
"num_inference_steps": 35
},
"logs": "Using seed: 41750\nPrompt: A scene from a YSLCM movie, A family in a station wagon parks two spots over from a grocer.\ntxt2img mode\nUsing dev model\nfree=9309006528512\nDownloading weights\n2024-08-28T22:54:27Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp4u0xbdbm/weights url=https://replicate.delivery/yhqm/9eHI5r9i1gRJB6KGX9J3Yw7o3fYkahHd0hfEfDfKf2ar4T11E/trained_model.tar\n2024-08-28T22:54:30Z | INFO | [ Complete ] dest=/tmp/tmp4u0xbdbm/weights size=\"172 MB\" total_elapsed=3.289s url=https://replicate.delivery/yhqm/9eHI5r9i1gRJB6KGX9J3Yw7o3fYkahHd0hfEfDfKf2ar4T11E/trained_model.tar\nDownloaded weights in 3.32s\nLoaded LoRAs in 10.88s\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:01<00:34, 1.02s/it]\n 6%|▌ | 2/35 [00:01<00:29, 1.12it/s]\n 9%|▊ | 3/35 [00:02<00:30, 1.05it/s]\n 11%|█▏ | 4/35 [00:03<00:30, 1.02it/s]\n 14%|█▍ | 5/35 [00:04<00:29, 1.01it/s]\n 17%|█▋ | 6/35 [00:05<00:29, 1.00s/it]\n 20%|██ | 7/35 [00:06<00:28, 1.01s/it]\n 23%|██▎ | 8/35 [00:07<00:27, 1.01s/it]\n 26%|██▌ | 9/35 [00:08<00:26, 1.02s/it]\n 29%|██▊ | 10/35 [00:09<00:25, 1.02s/it]\n 31%|███▏ | 11/35 [00:11<00:24, 1.02s/it]\n 34%|███▍ | 12/35 [00:12<00:23, 1.02s/it]\n 37%|███▋ | 13/35 [00:13<00:22, 1.02s/it]\n 40%|████ | 14/35 [00:14<00:21, 1.02s/it]\n 43%|████▎ | 15/35 [00:15<00:20, 1.02s/it]\n 46%|████▌ | 16/35 [00:16<00:19, 1.02s/it]\n 49%|████▊ | 17/35 [00:17<00:18, 1.02s/it]\n 51%|█████▏ | 18/35 [00:18<00:17, 1.02s/it]\n 54%|█████▍ | 19/35 [00:19<00:16, 1.02s/it]\n 57%|█████▋ | 20/35 [00:20<00:15, 1.02s/it]\n 60%|██████ | 21/35 [00:21<00:14, 1.02s/it]\n 63%|██████▎ | 22/35 [00:22<00:13, 1.02s/it]\n 66%|██████▌ | 23/35 [00:23<00:12, 1.02s/it]\n 69%|██████▊ | 24/35 [00:24<00:11, 1.02s/it]\n 71%|███████▏ | 25/35 [00:25<00:10, 1.02s/it]\n 74%|███████▍ | 26/35 [00:26<00:09, 1.02s/it]\n 77%|███████▋ | 27/35 [00:27<00:08, 1.02s/it]\n 80%|████████ | 28/35 [00:28<00:07, 1.02s/it]\n 83%|████████▎ | 29/35 [00:29<00:06, 1.02s/it]\n 86%|████████▌ | 30/35 [00:30<00:05, 1.02s/it]\n 89%|████████▊ | 31/35 [00:31<00:04, 1.02s/it]\n 91%|█████████▏| 32/35 [00:32<00:03, 1.02s/it]\n 94%|█████████▍| 33/35 [00:33<00:02, 1.02s/it]\n 97%|█████████▋| 34/35 [00:34<00:01, 1.02s/it]\n100%|██████████| 35/35 [00:35<00:00, 1.02s/it]\n100%|██████████| 35/35 [00:35<00:00, 1.02s/it]",
"metrics": {
"predict_time": 48.650712182,
"total_time": 49.080919
},
"output": [
"https://replicate.delivery/yhqm/Nl8Uo0iw3UqJCllQYEv4nlelfkiKu6ie4lu9q38vsZBnmrumA/out-0.webp",
"https://replicate.delivery/yhqm/Bc56LEWe4iRnFq9TOe7qCFWIRGSofOPvmineKQo4rUnONXdNB/out-1.webp",
"https://replicate.delivery/yhqm/yuWI3JCZQ3IpMlfClWncBChaDwH9rY4eTi6a24OCDHjTzVXTA/out-2.webp",
"https://replicate.delivery/yhqm/6LNHnshf8510SC3cmoKyGjaO0MZK6bvFvPbAXUCvStPq5qrJA/out-3.webp"
],
"started_at": "2024-08-28T22:54:27.523206Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/9nwvtccd2nrm60chkcsanj91zw",
"cancel": "https://api.replicate.com/v1/predictions/9nwvtccd2nrm60chkcsanj91zw/cancel"
},
"version": "f0d5cbd3956a98c5a1cb92d5536a6c60536bc0462b04d80c416b1d2c1d77a83b"
}
Using seed: 41750
Prompt: A scene from a YSLCM movie, A family in a station wagon parks two spots over from a grocer.
txt2img mode
Using dev model
free=9309006528512
Downloading weights
2024-08-28T22:54:27Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp4u0xbdbm/weights url=https://replicate.delivery/yhqm/9eHI5r9i1gRJB6KGX9J3Yw7o3fYkahHd0hfEfDfKf2ar4T11E/trained_model.tar
2024-08-28T22:54:30Z | INFO | [ Complete ] dest=/tmp/tmp4u0xbdbm/weights size="172 MB" total_elapsed=3.289s url=https://replicate.delivery/yhqm/9eHI5r9i1gRJB6KGX9J3Yw7o3fYkahHd0hfEfDfKf2ar4T11E/trained_model.tar
Downloaded weights in 3.32s
Loaded LoRAs in 10.88s
0%| | 0/35 [00:00<?, ?it/s]
3%|▎ | 1/35 [00:01<00:34, 1.02s/it]
6%|▌ | 2/35 [00:01<00:29, 1.12it/s]
9%|▊ | 3/35 [00:02<00:30, 1.05it/s]
11%|█▏ | 4/35 [00:03<00:30, 1.02it/s]
14%|█▍ | 5/35 [00:04<00:29, 1.01it/s]
17%|█▋ | 6/35 [00:05<00:29, 1.00s/it]
20%|██ | 7/35 [00:06<00:28, 1.01s/it]
23%|██▎ | 8/35 [00:07<00:27, 1.01s/it]
26%|██▌ | 9/35 [00:08<00:26, 1.02s/it]
29%|██▊ | 10/35 [00:09<00:25, 1.02s/it]
31%|███▏ | 11/35 [00:11<00:24, 1.02s/it]
34%|███▍ | 12/35 [00:12<00:23, 1.02s/it]
37%|███▋ | 13/35 [00:13<00:22, 1.02s/it]
40%|████ | 14/35 [00:14<00:21, 1.02s/it]
43%|████▎ | 15/35 [00:15<00:20, 1.02s/it]
46%|████▌ | 16/35 [00:16<00:19, 1.02s/it]
49%|████▊ | 17/35 [00:17<00:18, 1.02s/it]
51%|█████▏ | 18/35 [00:18<00:17, 1.02s/it]
54%|█████▍ | 19/35 [00:19<00:16, 1.02s/it]
57%|█████▋ | 20/35 [00:20<00:15, 1.02s/it]
60%|██████ | 21/35 [00:21<00:14, 1.02s/it]
63%|██████▎ | 22/35 [00:22<00:13, 1.02s/it]
66%|██████▌ | 23/35 [00:23<00:12, 1.02s/it]
69%|██████▊ | 24/35 [00:24<00:11, 1.02s/it]
71%|███████▏ | 25/35 [00:25<00:10, 1.02s/it]
74%|███████▍ | 26/35 [00:26<00:09, 1.02s/it]
77%|███████▋ | 27/35 [00:27<00:08, 1.02s/it]
80%|████████ | 28/35 [00:28<00:07, 1.02s/it]
83%|████████▎ | 29/35 [00:29<00:06, 1.02s/it]
86%|████████▌ | 30/35 [00:30<00:05, 1.02s/it]
89%|████████▊ | 31/35 [00:31<00:04, 1.02s/it]
91%|█████████▏| 32/35 [00:32<00:03, 1.02s/it]
94%|█████████▍| 33/35 [00:33<00:02, 1.02s/it]
97%|█████████▋| 34/35 [00:34<00:01, 1.02s/it]
100%|██████████| 35/35 [00:35<00:00, 1.02s/it]
100%|██████████| 35/35 [00:35<00:00, 1.02s/it]
This output was created using a different version of the model, okturan/flux-yesilcam:f0d5cbd3.
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: 41750
Prompt: A scene from a YSLCM movie, A family in a station wagon parks two spots over from a grocer.
txt2img mode
Using dev model
free=9309006528512
Downloading weights
2024-08-28T22:54:27Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp4u0xbdbm/weights url=https://replicate.delivery/yhqm/9eHI5r9i1gRJB6KGX9J3Yw7o3fYkahHd0hfEfDfKf2ar4T11E/trained_model.tar
2024-08-28T22:54:30Z | INFO | [ Complete ] dest=/tmp/tmp4u0xbdbm/weights size="172 MB" total_elapsed=3.289s url=https://replicate.delivery/yhqm/9eHI5r9i1gRJB6KGX9J3Yw7o3fYkahHd0hfEfDfKf2ar4T11E/trained_model.tar
Downloaded weights in 3.32s
Loaded LoRAs in 10.88s
0%| | 0/35 [00:00<?, ?it/s]
3%|▎ | 1/35 [00:01<00:34, 1.02s/it]
6%|▌ | 2/35 [00:01<00:29, 1.12it/s]
9%|▊ | 3/35 [00:02<00:30, 1.05it/s]
11%|█▏ | 4/35 [00:03<00:30, 1.02it/s]
14%|█▍ | 5/35 [00:04<00:29, 1.01it/s]
17%|█▋ | 6/35 [00:05<00:29, 1.00s/it]
20%|██ | 7/35 [00:06<00:28, 1.01s/it]
23%|██▎ | 8/35 [00:07<00:27, 1.01s/it]
26%|██▌ | 9/35 [00:08<00:26, 1.02s/it]
29%|██▊ | 10/35 [00:09<00:25, 1.02s/it]
31%|███▏ | 11/35 [00:11<00:24, 1.02s/it]
34%|███▍ | 12/35 [00:12<00:23, 1.02s/it]
37%|███▋ | 13/35 [00:13<00:22, 1.02s/it]
40%|████ | 14/35 [00:14<00:21, 1.02s/it]
43%|████▎ | 15/35 [00:15<00:20, 1.02s/it]
46%|████▌ | 16/35 [00:16<00:19, 1.02s/it]
49%|████▊ | 17/35 [00:17<00:18, 1.02s/it]
51%|█████▏ | 18/35 [00:18<00:17, 1.02s/it]
54%|█████▍ | 19/35 [00:19<00:16, 1.02s/it]
57%|█████▋ | 20/35 [00:20<00:15, 1.02s/it]
60%|██████ | 21/35 [00:21<00:14, 1.02s/it]
63%|██████▎ | 22/35 [00:22<00:13, 1.02s/it]
66%|██████▌ | 23/35 [00:23<00:12, 1.02s/it]
69%|██████▊ | 24/35 [00:24<00:11, 1.02s/it]
71%|███████▏ | 25/35 [00:25<00:10, 1.02s/it]
74%|███████▍ | 26/35 [00:26<00:09, 1.02s/it]
77%|███████▋ | 27/35 [00:27<00:08, 1.02s/it]
80%|████████ | 28/35 [00:28<00:07, 1.02s/it]
83%|████████▎ | 29/35 [00:29<00:06, 1.02s/it]
86%|████████▌ | 30/35 [00:30<00:05, 1.02s/it]
89%|████████▊ | 31/35 [00:31<00:04, 1.02s/it]
91%|█████████▏| 32/35 [00:32<00:03, 1.02s/it]
94%|█████████▍| 33/35 [00:33<00:02, 1.02s/it]
97%|█████████▋| 34/35 [00:34<00:01, 1.02s/it]
100%|██████████| 35/35 [00:35<00:00, 1.02s/it]
100%|██████████| 35/35 [00:35<00:00, 1.02s/it]