Skip to content

[Feature] Generative Replace Background #227

@colbyfayock

Description

@colbyfayock

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:

replaceBackground

Or using a string prompt:

replaceBackground="fish tank"

Or using the object format:

replaceBackground={{
  prompt: 'fish tank',
  seed: 3
}}

URL Loader: cloudinary-community/cloudinary-util#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions