v4
latestOpenAPI 3.0.22026-08-02109239415.7 KBmodels
Train a custom Ideogram v4 model with advanced hyperparameters
Start training a custom Ideogram v4 model from a dataset with caller-supplied hyperparameters (training steps, LoRA rank, EMA decay, learning rate). All hyperparameters are optional and fall back to defaults when omitted. The dataset must contain at least 15 images and a maximum of 100 images. Returns the model ID and training status.
post/v1/ideogram-v4/train-model-advanced
Request body
Example request
{
"batch_size": 8,
"wandb_project": "my-wandb-project",
"model_name": "my-custom-model",
"lora_rank": 64,
"dataset_id": "abc123",
"ema": 0.999,
"training_steps": 1000,
"learning_rate": 0.0001
}Response
Training started successfully
Example response
{
"training_status": "training_status",
"model_name": "model_name",
"dataset_id": "dataset_id",
"model_id": "model_id"
}