Train LORA

HTTP request

POST /ai/create_lora_trainner_task

Authorization

Include your TOKEN in HTTP Authorization header

Authorization: Bearer Token

Parameter

KEY
TYPE
VALUE

prompt

String

Value of text finetune.

images

List

List of input image for finetune LORA.

Parrot API:

resp = parrot.create_lora_trainer_task(
    "A beautiful sunset over the ocean", 
    images=images
)

Response

Returns the task ID.

{
"task_id": "570ecc58fa6c44baa1d08fd08a249d57"
}

Last updated

Was this helpful?