default3 fish in a fish tank wearing adorable outfits, best quality, hd
typetext
{
"apply_watermark": true,
"guidance_scale": 2,
"height": 1024,
"negative_prompt": "nsfw, bad quality, bad anatomy, worst quality, low quality, low resolutions, extra fingers, blur, blurry, ugly, wrongs proportions, watermark, image artifacts, lowres, ugly, jpeg artifacts, deformed, noisy image",
"num_inference_steps": 8,
"num_outputs": 1,
"prompt": "(impressionistic realism by csybgh), a 50 something male, working in banking, very short dyed dark curly balding hair, Afro-Asiatic ancestry, talks a lot but listens poorly, stuck in the past, wearing a suit, he has a certain charm, bronze skintone, sitting in a bar at night, he is smoking and feeling cool, drunk on plum wine, masterpiece, 8k, hyper detailed, smokey ambiance, perfect hands AND fingers",
"prompt_strength": 0.8,
"scheduler": "K_EULER_ANCESTRAL",
"width": 1024
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_1OB**********************************
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.4-lightning 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.4-lightning:21464a198e9baa3b583f93d8daaaa9e851b91ae1e32accb96ce5081a18a2d87c",
{
input: {
apply_watermark: true,
guidance_scale: 2,
height: 1024,
negative_prompt: "nsfw, bad quality, bad anatomy, worst quality, low quality, low resolutions, extra fingers, blur, blurry, ugly, wrongs proportions, watermark, image artifacts, lowres, ugly, jpeg artifacts, deformed, noisy image",
num_inference_steps: 8,
num_outputs: 1,
prompt: "(impressionistic realism by csybgh), a 50 something male, working in banking, very short dyed dark curly balding hair, Afro-Asiatic ancestry, talks a lot but listens poorly, stuck in the past, wearing a suit, he has a certain charm, bronze skintone, sitting in a bar at night, he is smoking and feeling cool, drunk on plum wine, masterpiece, 8k, hyper detailed, smokey ambiance, perfect hands AND fingers",
prompt_strength: 0.8,
scheduler: "K_EULER_ANCESTRAL",
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_1OB**********************************
This is your API token. Keep it to yourself.
import replicate
Run datacte/proteus-v0.4-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"datacte/proteus-v0.4-lightning:21464a198e9baa3b583f93d8daaaa9e851b91ae1e32accb96ce5081a18a2d87c",
input={
"apply_watermark": True,
"guidance_scale": 2,
"height": 1024,
"negative_prompt": "nsfw, bad quality, bad anatomy, worst quality, low quality, low resolutions, extra fingers, blur, blurry, ugly, wrongs proportions, watermark, image artifacts, lowres, ugly, jpeg artifacts, deformed, noisy image",
"num_inference_steps": 8,
"num_outputs": 1,
"prompt": "(impressionistic realism by csybgh), a 50 something male, working in banking, very short dyed dark curly balding hair, Afro-Asiatic ancestry, talks a lot but listens poorly, stuck in the past, wearing a suit, he has a certain charm, bronze skintone, sitting in a bar at night, he is smoking and feeling cool, drunk on plum wine, masterpiece, 8k, hyper detailed, smokey ambiance, perfect hands AND fingers",
"prompt_strength": 0.8,
"scheduler": "K_EULER_ANCESTRAL",
"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_1OB**********************************
This is your API token. Keep it to yourself.
Run datacte/proteus-v0.4-lightning 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.4-lightning:21464a198e9baa3b583f93d8daaaa9e851b91ae1e32accb96ce5081a18a2d87c",
"input": {
"apply_watermark": true,
"guidance_scale": 2,
"height": 1024,
"negative_prompt": "nsfw, bad quality, bad anatomy, worst quality, low quality, low resolutions, extra fingers, blur, blurry, ugly, wrongs proportions, watermark, image artifacts, lowres, ugly, jpeg artifacts, deformed, noisy image",
"num_inference_steps": 8,
"num_outputs": 1,
"prompt": "(impressionistic realism by csybgh), a 50 something male, working in banking, very short dyed dark curly balding hair, Afro-Asiatic ancestry, talks a lot but listens poorly, stuck in the past, wearing a suit, he has a certain charm, bronze skintone, sitting in a bar at night, he is smoking and feeling cool, drunk on plum wine, masterpiece, 8k, hyper detailed, smokey ambiance, perfect hands AND fingers",
"prompt_strength": 0.8,
"scheduler": "K_EULER_ANCESTRAL",
"width": 1024
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "lruxxhlbzkhpuc4n4wjj2bon7a",
"model": "datacte/proteus-v0.4-lightning",
"version": "21464a198e9baa3b583f93d8daaaa9e851b91ae1e32accb96ce5081a18a2d87c",
"input": {
"apply_watermark": true,
"guidance_scale": 2,
"height": 1024,
"negative_prompt": "nsfw, bad quality, bad anatomy, worst quality, low quality, low resolutions, extra fingers, blur, blurry, ugly, wrongs proportions, watermark, image artifacts, lowres, ugly, jpeg artifacts, deformed, noisy image",
"num_inference_steps": 8,
"num_outputs": 1,
"prompt": "(impressionistic realism by csybgh), a 50 something male, working in banking, very short dyed dark curly balding hair, Afro-Asiatic ancestry, talks a lot but listens poorly, stuck in the past, wearing a suit, he has a certain charm, bronze skintone, sitting in a bar at night, he is smoking and feeling cool, drunk on plum wine, masterpiece, 8k, hyper detailed, smokey ambiance, perfect hands AND fingers",
"prompt_strength": 0.8,
"scheduler": "K_EULER_ANCESTRAL",
"width": 1024
},
"logs": "Using seed: 2800579818\nPrompt: (impressionistic realism by csybgh), a 50 something male, working in banking, very short dyed dark curly balding hair, Afro-Asiatic ancestry, talks a lot but listens poorly, stuck in the past, wearing a suit, he has a certain charm, bronze skintone, sitting in a bar at night, he is smoking and feeling cool, drunk on plum wine, masterpiece, 8k, hyper detailed, smokey ambiance, perfect hands AND fingers\ntxt2img mode\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['feeling cool, drunk on plum wine, masterpiece, 8 k, hyper detailed, smokey ambiance, perfect hands and fingers']\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['feeling cool, drunk on plum wine, masterpiece, 8 k, hyper detailed, smokey ambiance, perfect hands and fingers']\n 0%| | 0/8 [00:00<?, ?it/s]\n 25%|██▌ | 2/8 [00:00<00:00, 6.75it/s]\n 38%|███▊ | 3/8 [00:00<00:00, 5.86it/s]\n 50%|█████ | 4/8 [00:00<00:00, 5.51it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 5.30it/s]\n 75%|███████▌ | 6/8 [00:01<00:00, 5.18it/s]\n 88%|████████▊ | 7/8 [00:01<00:00, 5.11it/s]\n100%|██████████| 8/8 [00:01<00:00, 5.07it/s]\n100%|██████████| 8/8 [00:01<00:00, 5.32it/s]",
"output": [
"https://replicate.delivery/pbxt/ieIFdAkblOVhJKC5mf0NoHIFR3xeSvDZck52u3WXxsKzwoykA/out-0.png"
],
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2024-02-22T18:36:07.273411Z",
"started_at": "2024-02-22T18:36:07.300504Z",
"completed_at": "2024-02-22T18:36:09.957866Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/lruxxhlbzkhpuc4n4wjj2bon7a/cancel",
"get": "https://api.replicate.com/v1/predictions/lruxxhlbzkhpuc4n4wjj2bon7a"
},
"metrics": {
"predict_time": 2.657362,
"total_time": 2.684455
}
}