OpenAI 호환 이미지 편집 모델을 사용하여 이미지를 편집하거나 인페인트합니다.
이미지 편집, 인페인팅 및 소스 이미지 변환에 이 끝점을 사용합니다.Documentation Index
Fetch the complete documentation index at: https://docs.apigo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer {API_KEY}로 인증multipart/form-data를 사용합니다.image 및 prompt이며, mask는 편집 가능한 영역을 좁힙니다.gpt-image-1 및 dall-e-2는 파일 크기 제한, 다중 이미지 지원 및 input_fidelity에서 실질적으로 다릅니다.url 값이 포함되어 있으면 신속하게 미러링하세요. b64_json가 포함된 경우 메인 스레드에서 너무 많은 큰 이미지를 디코딩하지 마십시오.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Input image or images to edit.
Text instruction describing the desired edit.
"在图片中添加一朵红色的玫瑰花"
Only supported by gpt-image-1.
transparent, opaque, auto Only supported by gpt-image-1.
high, low Optional PNG mask file. Usually must match the image dimensions.
Image editing model.
gpt-image-1, dall-e-2 Number of edited images to generate.
1 <= x <= 10Compression level for gpt-image-1 jpeg/webp output.
0 <= x <= 100Only supported by gpt-image-1.
png, jpeg, webp Number of partial images for streaming previews.
0 <= x <= 3Supported values vary by model.
auto, high, medium, low, standard Only applies to dall-e-2.
url, b64_json Allowed values depend on the selected model.
1024x1024, 1536x1024, 1024x1536, auto, 256x256, 512x512 Streams edited image output when supported.
Unique identifier for the end user.
Successful image edit response