Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
POST /v1/images/edits
multipart/form-data
Authorization
Bearer <token>
image
mask
prompt
model
dall-e-2
n
size
256x256
512x512
1024x1024
response_format
url
b64_json
user
curl -X POST "[https://www.ominiapi.com/v1/images/edits/](https://www.ominiapi.com/v1/images/edits/)" \ -H "Authorization: Bearer <您的_API_KEY>" \ -F image="@/path/to/image.png" \ -F prompt="A cute baby sea otter wearing a beret." \ -F n="1" \ -F size="1024x1024"
{ "created": 1589478378, "data": [ { "url": "https://..." } ] }