ApiframeApiframe Docs
AI Photos (LoRAs)

Get LoRA

Look up a single LoRA by id — use this to poll training status.

GET /v2/loras/:id

Returns the same shape as the list endpoint. While a training is in flight (PENDING | UPLOADING | TRAINING), poll this every 10–30 seconds (or set a webhookUrl at create time and skip the polling entirely).

Status lifecycle

StatusMeaning
PENDINGJob queued, not yet picked up by a worker.
UPLOADINGWorker is captioning images and uploading the dataset zip.
TRAININGTraining in progress. Typical duration ~15–25 min.
READYTraining succeeded. The LoRA is now usable with AI Photos generations.
FAILEDTraining failed. The 255cr training fee has been refunded; the 2cr create fee is also refunded if the failure happened before training started. The error field carries the message.
ARCHIVEDSoft-deleted via DELETE /v2/loras/:id. Hidden from listings unless you pass includeArchived=true.

Errors

CodeWhen
400Invalid LoRA id format.
404LoRA doesn't exist or doesn't belong to your team.

On this page