Readme
This model doesn't have a readme.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run prompthunt/kohya 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": "prompthunt/kohya:f5f1122a02e0260aada7e9c274ce1befab036b688304cb711456e191a6f054c7",
"input": {
"seed": 1234,
"width": 768,
"height": 1024,
"prompt": "a TOK man in preppy style, old money aesthetic, posh style, elite school stlye, luxurious style, gossip girl neo-prep style, ralph lauren style, country club style, ivy league style",
"weights": "https://replicate.delivery/pbxt/cv7B5U7T4G4kFN8eXIg7F8FRfbC54hIWyeizfNuH9lcBevtOC/trained_model.tar",
"scheduler": "K_EULER",
"lora_scale": 0.4,
"upscale_by": 1.5,
"num_outputs": 1,
"guidance_scale": 9,
"inpaint_prompt": "closeup of TOK man, natural skin, skin moles, 37 y o caucasian",
"upscale_prompt": "closeup of TOK man, natural skin, skin moles, 37 y o caucasian",
"negative_prompt": "plastic, blurry, grainy, [deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry",
"prompt_strength": 0.8,
"inpaint_strength": 0.35,
"mask_blur_amount": 8,
"upscale_strength": 0.35,
"num_inference_steps": 25,
"inpaint_guidance_scale": 9,
"upscale_guidance_scale": 9,
"inpaint_negative_prompt": "plastic, blurry, grainy, [deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry",
"upscale_negative_prompt": "plastic, blurry, grainy, [deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry",
"inpaint_num_inference_steps": 25,
"upscale_num_inference_steps": 25,
"controlnet_conditioning_scale": 0.6
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
No output yet! Press "Submit" to start a prediction.
This model runs on Nvidia A100 (80GB) GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.