Closed colbyfayock closed 1 month ago
Add generative replace background feature to replace background using AI.
Should just need to update URL loader and get this feature. Content below to help with writing out docs.
Replacing the background based on the image context:
replaceBackground
Or using a string prompt:
replaceBackground="fish tank"
Or using the object format:
replaceBackground={{ prompt: 'fish tank', seed: 3 }}
URL Loader: https://github.com/cloudinary-community/cloudinary-util/pull/167
https://github.com/cloudinary-community/next-cloudinary/blob/main/docs/pages/cldimage/configuration.mdx?plain=1#L716-L779
https://next.cloudinary.dev/cldimage/examples#generative-replace-background
Hey @colbyfayock
I have added this feature in https://github.com/nuxt-modules/cloudinary/pull/228
Feature
Add generative replace background feature to replace background using AI.
Should just need to update URL loader and get this feature. Content below to help with writing out docs.
Usage
Replacing the background based on the image context:
Or using a string prompt:
Or using the object format:
URL Loader: https://github.com/cloudinary-community/cloudinary-util/pull/167
Example Documentation Content
https://github.com/cloudinary-community/next-cloudinary/blob/main/docs/pages/cldimage/configuration.mdx?plain=1#L716-L779
https://next.cloudinary.dev/cldimage/examples#generative-replace-background