基于参考图进行图像编辑 / 图生图 / 局部重绘(mask inpainting),使用 gpt-image-1.5-official 模型
Documentation Index
Fetch the complete documentation index at: https://docs.toapis.com/llms.txt
Use this file to discover all available pages before exploring further.
/v1/images/generationsimage_urls 即自动切换为编辑模式image_urls(和可选的 mask_url)即可,无需切换端点。gpt-image-1.5-official"把背景换成星空,保持主体人物不变"auto:1:1 · 3:2 · 2:3 · 4:3 · 3:4 · 5:4 · 4:5 · 16:9 · 9:16 · 2:1 · 1:2 · 21:9 · 9:211k / 2k / 4k4K 仅支持 6 个比例(16:9 / 9:16 / 2:1 / 1:2 / 21:9 / 9:21)low / medium / high1 ~ 10png / jpegwebp 格式。0–100(仅对 output_format: "jpeg" 有效)generation.taskqueued / in_progress / completed / failed