aisbreaker-api-js - v0.1.15 / api/models/OutputImage / OutputImage
Interface: OutputImage
api/models/OutputImage.OutputImage
An image response from the AI service.
Table of contents
Properties
Properties
base64
• Optional
base64: string
The image, base64-encoded; either url or base64 must be set.
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/models/OutputImage.ts:20
index
• index: number
Index of the message in the request - relevant to distinguest multiple alternatives if request_ops.sample|number_of_alternative_responses>1.
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/models/OutputImage.ts:10
isProcessing
• Optional
isProcessing: boolean
If set to true, the image is still work in progress. If false, the image is the final response.
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/models/OutputImage.ts:30
role
• role: "assistant"
Role of the (output) message creator/input image.
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/models/OutputImage.ts:15
url
• Optional
url: string
The image, url-encoded; either url or base64 must be set.
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/models/OutputImage.ts:25