@sap-ai-sdk/foundation-models
Version:
SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.
23 lines • 798 B
TypeScript
import type { AzureOpenAiDalleContentFilterResults } from './dalle-content-filter-results.js';
import type { AzureOpenAiDalleFilterResults } from './dalle-filter-results.js';
/**
* The image url or encoded image if successful, and an error otherwise.
*/
export type AzureOpenAiImageResult = {
/**
* The image url.
* @example "https://www.contoso.com"
*/
url?: string;
/**
* The base64 encoded image
*/
b64_json?: string;
content_filter_results?: AzureOpenAiDalleContentFilterResults;
/**
* The prompt that was used to generate the image, if there was any revision to the prompt.
*/
revised_prompt?: string;
prompt_filter_results?: AzureOpenAiDalleFilterResults;
} & Record<string, any>;
//# sourceMappingURL=image-result.d.ts.map