Recipes

Train LORA's

post/v2/consumer/recipes/imageResourceTraining

Request

  • The document declares no server URL.
  • Auth: none required

Query parameters

experimentalboolean
allowMatureContentboolean
whatifboolean
ephemeralboolean
tier'paid' | 'free'

How a workflow is paid for.

Request body

enginestring required
modelstring required
trainingDatastring uri required
trainingDataImagesCountinteger required

The number of images embedded in this training data. This is used to calculate the cost of training.

loraNamestring
samplePromptsstring[]
negativePromptstring nullable

An optional negative prompt that will get applied when generating samples

Response

OK

moderationStatus'evaluating' | 'underReview' | 'approved' | 'rejected' required
sampleImagesPromptsstring[] required
sampleInputImagesstring[] nullable
storedAsAssetsboolean nullable

True when the blobs are stored as (deprecated) assets, which need a different retrieval mechanism.

etanumber double nullable

Get an estimate in minutes on how long the work is expected to take

Changes