Initiates a new AI training job for the project's media.
PUT /v1/project/{organization_id}/{project_id}/media/train
{
"secret": "trainingSecret",
"webhook": "https://webhook.site/valid-training-hook",
"inference": {
"name": "GBV Style Album Art Inference",
"secret": "inferenceSecret",
"prompts": [
{
"name": "Imaginary GBV Album Cover",
"width": 512,
"height": 512,
"prompt": "Create an album cover in the style of Guided by Voices, embodying the band's indie rock ethos with a touch of surrealism.",
"num_images": 1,
"guidance_scale": 7.5,
"num_inference_steps": 10
}
],
"webhook": "https://webhook.site/valid-inference-hook",
"diffusers_version": "19.0"
},
"class_prompt": "Guided by Voices album covers",
"learning_rate": "1e-6",
"max_train_steps": 800,
"mixed_precision": "fp16",
"num_class_images": 200,
"num_train_epochs": 1,
"train_batch_size": 1,
"diffusers_version": "19.0",
"prior_loss_weight": 1,
"sample_batch_size": 4,
"train_text_encoder": true,
"training_resolution": 512,
"pretrained_model_name": "runwayml/stable-diffusion-v1-5",
"with_prior_preservation": true
}
No body returned for response
200