Stable Diffusion V3 APIs Creating Dreambooth Request API generate image from stable diffusion. Pass the appropriate request parameter to the endpoint
--request POST 'https://stablediffusionapi.com/api/sandbox/v3/fine_tune' \
Make a POST
request to https://stablediffusionapi.com/api/sandbox/v3/fine_tune
endpoint while passing appropriate request body. Below is a sample of the request body
key : Your API Key
instance_prompt : name of the image
mask_image : link of mask image for inpainting
seed : Number of seed
training_type : training type
webhook : webhook to call when image generation is completed
{
"key": "",
"instance_prompt": "photo of adhik person",
"class_prompt" : "photo of person",
"images": [
"https://stablediffusionapi.com/storage/avatars/AdhikJoshi_00001.png",
"https://stablediffusionapi.com/storage/avatars/AdhikJoshi_00002.png",
"https://stablediffusionapi.com/storage/avatars/AdhikJoshi_00003.png",
"https://stablediffusionapi.com/storage/avatars/AdhikJoshi_00004.png",
"https://stablediffusionapi.com/storage/avatars/AdhikJoshi_00005.png",
"https://stablediffusionapi.com/storage/avatars/AdhikJoshi_00006.png",
"https://stablediffusionapi.com/storage/avatars/AdhikJoshi_00007.png"
],
"seed": "0",
"training_type": "men",
"max_train_steps": "2000",
"webhook": ""
}
{
"status": "success",
"messege": "deploying_gpu",
"data": "it will take upto 25 minutes.",
"training_id": "F5jvdzGnYi"
}