diff --git a/projects/js-packages/ai-client/changelog/remove-jetpack-ai-image-generator-style-parameter b/projects/js-packages/ai-client/changelog/remove-jetpack-ai-image-generator-style-parameter new file mode 100644 index 0000000000000..a5cb282281aa8 --- /dev/null +++ b/projects/js-packages/ai-client/changelog/remove-jetpack-ai-image-generator-style-parameter @@ -0,0 +1,4 @@ +Significance: minor +Type: changed + +AI Client: don't send a default style to jetpack-ai-image endpoint, default is handled in backend and we need to not send it until we're ready for it to be a user option diff --git a/projects/js-packages/ai-client/src/hooks/use-image-generator/index.ts b/projects/js-packages/ai-client/src/hooks/use-image-generator/index.ts index adee712228821..9d2a69108d511 100644 --- a/projects/js-packages/ai-client/src/hooks/use-image-generator/index.ts +++ b/projects/js-packages/ai-client/src/hooks/use-image-generator/index.ts @@ -214,7 +214,6 @@ const useImageGenerator = () => { prompt, feature, model: 'stable-diffusion', - style: 'photographic', }; const data: ImageGenerationResponse = await executeImageGeneration( parameters ); diff --git a/projects/plugins/jetpack/changelog/remove-jetpack-ai-image-generator-style-parameter b/projects/plugins/jetpack/changelog/remove-jetpack-ai-image-generator-style-parameter new file mode 100644 index 0000000000000..08bafdf18234e --- /dev/null +++ b/projects/plugins/jetpack/changelog/remove-jetpack-ai-image-generator-style-parameter @@ -0,0 +1,4 @@ +Significance: minor +Type: other + +Jetpack AI: remove style parameter from image generation requests until we mean it diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-image/hooks/use-ai-image.ts b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-image/hooks/use-ai-image.ts index 105c8b57eec52..b925aca626130 100644 --- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-image/hooks/use-ai-image.ts +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-image/hooks/use-ai-image.ts @@ -123,7 +123,6 @@ export default function useAiImage( { feature, size: '1792x1024', // the size, when the generation happens with DALL-E-3 responseFormat: 'b64_json', // the response format, when the generation happens with DALL-E-3 - style: 'photographic', // the style of the image, when the generation happens with Stable Diffusion messages: [ { role: 'jetpack-ai',