cURL
curl --request POST \ --url http://localhost:4010/api/images/{id}/fill \ --header 'Content-Type: multipart/form-data' \ --header 'X-Api-Key: <api-key>' \ --form mask='@example-file' \ --form prompt=prompt \ --form negative=
201
Example
{ "image": { "imageId": 123, "resolution": "512x512", "scaleSize": "2x 또는 4x 또는 8x(1x는 원본 이미지)", "ownerId": 123, "EditInfo": { "originalPrompt": "<string>", "super": "<string>", "main": "<string>", "variationId": 123, "groupId": "<string>", "blurReason": "<string>" } } }
Request Id for canceling edit request(취소 요청을 위한 요청 ID)
플랫폼 구분 (web, app, figma)
web
app
figma
api
Image ID(이미지 ID)
Mask Image(마스크 이미지)
Prompt(프롬프트)
Negative Prompt(부정 프롬프트)
Filled Image(물체 채워진 이미지)
Upscaled Image(업스케일된 이미지)
Show child attributes