@base44-preview/sdk 0.8.22-pr.151.1213b26 → 0.8.23-pr.152.92acbf4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -175,8 +175,13 @@ export interface CoreIntegrations {
|
|
|
175
175
|
/**
|
|
176
176
|
* Create AI-generated images from text prompts.
|
|
177
177
|
*
|
|
178
|
+
* Images are generated as PNG files at approximately 1024px on the shorter side. The
|
|
179
|
+
* exact dimensions vary by aspect ratio.
|
|
180
|
+
*
|
|
181
|
+
* Prompts that violate the AI provider's content policy will be refused.
|
|
182
|
+
*
|
|
178
183
|
* @param params - Parameters for image generation
|
|
179
|
-
* @returns Promise resolving to the generated image
|
|
184
|
+
* @returns Promise resolving to an object containing the URL of the generated PNG image.
|
|
180
185
|
*
|
|
181
186
|
* @example
|
|
182
187
|
* ```typescript
|