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