Depth to Image API — Stable Diffusion API
Generate images using depth map guidance for spatially-aware compositions.
This endpoint allows for depth to generate picture
--request POST 'https://stablediffusionapi.com/api/v5/depth2img' \
Make a POST request to https://stablediffusionapi.com/api/v5/depth2img endpoint and passinit_image as the image url and prompt as the prompt text.
Click HERE to watch a how to video.
key : Your API Key
prompt : The prompt text
init_image : link of Initial Image
Request Body
Body Raw
{
"key": "",
"init_image" : "https://d1okzptojspljx.cloudfront.net/generations/b3341a09-082e-474e-989f-72ec3f3bf7aa-0.png",
"prompt" : "make him women"
}