v1

latestOpenAPI 3.0.3raw.githubusercontent.com2023-03-2663438.1 KB
v1beta/generation

image-to-image/masking

Paint fancy things into fancy pictures

post/generation/{engine_id}/image-to-image/masking

Path parameters

engine_idstring required

Headers

Accept'application/json' | 'image/png'

The format of the response. Leave blank for JSON, or set to 'image/png' for a PNG image.

Organizationstring

Allows for requests to be scoped to an organization other than the user's default. If not provided, the user's default organization will be used.

Response

OK response.

base64string

Image encoded in base64

finishReason'SUCCESS' | 'ERROR' | 'CONTENT_FILTERED'
seednumber

The seed associated with this image

Example response

[
  {
    "base64": "Sed corporis modi et.",
    "finishReason": "CONTENT_FILTERED",
    "seed": 1229191277
  }
]