feeef 0.8.0 → 0.8.1

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.
package/build/index.js CHANGED
@@ -1766,7 +1766,8 @@ function createImageGenerationFormData(input) {
1766
1766
  if (input.title && input.title.trim().length > 0) formData.append("title", input.title.trim());
1767
1767
  if (input.prompt && input.prompt.trim().length > 0) formData.append("prompt", input.prompt.trim());
1768
1768
  if (input.aspectRatio) formData.append("aspectRatio", input.aspectRatio);
1769
- formData.append("resolution", input.resolution ?? "MEDIA_RESOLUTION_LOW");
1769
+ if (input.imageSize) formData.append("imageSize", input.imageSize);
1770
+ formData.append("resolution", input.resolution ?? "MEDIA_RESOLUTION_HIGH");
1770
1771
  if (input.systemInstructions && input.systemInstructions.trim().length > 0) {
1771
1772
  formData.append("systemInstructions", input.systemInstructions.trim());
1772
1773
  }