adarshnagrikar14 / studio-ai
The model transforms real-life image to Ghibli Style Art Images.
- Public
- 3.4K runs
-
L40S
Prediction
IDhqxyf4bjgnrmc0cp5y8v4thse8StatusSucceededSourceAPIHardwareL40STotal durationCreatedInput
- seed
- 12345
- width
- 512
- height
- 768
- prompt
- Studio Ghibli style hand drawn image
- lora_scale
- 0.8
- spatial_img
- YzE3OGRjN2UtMmZhNi00NTEzLTlmYjQtZGZiNTBjNTU4OTE3
- control_type
- Ghibli
{ "seed": 12345, "width": 512, "height": 768, "prompt": "Studio Ghibli style hand drawn image", "lora_scale": 0.8, "spatial_img": "https://api.replicate.com/v1/files/YzE3OGRjN2UtMmZhNi00NTEzLTlmYjQtZGZiNTBjNTU4OTE3", "control_type": "Ghibli" }
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 adarshnagrikar14/studio-ai using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "adarshnagrikar14/studio-ai:c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34", { input: { seed: 12345, width: 512, height: 768, prompt: "Studio Ghibli style hand drawn image", lora_scale: 0.8, spatial_img: "https://api.replicate.com/v1/files/YzE3OGRjN2UtMmZhNi00NTEzLTlmYjQtZGZiNTBjNTU4OTE3", control_type: "Ghibli" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
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 adarshnagrikar14/studio-ai using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "adarshnagrikar14/studio-ai:c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34", input={ "seed": 12345, "width": 512, "height": 768, "prompt": "Studio Ghibli style hand drawn image", "lora_scale": 0.8, "spatial_img": "https://api.replicate.com/v1/files/YzE3OGRjN2UtMmZhNi00NTEzLTlmYjQtZGZiNTBjNTU4OTE3", "control_type": "Ghibli" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run adarshnagrikar14/studio-ai 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": "adarshnagrikar14/studio-ai:c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34", "input": { "seed": 12345, "width": 512, "height": 768, "prompt": "Studio Ghibli style hand drawn image", "lora_scale": 0.8, "spatial_img": "https://api.replicate.com/v1/files/YzE3OGRjN2UtMmZhNi00NTEzLTlmYjQtZGZiNTBjNTU4OTE3", "control_type": "Ghibli" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-04-13T14:33:13.496267Z", "created_at": "2025-04-13T14:33:03.365000Z", "data_removed": false, "error": null, "id": "hqxyf4bjgnrmc0cp5y8v4thse8", "input": { "seed": 12345, "width": 512, "height": 768, "prompt": "Studio Ghibli style hand drawn image", "lora_scale": 0.8, "spatial_img": "https://api.replicate.com/v1/files/YzE3OGRjN2UtMmZhNi00NTEzLTlmYjQtZGZiNTBjNTU4OTE3", "control_type": "Ghibli" }, "logs": "Loading .safetensors checkpoint from ./models/studio.safetensors\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:09, 2.52it/s]\n 8%|▊ | 2/25 [00:00<00:07, 3.09it/s]\n 12%|█▏ | 3/25 [00:01<00:07, 2.93it/s]\n 16%|█▌ | 4/25 [00:01<00:07, 2.85it/s]\n 20%|██ | 5/25 [00:01<00:07, 2.81it/s]\n 24%|██▍ | 6/25 [00:02<00:06, 2.79it/s]\n 28%|██▊ | 7/25 [00:02<00:06, 2.77it/s]\n 32%|███▏ | 8/25 [00:02<00:06, 2.76it/s]\n 36%|███▌ | 9/25 [00:03<00:05, 2.76it/s]\n 40%|████ | 10/25 [00:03<00:05, 2.75it/s]\n 44%|████▍ | 11/25 [00:03<00:05, 2.75it/s]\n 48%|████▊ | 12/25 [00:04<00:04, 2.74it/s]\n 52%|█████▏ | 13/25 [00:04<00:04, 2.74it/s]\n 56%|█████▌ | 14/25 [00:05<00:04, 2.74it/s]\n 60%|██████ | 15/25 [00:05<00:03, 2.74it/s]\n 64%|██████▍ | 16/25 [00:05<00:03, 2.74it/s]\n 68%|██████▊ | 17/25 [00:06<00:02, 2.73it/s]\n 72%|███████▏ | 18/25 [00:06<00:02, 2.73it/s]\n 76%|███████▌ | 19/25 [00:06<00:02, 2.73it/s]\n 80%|████████ | 20/25 [00:07<00:01, 2.73it/s]\n 84%|████████▍ | 21/25 [00:07<00:01, 2.73it/s]\n 88%|████████▊ | 22/25 [00:07<00:01, 2.73it/s]\n 92%|█████████▏| 23/25 [00:08<00:00, 2.73it/s]\n 96%|█████████▌| 24/25 [00:08<00:00, 2.73it/s]\n100%|██████████| 25/25 [00:09<00:00, 2.72it/s]\n100%|██████████| 25/25 [00:09<00:00, 2.75it/s]", "metrics": { "predict_time": 10.123538137, "total_time": 10.131267 }, "output": "https://replicate.delivery/xezq/KcqQNved4F1MGy9D88BewVUIJeiZNYa5pXY2qeQTz7knSfSkC/output.png", "started_at": "2025-04-13T14:33:03.372729Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-aknancjpoo3zdct4aatnxfjuy4x6mjba53tcobrjhis62zofkykq", "get": "https://api.replicate.com/v1/predictions/hqxyf4bjgnrmc0cp5y8v4thse8", "cancel": "https://api.replicate.com/v1/predictions/hqxyf4bjgnrmc0cp5y8v4thse8/cancel" }, "version": "c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34" }
Generated inLoading .safetensors checkpoint from ./models/studio.safetensors 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:09, 2.52it/s] 8%|▊ | 2/25 [00:00<00:07, 3.09it/s] 12%|█▏ | 3/25 [00:01<00:07, 2.93it/s] 16%|█▌ | 4/25 [00:01<00:07, 2.85it/s] 20%|██ | 5/25 [00:01<00:07, 2.81it/s] 24%|██▍ | 6/25 [00:02<00:06, 2.79it/s] 28%|██▊ | 7/25 [00:02<00:06, 2.77it/s] 32%|███▏ | 8/25 [00:02<00:06, 2.76it/s] 36%|███▌ | 9/25 [00:03<00:05, 2.76it/s] 40%|████ | 10/25 [00:03<00:05, 2.75it/s] 44%|████▍ | 11/25 [00:03<00:05, 2.75it/s] 48%|████▊ | 12/25 [00:04<00:04, 2.74it/s] 52%|█████▏ | 13/25 [00:04<00:04, 2.74it/s] 56%|█████▌ | 14/25 [00:05<00:04, 2.74it/s] 60%|██████ | 15/25 [00:05<00:03, 2.74it/s] 64%|██████▍ | 16/25 [00:05<00:03, 2.74it/s] 68%|██████▊ | 17/25 [00:06<00:02, 2.73it/s] 72%|███████▏ | 18/25 [00:06<00:02, 2.73it/s] 76%|███████▌ | 19/25 [00:06<00:02, 2.73it/s] 80%|████████ | 20/25 [00:07<00:01, 2.73it/s] 84%|████████▍ | 21/25 [00:07<00:01, 2.73it/s] 88%|████████▊ | 22/25 [00:07<00:01, 2.73it/s] 92%|█████████▏| 23/25 [00:08<00:00, 2.73it/s] 96%|█████████▌| 24/25 [00:08<00:00, 2.73it/s] 100%|██████████| 25/25 [00:09<00:00, 2.72it/s] 100%|██████████| 25/25 [00:09<00:00, 2.75it/s]
Prediction
IDk392wrwbsxrme0cp5ynv1rq2z0StatusSucceededSourceWebHardwareL40STotal durationCreatedInput
{ "seed": 42, "width": 512, "height": 768, "prompt": "Studio Ghibli", "lora_scale": 1, "spatial_img": "https://replicate.delivery/pbxt/MpXN2r4dvu29LtZL7oEfcY8I6T6Q3biKACd0Xuk5dH0hWzbI/Generated%20Image%20March%2030%2C%202025%20-%206_15PM.jpeg", "control_type": "Ghibli" }
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 adarshnagrikar14/studio-ai using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "adarshnagrikar14/studio-ai:c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34", { input: { seed: 42, width: 512, height: 768, prompt: "Studio Ghibli", lora_scale: 1, spatial_img: "https://replicate.delivery/pbxt/MpXN2r4dvu29LtZL7oEfcY8I6T6Q3biKACd0Xuk5dH0hWzbI/Generated%20Image%20March%2030%2C%202025%20-%206_15PM.jpeg", control_type: "Ghibli" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
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 adarshnagrikar14/studio-ai using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "adarshnagrikar14/studio-ai:c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34", input={ "seed": 42, "width": 512, "height": 768, "prompt": "Studio Ghibli", "lora_scale": 1, "spatial_img": "https://replicate.delivery/pbxt/MpXN2r4dvu29LtZL7oEfcY8I6T6Q3biKACd0Xuk5dH0hWzbI/Generated%20Image%20March%2030%2C%202025%20-%206_15PM.jpeg", "control_type": "Ghibli" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run adarshnagrikar14/studio-ai 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": "adarshnagrikar14/studio-ai:c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34", "input": { "seed": 42, "width": 512, "height": 768, "prompt": "Studio Ghibli", "lora_scale": 1, "spatial_img": "https://replicate.delivery/pbxt/MpXN2r4dvu29LtZL7oEfcY8I6T6Q3biKACd0Xuk5dH0hWzbI/Generated%20Image%20March%2030%2C%202025%20-%206_15PM.jpeg", "control_type": "Ghibli" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-04-13T15:03:30.978152Z", "created_at": "2025-04-13T15:01:33.775000Z", "data_removed": false, "error": null, "id": "k392wrwbsxrme0cp5ynv1rq2z0", "input": { "seed": 42, "width": 512, "height": 768, "prompt": "Studio Ghibli", "lora_scale": 1, "spatial_img": "https://replicate.delivery/pbxt/MpXN2r4dvu29LtZL7oEfcY8I6T6Q3biKACd0Xuk5dH0hWzbI/Generated%20Image%20March%2030%2C%202025%20-%206_15PM.jpeg", "control_type": "Ghibli" }, "logs": "Loading .safetensors checkpoint from ./models/studio.safetensors\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:09, 2.49it/s]\n 8%|▊ | 2/25 [00:00<00:07, 3.08it/s]\n 12%|█▏ | 3/25 [00:01<00:07, 2.93it/s]\n 16%|█▌ | 4/25 [00:01<00:07, 2.86it/s]\n 20%|██ | 5/25 [00:01<00:07, 2.82it/s]\n 24%|██▍ | 6/25 [00:02<00:06, 2.79it/s]\n 28%|██▊ | 7/25 [00:02<00:06, 2.78it/s]\n 32%|███▏ | 8/25 [00:02<00:06, 2.77it/s]\n 36%|███▌ | 9/25 [00:03<00:05, 2.76it/s]\n 40%|████ | 10/25 [00:03<00:05, 2.76it/s]\n 44%|████▍ | 11/25 [00:03<00:05, 2.75it/s]\n 48%|████▊ | 12/25 [00:04<00:04, 2.75it/s]\n 52%|█████▏ | 13/25 [00:04<00:04, 2.75it/s]\n 56%|█████▌ | 14/25 [00:05<00:04, 2.75it/s]\n 60%|██████ | 15/25 [00:05<00:03, 2.74it/s]\n 64%|██████▍ | 16/25 [00:05<00:03, 2.74it/s]\n 68%|██████▊ | 17/25 [00:06<00:02, 2.74it/s]\n 72%|███████▏ | 18/25 [00:06<00:02, 2.74it/s]\n 76%|███████▌ | 19/25 [00:06<00:02, 2.74it/s]\n 80%|████████ | 20/25 [00:07<00:01, 2.74it/s]\n 84%|████████▍ | 21/25 [00:07<00:01, 2.74it/s]\n 88%|████████▊ | 22/25 [00:07<00:01, 2.73it/s]\n 92%|█████████▏| 23/25 [00:08<00:00, 2.73it/s]\n 96%|█████████▌| 24/25 [00:08<00:00, 2.73it/s]\n100%|██████████| 25/25 [00:09<00:00, 2.73it/s]\n100%|██████████| 25/25 [00:09<00:00, 2.76it/s]", "metrics": { "predict_time": 10.282341422, "total_time": 117.203152 }, "output": "https://replicate.delivery/xezq/glZivIZXTdraIJPAA7TYKjWBzsuUFetIas0yOoPYakXhIMRKA/output.png", "started_at": "2025-04-13T15:03:20.695810Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-t3b2nvezkuxqac6jsgkkfxvoyarbscl44x5jxj24rqslhvorhdba", "get": "https://api.replicate.com/v1/predictions/k392wrwbsxrme0cp5ynv1rq2z0", "cancel": "https://api.replicate.com/v1/predictions/k392wrwbsxrme0cp5ynv1rq2z0/cancel" }, "version": "c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34" }
Generated inLoading .safetensors checkpoint from ./models/studio.safetensors 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:09, 2.49it/s] 8%|▊ | 2/25 [00:00<00:07, 3.08it/s] 12%|█▏ | 3/25 [00:01<00:07, 2.93it/s] 16%|█▌ | 4/25 [00:01<00:07, 2.86it/s] 20%|██ | 5/25 [00:01<00:07, 2.82it/s] 24%|██▍ | 6/25 [00:02<00:06, 2.79it/s] 28%|██▊ | 7/25 [00:02<00:06, 2.78it/s] 32%|███▏ | 8/25 [00:02<00:06, 2.77it/s] 36%|███▌ | 9/25 [00:03<00:05, 2.76it/s] 40%|████ | 10/25 [00:03<00:05, 2.76it/s] 44%|████▍ | 11/25 [00:03<00:05, 2.75it/s] 48%|████▊ | 12/25 [00:04<00:04, 2.75it/s] 52%|█████▏ | 13/25 [00:04<00:04, 2.75it/s] 56%|█████▌ | 14/25 [00:05<00:04, 2.75it/s] 60%|██████ | 15/25 [00:05<00:03, 2.74it/s] 64%|██████▍ | 16/25 [00:05<00:03, 2.74it/s] 68%|██████▊ | 17/25 [00:06<00:02, 2.74it/s] 72%|███████▏ | 18/25 [00:06<00:02, 2.74it/s] 76%|███████▌ | 19/25 [00:06<00:02, 2.74it/s] 80%|████████ | 20/25 [00:07<00:01, 2.74it/s] 84%|████████▍ | 21/25 [00:07<00:01, 2.74it/s] 88%|████████▊ | 22/25 [00:07<00:01, 2.73it/s] 92%|█████████▏| 23/25 [00:08<00:00, 2.73it/s] 96%|█████████▌| 24/25 [00:08<00:00, 2.73it/s] 100%|██████████| 25/25 [00:09<00:00, 2.73it/s] 100%|██████████| 25/25 [00:09<00:00, 2.76it/s]
Prediction
adarshnagrikar14/studio-ai:c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34ID4mk67q3h95rm80cp6hxb7cv860StatusSucceededSourceAPIHardwareL40STotal durationCreatedInput
{ "seed": 25, "width": 640, "height": 640, "prompt": "Ghibli style image, make it Ghibli ", "spatial_img": "https://studio-ghibli-pv.s3.us-east-1.amazonaws.com/original/ae79d0cdc5da402ba5d6e58b8d4deac5.jpg" }
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 adarshnagrikar14/studio-ai using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "adarshnagrikar14/studio-ai:c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34", { input: { seed: 25, width: 640, height: 640, prompt: "Ghibli style image, make it Ghibli ", spatial_img: "https://studio-ghibli-pv.s3.us-east-1.amazonaws.com/original/ae79d0cdc5da402ba5d6e58b8d4deac5.jpg" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
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 adarshnagrikar14/studio-ai using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "adarshnagrikar14/studio-ai:c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34", input={ "seed": 25, "width": 640, "height": 640, "prompt": "Ghibli style image, make it Ghibli ", "spatial_img": "https://studio-ghibli-pv.s3.us-east-1.amazonaws.com/original/ae79d0cdc5da402ba5d6e58b8d4deac5.jpg" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run adarshnagrikar14/studio-ai 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": "adarshnagrikar14/studio-ai:c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34", "input": { "seed": 25, "width": 640, "height": 640, "prompt": "Ghibli style image, make it Ghibli ", "spatial_img": "https://studio-ghibli-pv.s3.us-east-1.amazonaws.com/original/ae79d0cdc5da402ba5d6e58b8d4deac5.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-04-14T13:26:11.914642Z", "created_at": "2025-04-14T13:26:01.801000Z", "data_removed": false, "error": null, "id": "4mk67q3h95rm80cp6hxb7cv860", "input": { "seed": 25, "width": 640, "height": 640, "prompt": "Ghibli style image, make it Ghibli ", "spatial_img": "https://studio-ghibli-pv.s3.us-east-1.amazonaws.com/original/ae79d0cdc5da402ba5d6e58b8d4deac5.jpg" }, "logs": "Loading .safetensors checkpoint from ./models/studio.safetensors\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:09, 2.44it/s]\n 8%|▊ | 2/25 [00:00<00:07, 2.99it/s]\n 12%|█▏ | 3/25 [00:01<00:07, 2.84it/s]\n 16%|█▌ | 4/25 [00:01<00:07, 2.77it/s]\n 20%|██ | 5/25 [00:01<00:07, 2.73it/s]\n 24%|██▍ | 6/25 [00:02<00:07, 2.71it/s]\n 28%|██▊ | 7/25 [00:02<00:06, 2.69it/s]\n 32%|███▏ | 8/25 [00:02<00:06, 2.69it/s]\n 36%|███▌ | 9/25 [00:03<00:05, 2.68it/s]\n 40%|████ | 10/25 [00:03<00:05, 2.67it/s]\n 44%|████▍ | 11/25 [00:04<00:05, 2.67it/s]\n 48%|████▊ | 12/25 [00:04<00:04, 2.67it/s]\n 52%|█████▏ | 13/25 [00:04<00:04, 2.66it/s]\n 56%|█████▌ | 14/25 [00:05<00:04, 2.66it/s]\n 60%|██████ | 15/25 [00:05<00:03, 2.66it/s]\n 64%|██████▍ | 16/25 [00:05<00:03, 2.66it/s]\n 68%|██████▊ | 17/25 [00:06<00:03, 2.66it/s]\n 72%|███████▏ | 18/25 [00:06<00:02, 2.66it/s]\n 76%|███████▌ | 19/25 [00:07<00:02, 2.66it/s]\n 80%|████████ | 20/25 [00:07<00:01, 2.66it/s]\n 84%|████████▍ | 21/25 [00:07<00:01, 2.66it/s]\n 88%|████████▊ | 22/25 [00:08<00:01, 2.65it/s]\n 92%|█████████▏| 23/25 [00:08<00:00, 2.66it/s]\n 96%|█████████▌| 24/25 [00:08<00:00, 2.65it/s]\n100%|██████████| 25/25 [00:09<00:00, 2.65it/s]\n100%|██████████| 25/25 [00:09<00:00, 2.68it/s]", "metrics": { "predict_time": 10.106636586, "total_time": 10.113642 }, "output": "https://replicate.delivery/xezq/JqhL19kslSJcC1X4GRclZNKQuQQPzKKS3mexoAoDQDy59VRKA/output.png", "started_at": "2025-04-14T13:26:01.808005Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-zyj7mdzpqydr5d7v6y7srn3vfvijgkvtv75tdg3pswbpiyvuklza", "get": "https://api.replicate.com/v1/predictions/4mk67q3h95rm80cp6hxb7cv860", "cancel": "https://api.replicate.com/v1/predictions/4mk67q3h95rm80cp6hxb7cv860/cancel" }, "version": "c37e88c21c87e9288d2c1b926cada48d562342481db767dde246636723989a34" }
Generated inLoading .safetensors checkpoint from ./models/studio.safetensors 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:09, 2.44it/s] 8%|▊ | 2/25 [00:00<00:07, 2.99it/s] 12%|█▏ | 3/25 [00:01<00:07, 2.84it/s] 16%|█▌ | 4/25 [00:01<00:07, 2.77it/s] 20%|██ | 5/25 [00:01<00:07, 2.73it/s] 24%|██▍ | 6/25 [00:02<00:07, 2.71it/s] 28%|██▊ | 7/25 [00:02<00:06, 2.69it/s] 32%|███▏ | 8/25 [00:02<00:06, 2.69it/s] 36%|███▌ | 9/25 [00:03<00:05, 2.68it/s] 40%|████ | 10/25 [00:03<00:05, 2.67it/s] 44%|████▍ | 11/25 [00:04<00:05, 2.67it/s] 48%|████▊ | 12/25 [00:04<00:04, 2.67it/s] 52%|█████▏ | 13/25 [00:04<00:04, 2.66it/s] 56%|█████▌ | 14/25 [00:05<00:04, 2.66it/s] 60%|██████ | 15/25 [00:05<00:03, 2.66it/s] 64%|██████▍ | 16/25 [00:05<00:03, 2.66it/s] 68%|██████▊ | 17/25 [00:06<00:03, 2.66it/s] 72%|███████▏ | 18/25 [00:06<00:02, 2.66it/s] 76%|███████▌ | 19/25 [00:07<00:02, 2.66it/s] 80%|████████ | 20/25 [00:07<00:01, 2.66it/s] 84%|████████▍ | 21/25 [00:07<00:01, 2.66it/s] 88%|████████▊ | 22/25 [00:08<00:01, 2.65it/s] 92%|█████████▏| 23/25 [00:08<00:00, 2.66it/s] 96%|█████████▌| 24/25 [00:08<00:00, 2.65it/s] 100%|██████████| 25/25 [00:09<00:00, 2.65it/s] 100%|██████████| 25/25 [00:09<00:00, 2.68it/s]
Prediction
adarshnagrikar14/studio-ai:58219e0f4ab1c129d47a6e667d39033c174b4c8364d08b1fa30a94be501087bfIDcyc5mqbfp1rj40cp745vs4gn9gStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- seed
- 12345
- width
- 512
- height
- 768
- prompt
- Studio Ghibli style hand drawn image
- lora_scale
- 0.8
- control_type
- Ghibli
{ "seed": 12345, "width": 512, "height": 768, "prompt": "Studio Ghibli style hand drawn image", "lora_scale": 0.8, "spatial_img": "https://replicate.delivery/pbxt/MqBQpOceJX49aZPfpG5B1AHMumebnRFrooYYEcnjDNoIRvGE/Generated%20Image%20March%2030%2C%202025%20-%206_36PM.jpeg", "control_type": "Ghibli" }
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 adarshnagrikar14/studio-ai using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "adarshnagrikar14/studio-ai:58219e0f4ab1c129d47a6e667d39033c174b4c8364d08b1fa30a94be501087bf", { input: { seed: 12345, width: 512, height: 768, prompt: "Studio Ghibli style hand drawn image", lora_scale: 0.8, spatial_img: "https://replicate.delivery/pbxt/MqBQpOceJX49aZPfpG5B1AHMumebnRFrooYYEcnjDNoIRvGE/Generated%20Image%20March%2030%2C%202025%20-%206_36PM.jpeg", control_type: "Ghibli" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
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 adarshnagrikar14/studio-ai using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "adarshnagrikar14/studio-ai:58219e0f4ab1c129d47a6e667d39033c174b4c8364d08b1fa30a94be501087bf", input={ "seed": 12345, "width": 512, "height": 768, "prompt": "Studio Ghibli style hand drawn image", "lora_scale": 0.8, "spatial_img": "https://replicate.delivery/pbxt/MqBQpOceJX49aZPfpG5B1AHMumebnRFrooYYEcnjDNoIRvGE/Generated%20Image%20March%2030%2C%202025%20-%206_36PM.jpeg", "control_type": "Ghibli" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run adarshnagrikar14/studio-ai 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": "adarshnagrikar14/studio-ai:58219e0f4ab1c129d47a6e667d39033c174b4c8364d08b1fa30a94be501087bf", "input": { "seed": 12345, "width": 512, "height": 768, "prompt": "Studio Ghibli style hand drawn image", "lora_scale": 0.8, "spatial_img": "https://replicate.delivery/pbxt/MqBQpOceJX49aZPfpG5B1AHMumebnRFrooYYEcnjDNoIRvGE/Generated%20Image%20March%2030%2C%202025%20-%206_36PM.jpeg", "control_type": "Ghibli" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-04-15T10:43:02.310282Z", "created_at": "2025-04-15T10:42:52.976000Z", "data_removed": false, "error": null, "id": "cyc5mqbfp1rj40cp745vs4gn9g", "input": { "seed": 12345, "width": 512, "height": 768, "prompt": "Studio Ghibli style hand drawn image", "lora_scale": 0.8, "spatial_img": "https://replicate.delivery/pbxt/MqBQpOceJX49aZPfpG5B1AHMumebnRFrooYYEcnjDNoIRvGE/Generated%20Image%20March%2030%2C%202025%20-%206_36PM.jpeg", "control_type": "Ghibli" }, "logs": "Loading .safetensors checkpoint from ./models/studio.safetensors\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:08, 2.69it/s]\n 8%|▊ | 2/25 [00:00<00:06, 3.32it/s]\n 12%|█▏ | 3/25 [00:00<00:06, 3.16it/s]\n 16%|█▌ | 4/25 [00:01<00:06, 3.09it/s]\n 20%|██ | 5/25 [00:01<00:06, 3.05it/s]\n 24%|██▍ | 6/25 [00:01<00:06, 3.03it/s]\n 28%|██▊ | 7/25 [00:02<00:05, 3.01it/s]\n 32%|███▏ | 8/25 [00:02<00:05, 3.00it/s]\n 36%|███▌ | 9/25 [00:02<00:05, 2.99it/s]\n 40%|████ | 10/25 [00:03<00:05, 2.99it/s]\n 44%|████▍ | 11/25 [00:03<00:04, 2.98it/s]\n 48%|████▊ | 12/25 [00:03<00:04, 2.98it/s]\n 52%|█████▏ | 13/25 [00:04<00:04, 2.98it/s]\n 56%|█████▌ | 14/25 [00:04<00:03, 2.98it/s]\n 60%|██████ | 15/25 [00:04<00:03, 2.98it/s]\n 64%|██████▍ | 16/25 [00:05<00:03, 2.98it/s]\n 68%|██████▊ | 17/25 [00:05<00:02, 2.98it/s]\n 72%|███████▏ | 18/25 [00:05<00:02, 2.98it/s]\n 76%|███████▌ | 19/25 [00:06<00:02, 2.98it/s]\n 80%|████████ | 20/25 [00:06<00:01, 2.98it/s]\n 84%|████████▍ | 21/25 [00:07<00:01, 2.98it/s]\n 88%|████████▊ | 22/25 [00:07<00:01, 2.98it/s]\n 92%|█████████▏| 23/25 [00:07<00:00, 2.98it/s]\n 96%|█████████▌| 24/25 [00:08<00:00, 2.98it/s]\n100%|██████████| 25/25 [00:08<00:00, 2.98it/s]\n100%|██████████| 25/25 [00:08<00:00, 3.00it/s]", "metrics": { "predict_time": 9.323167399999999, "total_time": 9.334282 }, "output": "https://replicate.delivery/yhqm/KsMnf4BNoOySJCQ9GfJhtwgLhE235in13eugCXkwk2vsR9FpA/output.png", "started_at": "2025-04-15T10:42:52.987115Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-b2cku7ev6f7weof75yehnep3xuflpehmzc23o4lxmm46nt3t2pta", "get": "https://api.replicate.com/v1/predictions/cyc5mqbfp1rj40cp745vs4gn9g", "cancel": "https://api.replicate.com/v1/predictions/cyc5mqbfp1rj40cp745vs4gn9g/cancel" }, "version": "58219e0f4ab1c129d47a6e667d39033c174b4c8364d08b1fa30a94be501087bf" }
Generated inLoading .safetensors checkpoint from ./models/studio.safetensors 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:08, 2.69it/s] 8%|▊ | 2/25 [00:00<00:06, 3.32it/s] 12%|█▏ | 3/25 [00:00<00:06, 3.16it/s] 16%|█▌ | 4/25 [00:01<00:06, 3.09it/s] 20%|██ | 5/25 [00:01<00:06, 3.05it/s] 24%|██▍ | 6/25 [00:01<00:06, 3.03it/s] 28%|██▊ | 7/25 [00:02<00:05, 3.01it/s] 32%|███▏ | 8/25 [00:02<00:05, 3.00it/s] 36%|███▌ | 9/25 [00:02<00:05, 2.99it/s] 40%|████ | 10/25 [00:03<00:05, 2.99it/s] 44%|████▍ | 11/25 [00:03<00:04, 2.98it/s] 48%|████▊ | 12/25 [00:03<00:04, 2.98it/s] 52%|█████▏ | 13/25 [00:04<00:04, 2.98it/s] 56%|█████▌ | 14/25 [00:04<00:03, 2.98it/s] 60%|██████ | 15/25 [00:04<00:03, 2.98it/s] 64%|██████▍ | 16/25 [00:05<00:03, 2.98it/s] 68%|██████▊ | 17/25 [00:05<00:02, 2.98it/s] 72%|███████▏ | 18/25 [00:05<00:02, 2.98it/s] 76%|███████▌ | 19/25 [00:06<00:02, 2.98it/s] 80%|████████ | 20/25 [00:06<00:01, 2.98it/s] 84%|████████▍ | 21/25 [00:07<00:01, 2.98it/s] 88%|████████▊ | 22/25 [00:07<00:01, 2.98it/s] 92%|█████████▏| 23/25 [00:07<00:00, 2.98it/s] 96%|█████████▌| 24/25 [00:08<00:00, 2.98it/s] 100%|██████████| 25/25 [00:08<00:00, 2.98it/s] 100%|██████████| 25/25 [00:08<00:00, 3.00it/s]
Want to make some of these yourself?
Run this model