LoRAs

Create and train a Flux LoRA

Multipart-form request with 15-30 training images plus metadata fields. Deducts 2 credits up-front (refunded on any subsequent failure) and queues a training job. The returned id becomes the loraId you pass to flux-lora inference.

post/v2/loras

Request

  • Base URL: https://api.apiframe.ai
  • URL: https://api.apiframe.ai/v2/loras
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Response

LoRA created and training queued.

idstring uuid required
status'PENDING' required
imageCountinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.