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,
"negative_prompt": "worst quality, low quality",
"num_inference_steps": 60,
"num_outputs": 1,
"prompt": "John Berkey Style page,ral-oilspill, There is no road ahead,no land, Strangely,the river is still flowing,crossing the void into the mysterious unknown, The end of nothingness,a huge ripple,it is a kind of wave,and it is the law of time that lasts forever in that void, At the end of the infinite void,there is a colorful world,very hazy and mysterious,and it cannot be seen clearly,but it is real, And that's where the river goes",
"prompt_strength": 0.8,
"scheduler": "KarrasDPM",
"width": 1024
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_LDi**********************************
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 lucataco/open-dalle-v1.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"lucataco/open-dalle-v1.1:1c7d4c8dec39c7306df7794b28419078cb9d18b9213ab1c21fdc46a1deca0144",
{
input: {
apply_watermark: true,
guidance_scale: 7.5,
height: 1024,
negative_prompt: "worst quality, low quality",
num_inference_steps: 60,
num_outputs: 1,
prompt: "John Berkey Style page,ral-oilspill, There is no road ahead,no land, Strangely,the river is still flowing,crossing the void into the mysterious unknown, The end of nothingness,a huge ripple,it is a kind of wave,and it is the law of time that lasts forever in that void, At the end of the infinite void,there is a colorful world,very hazy and mysterious,and it cannot be seen clearly,but it is real, And that's where the river goes",
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_LDi**********************************
This is your API token. Keep it to yourself.
import replicate
Run lucataco/open-dalle-v1.1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"lucataco/open-dalle-v1.1:1c7d4c8dec39c7306df7794b28419078cb9d18b9213ab1c21fdc46a1deca0144",
input={
"apply_watermark": True,
"guidance_scale": 7.5,
"height": 1024,
"negative_prompt": "worst quality, low quality",
"num_inference_steps": 60,
"num_outputs": 1,
"prompt": "John Berkey Style page,ral-oilspill, There is no road ahead,no land, Strangely,the river is still flowing,crossing the void into the mysterious unknown, The end of nothingness,a huge ripple,it is a kind of wave,and it is the law of time that lasts forever in that void, At the end of the infinite void,there is a colorful world,very hazy and mysterious,and it cannot be seen clearly,but it is real, And that's where the river goes",
"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_LDi**********************************
This is your API token. Keep it to yourself.
Run lucataco/open-dalle-v1.1 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": "lucataco/open-dalle-v1.1:1c7d4c8dec39c7306df7794b28419078cb9d18b9213ab1c21fdc46a1deca0144",
"input": {
"apply_watermark": true,
"guidance_scale": 7.5,
"height": 1024,
"negative_prompt": "worst quality, low quality",
"num_inference_steps": 60,
"num_outputs": 1,
"prompt": "John Berkey Style page,ral-oilspill, There is no road ahead,no land, Strangely,the river is still flowing,crossing the void into the mysterious unknown, The end of nothingness,a huge ripple,it is a kind of wave,and it is the law of time that lasts forever in that void, At the end of the infinite void,there is a colorful world,very hazy and mysterious,and it cannot be seen clearly,but it is real, And that\'s where the river goes",
"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": "7i2lcidb4axeciiyr4wmyqax24",
"model": "lucataco/open-dalle-v1.1",
"version": "1c7d4c8dec39c7306df7794b28419078cb9d18b9213ab1c21fdc46a1deca0144",
"input": {
"apply_watermark": true,
"guidance_scale": 7.5,
"height": 1024,
"negative_prompt": "worst quality, low quality",
"num_inference_steps": 60,
"num_outputs": 1,
"prompt": "John Berkey Style page,ral-oilspill, There is no road ahead,no land, Strangely,the river is still flowing,crossing the void into the mysterious unknown, The end of nothingness,a huge ripple,it is a kind of wave,and it is the law of time that lasts forever in that void, At the end of the infinite void,there is a colorful world,very hazy and mysterious,and it cannot be seen clearly,but it is real, And that's where the river goes",
"prompt_strength": 0.8,
"scheduler": "KarrasDPM",
"width": 1024
},
"logs": "Using seed: 1508301455\nPrompt: John Berkey Style page,ral-oilspill, There is no road ahead,no land, Strangely,the river is still flowing,crossing the void into the mysterious unknown, The end of nothingness,a huge ripple,it is a kind of wave,and it is the law of time that lasts forever in that void, At the end of the infinite void,there is a colorful world,very hazy and mysterious,and it cannot be seen clearly,but it is real, And that's where the river goes\ntxt2img mode\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [\"there is a colorful world, very hazy and mysterious, and it cannot be seen clearly, but it is real, and that's where the river goes\"]\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [\"there is a colorful world, very hazy and mysterious, and it cannot be seen clearly, but it is real, and that's where the river goes\"]\n 0%| | 0/60 [00:00<?, ?it/s]\n 2%|▏ | 1/60 [00:00<00:11, 4.92it/s]\n 5%|▌ | 3/60 [00:00<00:09, 6.09it/s]\n 7%|▋ | 4/60 [00:00<00:09, 5.62it/s]\n 8%|▊ | 5/60 [00:00<00:10, 5.36it/s]\n 10%|█ | 6/60 [00:01<00:10, 5.20it/s]\n 12%|█▏ | 7/60 [00:01<00:10, 5.10it/s]\n 13%|█▎ | 8/60 [00:01<00:10, 5.03it/s]\n 15%|█▌ | 9/60 [00:01<00:10, 4.99it/s]\n 17%|█▋ | 10/60 [00:01<00:10, 4.96it/s]\n 18%|█▊ | 11/60 [00:02<00:09, 4.94it/s]\n 20%|██ | 12/60 [00:02<00:09, 4.93it/s]\n 22%|██▏ | 13/60 [00:02<00:09, 4.92it/s]\n 23%|██▎ | 14/60 [00:02<00:09, 4.91it/s]\n 25%|██▌ | 15/60 [00:02<00:09, 4.90it/s]\n 27%|██▋ | 16/60 [00:03<00:08, 4.90it/s]\n 28%|██▊ | 17/60 [00:03<00:08, 4.90it/s]\n 30%|███ | 18/60 [00:03<00:08, 4.90it/s]\n 32%|███▏ | 19/60 [00:03<00:08, 4.89it/s]\n 33%|███▎ | 20/60 [00:03<00:08, 4.89it/s]\n 35%|███▌ | 21/60 [00:04<00:07, 4.89it/s]\n 37%|███▋ | 22/60 [00:04<00:07, 4.88it/s]\n 38%|███▊ | 23/60 [00:04<00:07, 4.89it/s]\n 40%|████ | 24/60 [00:04<00:07, 4.89it/s]\n 42%|████▏ | 25/60 [00:05<00:07, 4.89it/s]\n 43%|████▎ | 26/60 [00:05<00:06, 4.88it/s]\n 45%|████▌ | 27/60 [00:05<00:06, 4.88it/s]\n 47%|████▋ | 28/60 [00:05<00:06, 4.88it/s]\n 48%|████▊ | 29/60 [00:05<00:06, 4.88it/s]\n 50%|█████ | 30/60 [00:06<00:06, 4.88it/s]\n 52%|█████▏ | 31/60 [00:06<00:05, 4.88it/s]\n 53%|█████▎ | 32/60 [00:06<00:05, 4.88it/s]\n 55%|█████▌ | 33/60 [00:06<00:05, 4.88it/s]\n 57%|█████▋ | 34/60 [00:06<00:05, 4.88it/s]\n 58%|█████▊ | 35/60 [00:07<00:05, 4.87it/s]\n 60%|██████ | 36/60 [00:07<00:04, 4.88it/s]\n 62%|██████▏ | 37/60 [00:07<00:04, 4.87it/s]\n 63%|██████▎ | 38/60 [00:07<00:04, 4.88it/s]\n 65%|██████▌ | 39/60 [00:07<00:04, 4.88it/s]\n 67%|██████▋ | 40/60 [00:08<00:04, 4.88it/s]\n 68%|██████▊ | 41/60 [00:08<00:03, 4.88it/s]\n 70%|███████ | 42/60 [00:08<00:03, 4.87it/s]\n 72%|███████▏ | 43/60 [00:08<00:03, 4.87it/s]\n 73%|███████▎ | 44/60 [00:08<00:03, 4.87it/s]\n 75%|███████▌ | 45/60 [00:09<00:03, 4.87it/s]\n 77%|███████▋ | 46/60 [00:09<00:02, 4.88it/s]\n 78%|███████▊ | 47/60 [00:09<00:02, 4.87it/s]\n 80%|████████ | 48/60 [00:09<00:02, 4.87it/s]\n 82%|████████▏ | 49/60 [00:09<00:02, 4.87it/s]\n 83%|████████▎ | 50/60 [00:10<00:02, 4.87it/s]\n 85%|████████▌ | 51/60 [00:10<00:01, 4.87it/s]\n 87%|████████▋ | 52/60 [00:10<00:01, 4.86it/s]\n 88%|████████▊ | 53/60 [00:10<00:01, 4.87it/s]\n 90%|█████████ | 54/60 [00:10<00:01, 4.87it/s]\n 92%|█████████▏| 55/60 [00:11<00:01, 4.87it/s]\n 93%|█████████▎| 56/60 [00:11<00:00, 4.87it/s]\n 95%|█████████▌| 57/60 [00:11<00:00, 4.86it/s]\n 97%|█████████▋| 58/60 [00:11<00:00, 4.86it/s]\n 98%|█████████▊| 59/60 [00:11<00:00, 4.86it/s]\n100%|██████████| 60/60 [00:12<00:00, 4.87it/s]\n100%|██████████| 60/60 [00:12<00:00, 4.92it/s]",
"output": [
"https://replicate.delivery/pbxt/sxYlUIIf59zYaSz6kqCwfUBJGusZkXPMQ67f1eD6eNua49yQC/out-0.png"
],
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2023-12-27T06:52:38.218482Z",
"started_at": "2023-12-27T06:52:38.254508Z",
"completed_at": "2023-12-27T06:52:52.515745Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/7i2lcidb4axeciiyr4wmyqax24/cancel",
"get": "https://api.replicate.com/v1/predictions/7i2lcidb4axeciiyr4wmyqax24"
},
"metrics": {
"predict_time": 14.261237,
"total_time": 14.297263
}
}