cURL
curl --request POST \ --url http://localhost:4010/api/images/{id}/outpaint \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "canvasSize": [ 1000, 1000 ], "originalImageSize": [ 100, 100 ], "originalImageLocation": [ 100, -10 ] } '
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)
Canvas Size(캔버스 사이즈)
[1000, 1000]
Original Image Size(원본 이미지 사이즈)
[100, 100]
Original Image Top Left Coordinate(원본 이미지 좌측 상단 좌표)
[100, -10]
Outpainted Image(아웃페인팅된 이미지)
Upscaled Image(업스케일된 이미지)
Show child attributes
ID(아이디)
Resolution(해상도)
"512x512"
Scale(스케일)
"2x 또는 4x 또는 8x(1x는 원본 이미지)"
Owner ID(소유자 아이디)
Edit Information(편집 정보)
Original Prompt(원본 프롬프트)
Super Category Code(대분류코드)
Main Category Code(중분류코드)
Variation Original ID(배리에이션 원본 아이디)
Group ID(그룹아이디)
Blur Image Status(블러이미지 여부(블러이미지면 버튼 표시하면 안 됨))