Generate Image

GenerateImage generates an image based on the provided prompt within a session. The request must include the session identifier and prompt.

HTTP Mapping: POST “/v1/conversation/inference/image”

Request

This endpoint expects an object.
namestringRequired
The resource name of the session.
promptstringRequired
The text prompt for image generation.

Response

OK
imageDatastringRead-onlyformat: "bytes"
The generated image data.

Errors

400
Bad Request Error