Perform inpainting on a LCM image
Develop Env
https://dev.your-api-server.com
Develop Env
https://dev.your-api-server.com
POST
/api/rest/v1/lcm-inpainting
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev.your-api-server.com/api/rest/v1/lcm-inpainting' \
--header 'content-type: application/json' \
--data-raw '{
"width": 512,
"height": 512
}'
Response Response Example
{
"lcmGenerationJob": {
"imageDataUrl": [
"string"
],
"requestTimestamp": "string",
"apiCreditCost": 0
}
}
Request
Header Params
content-type
string
required
Example:
application/json
Body Params application/json
Responses
Modified at 2024-07-29 08:14:14