Train a Custom Model

This endpoint will train a new custom model

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Query parameters to be provided in the request body as a JSON object

string
required

The name of the model.

string | null

The description of the model.

string
required

The ID of the dataset to train the model on.

string
required

The instance prompt to use during training.

string
enum
Defaults to GENERAL

The category the most accurately reflects the model.

boolean | null
Defaults to false

Whether or not the model is NSFW.

integer | null
Defaults to 512

The resolution for training. Must be 512 or 768.

enum

The base version of stable diffusion to use if not using a custom model. v1_5 is 1.5, v2 is 2.1, if not specified it will default to v1_5.

Allowed:
string
enum
Defaults to MEDIUM

When training using the PIXEL_ART model type, this influences the training strength.

Allowed:
Response

Language
Credentials
Bearer
auth-scheme
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json