/models

Create a new model

Query Params
string

If set to true, returns the original asset without transformation

Body Params
concepts
array of objects

The concepts is required for composition models. With one or more loras

Only applicable to Flux based models (and older SD1.5 and SDXL models)

concepts
collectionIds
array of strings

List of collection IDs to add the model to

collectionIds
string

The slug of the class you want to use (ex: "characters-npcs-mobs-characters"). Set to null to unset the class

string
length ≤ 64

The model's name (ex: "Cinematic Realism").

If not set, the model's name will be automatically generated when starting training based on training data.

string
length ≤ 256

The model's short description (ex: "This model generates highly detailed cinematic scenes.").

If not set, the model's short description will be automatically generated when starting training based on training data.

string

The ID of the base model to use as a starting point for the training (example: "flux.1-dev")

Value is automatically set based on the model's type. In case of doubt leave it empty.

string
enum

The model's type (ex: "flux.1-lora").

The type can only be changed if the model has the "new" status.

Response

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json