Skip to main content
POST
/
dreambooth
/
buy_model
Buy Lora model
curl --request POST \
  --url https://modelslab.com/api/v3/dreambooth/buy_model \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>",
  "quantity": "<string>"
}'
{
  "status": "success",
  "messege": "Payment was charged successfully",
  "purchased_models": 123,
  "used_models": 123,
  "available_models": 123
}

Request

Send a POST request to below endpoint and pass the quantity of the models you want to buy in the request body.
curl
--request POST 'https://modelslab.com/api/v3/dreambooth/buy_model' \

Body

json
{  
  "key": "your_api_key",  
  "quantity": ""
}

Body

application/json
key
string
required

Your API Key used for request authorization

quantity
string
required

The number of models you want to buy

Response

Buy model response

status
enum<string>
Available options:
success
messege
string
Example:

"Payment was charged successfully"

purchased_models
integer

Number of models purchased

used_models
integer

Number of models used

available_models
integer

Number of available models

I