Flux 作成(OpenAI dall-e-3 形式)
Authorizations
bearer
Type
HTTP (bearer)
Request Body
application/json
model
string
画像生成に使用するモデル。
prompt
string
Required
生成する画像のテキスト説明。最大長は1000文字です。
n
integer
生成する画像の数。1から10の間で指定してください。
size
string
生成する画像のサイズ。256x256、512x512、または1024x1024である必要があります。
quality
string
生成する画像の品質。hdはより細かいディテールを持つ画像を作成します。dall-e-3でのみサポートされています。
response_format
string
生成された画像の返却形式。urlまたはb64_jsonである必要があります。
style
string
スタイル。
user
string
エンドユーザーを表す一意の識別子。
aspect_ratio
string
Required
画像の比率。列挙値:21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21
Responses
成功
application/json
object
created
integer
data
object[]