simpletuner/advanced-trainer

Train practically any diffusion image/video/audio model with SimpleTuner.

Public
15 runs

Run simpletuner/advanced-trainer with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
images
string
Zip or tar archive of training images. Not required if dataloader_json points to external data.
config_json
string
Training config: either a JSON string or path to config.json. Defaults to config/config.json if present.
dataloader_json
string
Multidatabackend config: either a JSON string or path to file. If not provided, auto-generated from images.
max_train_steps
integer
Override --max_train_steps for quicker Cog runs.
s3_bucket
string
S3-compatible bucket for publishing checkpoints (overrides config).
s3_region
string
S3 region (optional).
s3_endpoint_url
string
Custom S3 endpoint URL (for non-AWS providers like Backblaze B2, Cloudflare R2).
s3_base_path
string
Prefix inside the bucket (defaults to simpletuner/{job_id}).
s3_public_base_url
string
Public base URL to build shareable links (optional).
s3_access_key
string
S3 access key (leave blank to use IAM/instance roles).
s3_secret_key
string
S3 secret key (leave blank to use IAM/instance roles).
hub_model_id
string
HuggingFace Hub repo ID (e.g., 'username/my-lora') - overrides config.
hf_token
string
Hugging Face token for model downloads and Hub publishing.
lycoris_config
string
LyCORIS config: either a JSON string or path to lycoris_config.json. Required when lora_type is 'lycoris'.
return_logs
boolean
True
Print the tail of debug.log to Cog output.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output"
}