@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
16 lines (15 loc) • 434 B
TypeScript
import { ImageItem } from "@omnia/fx-models";
import { BaseResponse } from "./BaseResponse";
export interface AiImageResponse extends BaseResponse {
result: ImageDataResult;
}
export interface GeneratedImage extends ImageItem {
serverImage: ImageDataResult;
}
export interface ImageDataResult {
caption: string;
contentUrl?: string;
contentUrlExpiresAt: string;
createdDateTime: string;
base64?: string;
}