編輯圖像

在給定原始圖像和提示的情況下建立編輯或擴展圖像。

POST
/v1/images/edits/

在给定原始图像和提示的情况下创建编辑或扩展图像。

AuthorizationBearer <token>

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/images/edits/" \  -F image="cmMtdXBsb2FkLTE2ODc4MzMzNDc3NTEtMjA=/31225951_59371037e9_small.png" \  -F prompt="A cute baby sea otter wearing a beret."
{}