v1

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

image-to-image

Generate big fancy pictures from small fancy pictures - deprecated, use v1/image-to-image instead

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

Path parameters

engine_idstring required
Example:stable-diffusion-512-v2-0

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
  }
]