Edit Image (Sync)
Image Services
Edit Image (Sync)
同步图片编辑,兼容 OpenAI POST /v1/images/edits。使用 multipart/form-data 上传源图(支持多张,字段名均为 image),成功响应后立即扣费。
POST
Edit Image (Sync)
This is a synchronous endpoint compatible with OpenAI
POST /v1/images/edits. Upload the source image via multipart/form-data. On success, billing is applied immediately and the edited image is returned in data (b64_json or url).Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
multipart/form-data
Source image files (required, max 20MB each, up to 16 files; single-file upload also supported, field name image)
Edit prompt
Available options:
low, medium, high, auto Available options:
transparent, opaque, auto Available options:
png, jpeg, webp