POST
/
v1
/
tune
/
{tune_id}
/
cancel
{
  "created_at": "2023-11-07T05:31:56Z",
  "deleted_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "details": {
    "base_checkpoint": {
      "checkpoint_id": "<string>",
      "engine": "image/stable-diffusion-v1-5",
      "name": "<string>"
    },
    "files": [
      {
        "caption": "<string>",
        "file_id": "<string>"
      }
    ],
    "resize_images": true,
    "seed": 123,
    "steps": 123,
    "trigger_words": [
      "<string>"
    ],
    "tune_type": "<any>"
  },
  "id": "<string>",
  "name": "<string>",
  "output_lora_ids": [
    "<string>"
  ],
  "result": {
    "number_of_available_assets": 123,
    "output_assets": [
      "<string>"
    ],
    "rejected_assets": [
      "<string>"
    ],
    "unready_assets": [
      "<string>"
    ]
  },
  "status": "pending",
  "status_details": "<string>",
  "succeeded_at": "2023-11-07T05:31:56Z",
  "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tune_type": "lora_tune",
  "updated_at": "2023-11-07T05:31:56Z"
}

Path Parameters

tune_id
string
required

The ID of the tune to cancel.

Response

200 - application/json
created_at
string
required

The time this tune task was created.

deleted_at
string | null

The time this tune task was deleted.

description
string
required

The description of the tune.

details
object
required

Tune details.

id
string
required

The ID of the LoRA tune.

name
string
required

The name of the tune.

output_lora_ids
string[]
required

The output LoRA IDs, if the task was successful.

result
object | null

Tune result.

status
enum<string>
required

The status of the associated task.

Available options:
pending,
running,
succeeded,
cancelled,
failed
status_details
string
required

The details of the status, only used when the associated task failed.

succeeded_at
string | null

The time the tune task succeeded.

tenant_id
string
required

The tenant who requested the LoRA tune.

tune_type
enum<string>
required

The type of this tune.

Available options:
lora_tune
updated_at
string
required

The time this tune task was updated.