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
}General APIs
Automatically Buy Lora Model
Allows you to buy a Lora model automatically
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 aPOST 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
Was this page helpful?
⌘I

