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}로 인증/v1/images/edits를 사용하세요.gpt-image-1, dall-e-3 및 dall-e-2는 다양한 매개변수 세트를 노출하며 이러한 차이점은 이제 위의 기본 매개변수 패널에 렌더링됩니다.url 값이 포함된 경우 해당 값을 서버 측에서 빠르게 미러링하세요. b64_json가 포함된 경우 메인 스레드에서 너무 많은 큰 이미지를 디코딩하지 마십시오.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Text prompt for the desired image.
"一只可爱的小猫在花园里玩耍,阳光明媚,油画风格"
Image generation model.
gpt-image-1, dall-e-3, dall-e-2 Only supported by gpt-image-1.
transparent, opaque, auto Only supported by gpt-image-1.
auto, low Number of images to generate. dall-e-3 only supports 1.
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, hd, standard Only applies to dall-e-2 and dall-e-3.
url, b64_json Allowed values depend on the selected model.
1024x1024, 1536x1024, 1024x1536, auto, 256x256, 512x512, 1792x1024, 1024x1792 Only supported by gpt-image-1.
Only supported by dall-e-3.
vivid, natural Unique identifier for the end user.
Successful image generation response