Interface: ImageResponse
Defined in: src/_other-scraper/chatup-ai.ts:46
Response object returned from the generateImage
method.
Properties
success
success:
boolean
Defined in: src/_other-scraper/chatup-ai.ts:48
Indicates whether the image generation was successful.
code
code:
number
Defined in: src/_other-scraper/chatup-ai.ts:50
An HTTP-like status code representing the outcome of the image generation request.
content?
optional
content:string
Defined in: src/_other-scraper/chatup-ai.ts:52
A description or content associated with the generated image, if available.
imageUrl?
optional
imageUrl:string
Defined in: src/_other-scraper/chatup-ai.ts:54
A direct URL to the generated image.
result?
optional
result:object
Defined in: src/_other-scraper/chatup-ai.ts:56
An object containing error details, if any errors occurred during the image generation.
error
error:
string
A string representing the error message, detailing the issue encountered during image generation.