Run suryakantk94/whiteclaw-db using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"suryakantk94/whiteclaw-db:d6659251793b795fca3f80006f36005859c73fdc9d1b112a432a120b1b0ad311",
{
input: {
width: 512,
height: 512,
prompt: "a photo of a person sitting with a TOK can in his hands in a football stadium. there is a display of different flavors of can in the bottom right side of the picture.",
scheduler: "DDIM",
num_outputs: 1,
guidance_scale: 7.5,
prompt_strength: 0.8,
num_inference_steps: 50,
disable_safety_check: false
}
}
);
// 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]);
Run suryakantk94/whiteclaw-db using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"suryakantk94/whiteclaw-db:d6659251793b795fca3f80006f36005859c73fdc9d1b112a432a120b1b0ad311",
input={
"width": 512,
"height": 512,
"prompt": "a photo of a person sitting with a TOK can in his hands in a football stadium. there is a display of different flavors of can in the bottom right side of the picture.",
"scheduler": "DDIM",
"num_outputs": 1,
"guidance_scale": 7.5,
"prompt_strength": 0.8,
"num_inference_steps": 50,
"disable_safety_check": False
}
)
print(output)
Run suryakantk94/whiteclaw-db 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": "suryakantk94/whiteclaw-db:d6659251793b795fca3f80006f36005859c73fdc9d1b112a432a120b1b0ad311",
"input": {
"width": 512,
"height": 512,
"prompt": "a photo of a person sitting with a TOK can in his hands in a football stadium. there is a display of different flavors of can in the bottom right side of the picture.",
"scheduler": "DDIM",
"num_outputs": 1,
"guidance_scale": 7.5,
"prompt_strength": 0.8,
"num_inference_steps": 50,
"disable_safety_check": false
}
}' \
https://api.replicate.com/v1/predictions