You're looking at a specific version of this model. Jump to the model overview.
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
train_lora_flux |
boolean
|
False
|
Whether to train lora flux
|
infer_lora_flux |
boolean
|
True
|
Whether to infer with lora flux
|
lora_replicate_link |
string
|
(Optional) Enter your lora replicate link for inference. In case you don't have your own, here is a test link: https://replicate.delivery/pbxt/mu6jfnIIdQWIMKpBXRX3AkRltbjmwEX7kERNInQptcSM3VIJA/output.zip
|
|
class_name |
string
|
Specify the class name (for example: man/woman/style/...).
|
|
identifier |
string
|
ohwx
|
Unique identifier for the model instance.
|
output_name |
string
|
Name of the model's output file. (for example: output_model)
|
|
instance_data |
string
|
A ZIP file containing your training images (JPG, PNG, etc. size not restricted). These images contain your 'subject' that you want the trained model to embed in the output domain for later generating customized scenes beyond the training images. For best results, use images without noise or unrelated objects in the background.
|
|
lr_scheduler |
None
|
cosine
|
The scheduler type to use. For training LoRA, use constant
|
num_repeats |
integer
|
1
|
num_repeast instance image
|
prompt |
string
|
a professional photo portrait of ohwx woman
|
Input prompt
|
negative_prompt |
string
|
nude, old, wrinkles, mole, blemish, scar, cg, 3d
|
Specify things to not see in the output
|
weight_prompting |
boolean
|
True
|
Choose if you want to use weight_prompting.
|
width |
None
|
512
|
Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
|
height |
None
|
640
|
Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
|
num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to output.
|
num_inference_steps |
integer
|
35
Min: 1 Max: 500 |
Number of denoising steps
|
guidance_scale |
number
|
7.5
Min: 1 Max: 20 |
Scale for classifier-free guidance
|
scheduler |
None
|
DPMSolverMultistep
|
Choose a scheduler.
|
seed |
integer
|
1337
|
Your seed for training script.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}