图像OpenAI新增

GPT Image 2.5 Sunburst

用于生产就绪宣传工作的高级GPT Image 2.5

model: "gpt-image-2-5-sunburst"

API 文档代理文档

模式

一个模型ID,支持下列所有模式。您发送的字段决定模式,价格随模式而定。

模式选择方式典型价格
文本生成图像prompt
请求示例
{
  "model": "gpt-image-2-5-sunburst",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.052
图像编辑image_url
请求示例
{
  "model": "gpt-image-2-5-sunburst",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.088

输入

必需

Prompt

可选

Image Size

可选
1

Number of Images

可选

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

可选

More source images (https URLs), for edits that combine several images. image_url, if sent, is the first.

可选

Background

高级选项 (2)

主要控件之外的提供商设置。保持为空可使用模型的默认值。

可选
-

Compression level of the output file.

可选

File format of the result.

结果

GPT Image 2.5 Sunburst示例输出

该模型的真实结果。运行它可在此处查看您的输出。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-image-2-5-sunburst",
  "input": {
    "prompt": "High angle looking down on a model standing on polished concrete in a sculptural ivory wool coat, arms at her sides, the hem spreading into a wide circle, a ring of blush and bone silk swatches arranged around her, soft north light, portrait orientation, polished fashion editorial photography."
  }
}'
GPT Image 2.5 Sunburst 1GPT Image 2.5 Sunburst 2GPT Image 2.5 Sunburst 3GPT Image 2.5 Sunburst 4GPT Image 2.5 Sunburst 5GPT Image 2.5 Sunburst 6