anotherjesse
/
lora-training-t4
- Public
- 6 runs
Run anotherjesse/lora-training-t4 with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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 |
---|---|---|---|
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.
|
|
task |
string
(enum)
|
face
Options: face, object, style |
Type of LoRA model you want to train
|
seed |
integer
|
A seed for reproducible training
|
|
resolution |
integer
|
512
|
The resolution for input images. All the images in the train/validation dataset will be resized to this resolution.
|
{
"type": "object",
"title": "Input",
"required": [
"instance_data"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 2,
"description": "A seed for reproducible training"
},
"task": {
"enum": [
"face",
"object",
"style"
],
"type": "string",
"title": "task",
"description": "Type of LoRA model you want to train",
"default": "face",
"x-order": 1
},
"resolution": {
"type": "integer",
"title": "Resolution",
"default": 512,
"x-order": 3,
"description": "The resolution for input images. All the images in the train/validation dataset will be resized to this resolution."
},
"instance_data": {
"type": "string",
"title": "Instance Data",
"format": "uri",
"x-order": 0,
"description": "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."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}