Skip to main content
POST
cURL

Query Parameters

key
string
required

API Key

Body

application/json
contents
object[]
required

Array of contents with editing instructions and source images.

Example:
generationConfig
object
required

Response

Image edited successfully

candidates
object[]
usageMetadata
object