Prediction
gymdreams8/gdmjp4:396f5235ID
t6gugatb3p26c43mb6v5wxqfje
Status
Succeeded
Source
Web
Hardware
A40 (Large)
Total duration
Created
by @gymdreams8
Input
- width
- 1024
- height
- 1024
- prompt
- in the style of TOK, composition of a man with chaos, imaginative, surreal, creative, artistic, dancing, birth of a star, perfect eyes, perfect face, big feet, perfect feet, big hands, handsome face, volumetric light
- refine
- base_image_refiner
- scheduler
- KarrasDPM
- lora_scale
- 1
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- monochrome, black and white, over saturation, nsfw, signature, three men, four men, too many hands, children, kids
- prompt_strength
- 0.8
- num_inference_steps
- 50
{
"width": 1024,
"height": 1024,
"prompt": "in the style of TOK, composition of a man with chaos, imaginative, surreal, creative, artistic, dancing, birth of a star, perfect eyes, perfect face, big feet, perfect feet, big hands, handsome face, volumetric light",
"refine": "base_image_refiner",
"scheduler": "KarrasDPM",
"lora_scale": 1,
"num_outputs": 1,
"guidance_scale": 7.5,
"apply_watermark": false,
"high_noise_frac": 0.8,
"negative_prompt": "monochrome, black and white, over saturation, nsfw, signature, three men, four men, too many hands, children, kids",
"prompt_strength": 0.8,
"num_inference_steps": 50
}
Install Replicate’s Node.js client library:
npm install replicate
Set the
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run gymdreams8/gdmjp4 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"gymdreams8/gdmjp4:396f5235412e4af69d4a5899ebe5c984dc6729590b461054da05bf57ac9d66c2",
{
input: {
width: 1024,
height: 1024,
prompt: "in the style of TOK, composition of a man with chaos, imaginative, surreal, creative, artistic, dancing, birth of a star, perfect eyes, perfect face, big feet, perfect feet, big hands, handsome face, volumetric light",
refine: "base_image_refiner",
scheduler: "KarrasDPM",
lora_scale: 1,
num_outputs: 1,
guidance_scale: 7.5,
apply_watermark: false,
high_noise_frac: 0.8,
negative_prompt: "monochrome, black and white, over saturation, nsfw, signature, three men, four men, too many hands, children, kids",
prompt_strength: 0.8,
num_inference_steps: 50
}
}
);
console.log(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
Set the
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:
import replicate
Run gymdreams8/gdmjp4 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"gymdreams8/gdmjp4:396f5235412e4af69d4a5899ebe5c984dc6729590b461054da05bf57ac9d66c2",
input={
"width": 1024,
"height": 1024,
"prompt": "in the style of TOK, composition of a man with chaos, imaginative, surreal, creative, artistic, dancing, birth of a star, perfect eyes, perfect face, big feet, perfect feet, big hands, handsome face, volumetric light",
"refine": "base_image_refiner",
"scheduler": "KarrasDPM",
"lora_scale": 1,
"num_outputs": 1,
"guidance_scale": 7.5,
"apply_watermark": False,
"high_noise_frac": 0.8,
"negative_prompt": "monochrome, black and white, over saturation, nsfw, signature, three men, four men, too many hands, children, kids",
"prompt_strength": 0.8,
"num_inference_steps": 50
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
Set the
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run gymdreams8/gdmjp4 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": "396f5235412e4af69d4a5899ebe5c984dc6729590b461054da05bf57ac9d66c2",
"input": {
"width": 1024,
"height": 1024,
"prompt": "in the style of TOK, composition of a man with chaos, imaginative, surreal, creative, artistic, dancing, birth of a star, perfect eyes, perfect face, big feet, perfect feet, big hands, handsome face, volumetric light",
"refine": "base_image_refiner",
"scheduler": "KarrasDPM",
"lora_scale": 1,
"num_outputs": 1,
"guidance_scale": 7.5,
"apply_watermark": false,
"high_noise_frac": 0.8,
"negative_prompt": "monochrome, black and white, over saturation, nsfw, signature, three men, four men, too many hands, children, kids",
"prompt_strength": 0.8,
"num_inference_steps": 50
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{
"completed_at": "2023-09-24T06:06:09.947302Z",
"created_at": "2023-09-24T06:05:51.810138Z",
"data_removed": false,
"error": null,
"id": "t6gugatb3p26c43mb6v5wxqfje",
"input": {
"width": 1024,
"height": 1024,
"prompt": "in the style of TOK, composition of a man with chaos, imaginative, surreal, creative, artistic, dancing, birth of a star, perfect eyes, perfect face, big feet, perfect feet, big hands, handsome face, volumetric light",
"refine": "base_image_refiner",
"scheduler": "KarrasDPM",
"lora_scale": 1,
"num_outputs": 1,
"guidance_scale": 7.5,
"apply_watermark": false,
"high_noise_frac": 0.8,
"negative_prompt": "monochrome, black and white, over saturation, nsfw, signature, three men, four men, too many hands, children, kids",
"prompt_strength": 0.8,
"num_inference_steps": 50
},
"logs": null,
"metrics": {
"predict_time": 18.179802,
"total_time": 18.137164
},
"output": [
"https://replicate.delivery/pbxt/F5wWQhCN474xDtHR5yXJA1bTBfXBSzjRuPrYZiXfIcBRPYnRA/out-0.png"
],
"started_at": "2023-09-24T06:05:51.767500Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/t6gugatb3p26c43mb6v5wxqfje",
"cancel": "https://api.replicate.com/v1/predictions/t6gugatb3p26c43mb6v5wxqfje/cancel"
},
"version": "396f5235412e4af69d4a5899ebe5c984dc6729590b461054da05bf57ac9d66c2"
}
Generated in