GPT-Image-1.5

供应商: OpenAI

图像

适合透明背景、贴纸和自然语言图片编辑

典型耗时
10-30s
参考输入
最多 4 个
toolId
gpt-image-1-5

输入模式

text-to-imageimage-to-image

参数

参数类型默认值取值说明
image_sizeselect1024x1024auto | 1024x1024 | 1536x1024 | 1024x1536Output size in pixels; Auto lets the model pick and settles onto the measured size.
qualityselectlowauto | low | medium | highRendering quality tier; higher tiers cost more. Auto lets the model choose and settles onto the rendered tier.
backgroundselectautoauto | transparent | opaqueTransparent renders a PNG with no background; Auto lets the model decide.
num_imagesselect11 | 2 | 3 | 4How many variations to generate in one run. More images cost more; re-quote after changing.
output_formatselectpngpng | jpegFile format for the result. PNG keeps transparency; JPEG is smaller.
input_fidelityselecthighlow | highHow strictly the result follows the uploaded reference.

定价

价格即将公布 —— 联系我们获取抢先体验价格

价格更新于: —

API 示例

POST /v1/generations — gpt-image-1-5
curl -X POST https://api.mukelabs.com/v1/generations \
  -H "Authorization: Bearer $MUKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "toolId": "gpt-image-1-5",
    "inputMode": "text-to-image",
    "prompt": "your prompt here",
    "params": { "image_size": "auto" },
    "references": [],
    "idempotencyKey": "a-unique-key-per-task",
    "subjectId": "your-user-id"
  }'

常见问题

如何在 Muke Labs 上调用 GPT-Image-1.5?
提交 POST /v1/generations,toolId 为 "gpt-image-1-5",选择一种输入模式(text-to-image, image-to-image),然后轮询 GET /v1/generations/{jobId} 获取结果。
GPT-Image-1.5 的价格是多少?
该模型的公开定价正在敲定 —— 联系我们获取抢先体验价格。所有任务均从预充值美元余额扣费,失败任务自动退款。
任务失败会怎样?
任务返回 "failed" 状态和类型化错误码,费用自动退回余额。
在哪里获取 API key?
在开发者门户(https://portal.muke.name)创建,然后作为 Bearer token 携带在每个请求上。

相关模型