Skip to main content
POST
Image editing

Query Parameters

key
string
required

API key

Body

application/json
contents
object[]
required

Array of conversation contents including the edit instruction and the image to edit.

Example:
generationConfig
object
required

Response

Image edited successfully

candidates
object[]
usageMetadata
object