Authorization: Bearer ********************
hd
创建具有更精细细节和更高一致性的图像。此参数仅支持dall-e-3
.256x256
、512x512
或1024x1024
for之一dall-e-2
。对于模型来说,必须是1024x1024
、1792x1024
、 或之一。1024x1792``dall-e-3
vivid
之一natural
。生动使模型倾向于生成超真实和戏剧性的图像。自然使模型生成更自然、不太真实的图像。此参数仅支持dall-e-3
.{
"model": "flux.1.1-pro",
"prompt": "a beautiful landscape with a river and mountains",
"size": "1024x1024",
"n": 1
}
curl --location --request POST '/v1/images/generations' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "flux.1.1-pro",
"prompt": "a beautiful landscape with a river and mountains",
"size": "1024x1024",
"n": 1
}'
{
"created": 1589478378,
"data": [
{
"url": "https://..."
},
{
"url": "https://..."
}
]
}