defaultblack fluffy gorgeous dangerous cat animal creature, large orange eyes, big fluffy ears, piercing gaze, full moon, dark ambiance, best quality, extremely detailed
typetext
{
"apply_watermark": true,
"guidance_scale": 7.5,
"height": 1024,
"num_inference_steps": 20,
"num_outputs": 1,
"prompt": "cinematic film still of Kodak Motion Picture Film: (Sharp Detailed Image) An Oscar winning movie for Best Cinematography a woman in a kimono standing on a subway train in Japan Kodak Motion Picture Film Style, shallow depth of field, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy",
"prompt_strength": 0.8,
"scheduler": "KarrasDPM",
"width": 1024
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_TF1**********************************
This is your API token. Keep it to yourself.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run datacte/proteus-v0.2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"datacte/proteus-v0.2:06775cd262843edbde5abab958abdbb65a0a6b58ca301c9fd78fa55c775fc019",
{
input: {
apply_watermark: true,
guidance_scale: 7.5,
height: 1024,
num_inference_steps: 20,
num_outputs: 1,
prompt: "cinematic film still of Kodak Motion Picture Film: (Sharp Detailed Image) An Oscar winning movie for Best Cinematography a woman in a kimono standing on a subway train in Japan Kodak Motion Picture Film Style, shallow depth of field, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy",
prompt_strength: 0.8,
scheduler: "KarrasDPM",
width: 1024
}
}
);
// 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=r8_TF1**********************************
This is your API token. Keep it to yourself.
import replicate
Run datacte/proteus-v0.2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"datacte/proteus-v0.2:06775cd262843edbde5abab958abdbb65a0a6b58ca301c9fd78fa55c775fc019",
input={
"apply_watermark": True,
"guidance_scale": 7.5,
"height": 1024,
"num_inference_steps": 20,
"num_outputs": 1,
"prompt": "cinematic film still of Kodak Motion Picture Film: (Sharp Detailed Image) An Oscar winning movie for Best Cinematography a woman in a kimono standing on a subway train in Japan Kodak Motion Picture Film Style, shallow depth of field, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy",
"prompt_strength": 0.8,
"scheduler": "KarrasDPM",
"width": 1024
}
)
# To access the file URL:
print(output[0].url())
#=> "http://example.com"
# To write the file to disk:
with open("my-image.png", "wb") as file:
file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_TF1**********************************
This is your API token. Keep it to yourself.
Run datacte/proteus-v0.2 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": "datacte/proteus-v0.2:06775cd262843edbde5abab958abdbb65a0a6b58ca301c9fd78fa55c775fc019",
"input": {
"apply_watermark": true,
"guidance_scale": 7.5,
"height": 1024,
"num_inference_steps": 20,
"num_outputs": 1,
"prompt": "cinematic film still of Kodak Motion Picture Film: (Sharp Detailed Image) An Oscar winning movie for Best Cinematography a woman in a kimono standing on a subway train in Japan Kodak Motion Picture Film Style, shallow depth of field, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy",
"prompt_strength": 0.8,
"scheduler": "KarrasDPM",
"width": 1024
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "ba4g7ptbfappfgry54h4pozt7m",
"model": "datacte/proteus-v0.2",
"version": "06775cd262843edbde5abab958abdbb65a0a6b58ca301c9fd78fa55c775fc019",
"input": {
"apply_watermark": true,
"guidance_scale": 7.5,
"height": 1024,
"num_inference_steps": 20,
"num_outputs": 1,
"prompt": "cinematic film still of Kodak Motion Picture Film: (Sharp Detailed Image) An Oscar winning movie for Best Cinematography a woman in a kimono standing on a subway train in Japan Kodak Motion Picture Film Style, shallow depth of field, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy",
"prompt_strength": 0.8,
"scheduler": "KarrasDPM",
"width": 1024
},
"logs": "Using seed: 2304021969\nPrompt: cinematic film still of Kodak Motion Picture Film: (Sharp Detailed Image) An Oscar winning movie for Best Cinematography a woman in a kimono standing on a subway train in Japan Kodak Motion Picture Film Style, shallow depth of field, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy\ntxt2img mode\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:03, 5.04it/s]\n 15%|█▌ | 3/20 [00:00<00:02, 6.22it/s]\n 20%|██ | 4/20 [00:00<00:02, 5.74it/s]\n 25%|██▌ | 5/20 [00:00<00:02, 5.47it/s]\n 30%|███ | 6/20 [00:01<00:02, 5.31it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 5.21it/s]\n 40%|████ | 8/20 [00:01<00:02, 5.14it/s]\n 45%|████▌ | 9/20 [00:01<00:02, 5.09it/s]\n 50%|█████ | 10/20 [00:01<00:01, 5.06it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 5.03it/s]\n 60%|██████ | 12/20 [00:02<00:01, 5.02it/s]\n 65%|██████▌ | 13/20 [00:02<00:01, 5.00it/s]\n 70%|███████ | 14/20 [00:02<00:01, 5.00it/s]\n 75%|███████▌ | 15/20 [00:02<00:01, 4.99it/s]\n 80%|████████ | 16/20 [00:03<00:00, 4.99it/s]\n 85%|████████▌ | 17/20 [00:03<00:00, 4.98it/s]\n 90%|█████████ | 18/20 [00:03<00:00, 4.98it/s]\n 95%|█████████▌| 19/20 [00:03<00:00, 4.98it/s]\n100%|██████████| 20/20 [00:03<00:00, 4.97it/s]\n100%|██████████| 20/20 [00:03<00:00, 5.12it/s]",
"output": [
"https://replicate.delivery/pbxt/1nrcrEszpsb0Kpv0qNBJrtQjoefjHJ3xSh3whVOJcklSFxPSA/out-0.png"
],
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2024-01-24T19:04:45.609539Z",
"started_at": "2024-01-24T19:04:45.617774Z",
"completed_at": "2024-01-24T19:04:51.055695Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/ba4g7ptbfappfgry54h4pozt7m/cancel",
"get": "https://api.replicate.com/v1/predictions/ba4g7ptbfappfgry54h4pozt7m"
},
"metrics": {
"predict_time": 5.437921,
"total_time": 5.446156
}
}