Generative Fill(원하는 부분을 수정)
curl --request POST \
--url http://localhost:4010/api/images/{id}/fill \
--header 'Content-Type: multipart/form-data' \
--header 'X-Request-Id: <x-request-id>' \
--form prompt=prompt \
--form negative= \
--form mask=@example-file
{
"image": {
"imageId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"resolution": "512x512",
"ownerId": 123,
"etc": "<string>",
"bookmarked": false,
"base64": "<string>",
"mimeType": "image/webp",
"Bought": [],
"Bookmarks": [],
"Upscaled": [
{
"imageId": 123,
"type": "upscale",
"scaleSize": [
"1x",
"2x",
"4x",
"8x"
],
"Image": {
"DownloadLog": [
{
"userId": 123,
"imageId": 123
}
],
"CollectionInfo": {
"enabled": true
}
}
}
],
"GenerationInfo": {
"originalPrompt": "<string>",
"super": "<string>",
"main": "<string>",
"variationId": 123,
"groupId": "<string>",
"blurReason": "<string>"
}
}
}