> ## Documentation Index
> This page is part of the Image and Video APIs product. Fetch the complete documentation index for Image and Video APIs at: https://cloudinary.com/documentation/llms-image-and-video-apis.txt?referrer=docpage and then use it to discover all relevant pages before exploring further.
> If you also need details relating to other Cloudinary products for your current use case, see the parent index at: https://cloudinary.com/documentation/llms.txt?referrer=docpage

# Generative remove


Use generative AI to remove an object from an image and fill in the space with artificially generated, visually realistic pixels.

Clean up distracting or unwanted content at scale, such as photobombers, stray objects, signage, or on-image text, without ever opening a photo editor. This helps you get a whole library of [user-generated content](user_generated_content), uploads, and catalog images presentation-ready for your site or app.

> **See also**:
>
> Explore the complete syntax and all options for this effect, or try it out on your own images in the Console:

> * **See full syntax**: [e_gen_remove](transformation_reference#e_gen_remove) in the _Transformation Reference_

> * **Try it out**: [Generative remove](https://console.cloudinary.com/app/image/playground/generative-remove?media=image&collection=signs&sample=me%2Frm-signs-1.jpg&prompts=text&removeShadows=false&detectMultiple=false)

## Generative remove overview

Use natural language to describe what you want to remove from the image, for example, remove the stick from this image of a dog with a stick in its mouth (`e_gen_remove:prompt_the%20stick`):

![Dog with stick removed](https://res.cloudinary.com/demo/image/upload/e_gen_remove:prompt_the%20stick/docs/dog-with-stick.jpg "with_image:false")

```nodejs
cloudinary.image("docs/dog-with-stick.jpg", {effect: "gen_remove:prompt_the stick"})
```

```react
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/dog-with-stick.jpg").effect(
  generativeRemove().prompt("the stick")
);
```

```vue
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/dog-with-stick.jpg").effect(
  generativeRemove().prompt("the stick")
);
```

```angular
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/dog-with-stick.jpg").effect(
  generativeRemove().prompt("the stick")
);
```

```js
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/dog-with-stick.jpg").effect(
  generativeRemove().prompt("the stick")
);
```

```python
CloudinaryImage("docs/dog-with-stick.jpg").image(effect="gen_remove:prompt_the stick")
```

```php
use Cloudinary\Transformation\Effect;

(new ImageTag('docs/dog-with-stick.jpg'))
	->effect(Effect::generativeRemove()->prompt("the stick"));
```

```java
cloudinary.url().transformation(new Transformation().effect("gen_remove:prompt_the stick")).imageTag("docs/dog-with-stick.jpg");
```

```ruby
cl_image_tag("docs/dog-with-stick.jpg", effect: "gen_remove:prompt_the stick")
```

```csharp
cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect("gen_remove:prompt_the stick")).BuildImageTag("docs/dog-with-stick.jpg")
```

```dart
cloudinary.image('docs/dog-with-stick.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("the stick")));
```

```swift
imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect("gen_remove:prompt_the stick")).generate("docs/dog-with-stick.jpg")!, cloudinary: cloudinary)
```

```android
MediaManager.get().url().transformation(new Transformation().effect("gen_remove:prompt_the stick")).generate("docs/dog-with-stick.jpg");
```

```flutter
cloudinary.image('docs/dog-with-stick.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("the stick")));
```

```kotlin
cloudinary.image {
	publicId("docs/dog-with-stick.jpg")
	 effect(Effect.generativeRemove() { prompt("the stick") }) 
}.generate()
```

```jquery
$.cloudinary.image("docs/dog-with-stick.jpg", {effect: "gen_remove:prompt_the stick"})
```

```react_native
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/dog-with-stick.jpg").effect(
  generativeRemove().prompt("the stick")
);
```

Original image

Remove the stick

The natural language lets you be specific about what you want to remove. In the following example, specifying only 'the child' removes the child in the middle, whereas specifying the 'the child in green' removes the child wearing the green jacket:

![Family with child in green jacket removed](https://res.cloudinary.com/demo/image/upload/e_gen_remove:prompt_the%20child%20in%20green/docs/family.jpg "with_image:false")

```nodejs
cloudinary.image("docs/family.jpg", {effect: "gen_remove:prompt_the child in green"})
```

```react
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/family.jpg").effect(
  generativeRemove().prompt("the child in green")
);
```

```vue
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/family.jpg").effect(
  generativeRemove().prompt("the child in green")
);
```

```angular
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/family.jpg").effect(
  generativeRemove().prompt("the child in green")
);
```

```js
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/family.jpg").effect(
  generativeRemove().prompt("the child in green")
);
```

```python
CloudinaryImage("docs/family.jpg").image(effect="gen_remove:prompt_the child in green")
```

```php
use Cloudinary\Transformation\Effect;

(new ImageTag('docs/family.jpg'))
	->effect(Effect::generativeRemove()->prompt("the child in green"));
```

```java
cloudinary.url().transformation(new Transformation().effect("gen_remove:prompt_the child in green")).imageTag("docs/family.jpg");
```

```ruby
cl_image_tag("docs/family.jpg", effect: "gen_remove:prompt_the child in green")
```

```csharp
cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect("gen_remove:prompt_the child in green")).BuildImageTag("docs/family.jpg")
```

```dart
cloudinary.image('docs/family.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("the child in green")));
```

```swift
imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect("gen_remove:prompt_the child in green")).generate("docs/family.jpg")!, cloudinary: cloudinary)
```

```android
MediaManager.get().url().transformation(new Transformation().effect("gen_remove:prompt_the child in green")).generate("docs/family.jpg");
```

```flutter
cloudinary.image('docs/family.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("the child in green")));
```

```kotlin
cloudinary.image {
	publicId("docs/family.jpg")
	 effect(Effect.generativeRemove() { prompt("the child in green") }) 
}.generate()
```

```jquery
$.cloudinary.image("docs/family.jpg", {effect: "gen_remove:prompt_the child in green"})
```

```react_native
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/family.jpg").effect(
  generativeRemove().prompt("the child in green")
);
```

Original image

Remove the child

Remove the child in green

## Remove multiple items

If there is more than one of the same item in an image, you can remove them all using by setting `multiple` to true. For example, remove all the geese in this image (`e_gen_remove:prompt_goose;multiple_true`):

![Geese removed from the picture](https://res.cloudinary.com/demo/image/upload/e_gen_remove:prompt_goose;multiple_true/docs/geese.jpg "with_image:false")

```nodejs
cloudinary.image("docs/geese.jpg", {effect: "gen_remove:prompt_goose;multiple_true"})
```

```react
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/geese.jpg").effect(
  generativeRemove().prompt("goose").detectMultiple()
);
```

```vue
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/geese.jpg").effect(
  generativeRemove().prompt("goose").detectMultiple()
);
```

```angular
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/geese.jpg").effect(
  generativeRemove().prompt("goose").detectMultiple()
);
```

```js
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/geese.jpg").effect(
  generativeRemove().prompt("goose").detectMultiple()
);
```

```python
CloudinaryImage("docs/geese.jpg").image(effect="gen_remove:prompt_goose;multiple_True")
```

```php
use Cloudinary\Transformation\Effect;

(new ImageTag('docs/geese.jpg'))
	->effect(Effect::generativeRemove()->prompt("goose")
->detectMultiple());
```

```java
cloudinary.url().transformation(new Transformation().effect("gen_remove:prompt_goose;multiple_true")).imageTag("docs/geese.jpg");
```

```ruby
cl_image_tag("docs/geese.jpg", effect: "gen_remove:prompt_goose;multiple_true")
```

```csharp
cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect("gen_remove:prompt_goose;multiple_true")).BuildImageTag("docs/geese.jpg")
```

```dart
cloudinary.image('docs/geese.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("goose")
.detectMultiple()));
```

```swift
imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect("gen_remove:prompt_goose;multiple_true")).generate("docs/geese.jpg")!, cloudinary: cloudinary)
```

```android
MediaManager.get().url().transformation(new Transformation().effect("gen_remove:prompt_goose;multiple_true")).generate("docs/geese.jpg");
```

```flutter
cloudinary.image('docs/geese.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("goose")
.detectMultiple()));
```

```kotlin
cloudinary.image {
	publicId("docs/geese.jpg")
	 effect(Effect.generativeRemove() { prompt("goose")
 detectMultiple() }) 
}.generate()
```

```jquery
$.cloudinary.image("docs/geese.jpg", {effect: "gen_remove:prompt_goose;multiple_true"})
```

```react_native
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/geese.jpg").effect(
  generativeRemove().prompt("goose").detectMultiple()
);
```

Original image

Remove all the geese

Otherwise, only one is removed:

![One goose removed from the picture](https://res.cloudinary.com/demo/image/upload/e_gen_remove:prompt_goose/docs/geese.jpg "thumb: h_200, height:200")

```nodejs
cloudinary.image("docs/geese.jpg", {effect: "gen_remove:prompt_goose"})
```

```react
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/geese.jpg").effect(
  generativeRemove().prompt("goose")
);
```

```vue
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/geese.jpg").effect(
  generativeRemove().prompt("goose")
);
```

```angular
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/geese.jpg").effect(
  generativeRemove().prompt("goose")
);
```

```js
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/geese.jpg").effect(
  generativeRemove().prompt("goose")
);
```

```python
CloudinaryImage("docs/geese.jpg").image(effect="gen_remove:prompt_goose")
```

```php
use Cloudinary\Transformation\Effect;

(new ImageTag('docs/geese.jpg'))
	->effect(Effect::generativeRemove()->prompt("goose"));
```

```java
cloudinary.url().transformation(new Transformation().effect("gen_remove:prompt_goose")).imageTag("docs/geese.jpg");
```

```ruby
cl_image_tag("docs/geese.jpg", effect: "gen_remove:prompt_goose")
```

```csharp
cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect("gen_remove:prompt_goose")).BuildImageTag("docs/geese.jpg")
```

```dart
cloudinary.image('docs/geese.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("goose")));
```

```swift
imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect("gen_remove:prompt_goose")).generate("docs/geese.jpg")!, cloudinary: cloudinary)
```

```android
MediaManager.get().url().transformation(new Transformation().effect("gen_remove:prompt_goose")).generate("docs/geese.jpg");
```

```flutter
cloudinary.image('docs/geese.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("goose")));
```

```kotlin
cloudinary.image {
	publicId("docs/geese.jpg")
	 effect(Effect.generativeRemove() { prompt("goose") }) 
}.generate()
```

```jquery
$.cloudinary.image("docs/geese.jpg", {effect: "gen_remove:prompt_goose"})
```

```react_native
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/geese.jpg").effect(
  generativeRemove().prompt("goose")
);
```

If there are a number of different things that you want to remove, you can specify more than one prompt. Note that when you specify more than one prompt, multiple instances of each prompt are removed regardless of the `multiple` parameter setting. For example, in this image, all phones are removed, together with the mouse and keyboard:

![Keyboard, phones and mouse removed from the picture](https://res.cloudinary.com/demo/image/upload/e_gen_remove:prompt_(keyboard;phone;mouse)

```nodejs
cloudinary.image("e_gen_remove:prompt_(keyboard;phone;mouse")
```

```react
new CloudinaryImage("e_gen_remove:prompt_(keyboard;phone;mouse");
```

```vue
new CloudinaryImage("e_gen_remove:prompt_(keyboard;phone;mouse");
```

```angular
new CloudinaryImage("e_gen_remove:prompt_(keyboard;phone;mouse");
```

```js
new CloudinaryImage("e_gen_remove:prompt_(keyboard;phone;mouse");
```

```python
CloudinaryImage("e_gen_remove:prompt_(keyboard;phone;mouse").image()
```

```php
(new ImageTag('e_gen_remove:prompt_(keyboard;phone;mouse'));
```

```java
cloudinary.url().transformation(new Transformation().imageTag("e_gen_remove:prompt_(keyboard;phone;mouse");
```

```ruby
cl_image_tag("e_gen_remove:prompt_(keyboard;phone;mouse")
```

```csharp
cloudinary.Api.UrlImgUp.BuildImageTag("e_gen_remove:prompt_(keyboard;phone;mouse")
```

```dart
cloudinary.image('e_gen_remove:prompt_(keyboard;phone;mouse').transformation(Transformation());
```

```swift
imageView.cldSetImage(cloudinary.createUrl().generate("e_gen_remove:prompt_(keyboard;phone;mouse")!, cloudinary: cloudinary)
```

```android
MediaManager.get().url().transformation(new Transformation().generate("e_gen_remove:prompt_(keyboard;phone;mouse");
```

```flutter
cloudinary.image('e_gen_remove:prompt_(keyboard;phone;mouse').transformation(Transformation());
```

```kotlin
cloudinary.image {
	publicId("e_gen_remove:prompt_(keyboard;phone;mouse") 
}.generate()
```

```jquery
$.cloudinary.image("e_gen_remove:prompt_(keyboard;phone;mouse")
```

```react_native
new CloudinaryImage("e_gen_remove:prompt_(keyboard;phone;mouse");
```/docs/gadgets.jpg "with_image:false")

Original image

Remove specified gadgets

## Remove items from a region

You can also specify one or more region if you know the co-ordinates of the pixels that you want to remove. For each region, specify the x,y co-ordinates of the top left of the region, plus its width and height in pixels. For example, remove the objects from the top left and bottom right of the image:

![Removed regions](https://res.cloudinary.com/demo/image/upload/e_gen_remove:region_((x_300;y_200;w_750;h_500)

```nodejs
cloudinary.image("e_gen_remove:region_((x_300;y_200;w_750;h_500")
```

```react
new CloudinaryImage("e_gen_remove:region_((x_300;y_200;w_750;h_500");
```

```vue
new CloudinaryImage("e_gen_remove:region_((x_300;y_200;w_750;h_500");
```

```angular
new CloudinaryImage("e_gen_remove:region_((x_300;y_200;w_750;h_500");
```

```js
new CloudinaryImage("e_gen_remove:region_((x_300;y_200;w_750;h_500");
```

```python
CloudinaryImage("e_gen_remove:region_((x_300;y_200;w_750;h_500").image()
```

```php
(new ImageTag('e_gen_remove:region_((x_300;y_200;w_750;h_500'));
```

```java
cloudinary.url().transformation(new Transformation().imageTag("e_gen_remove:region_((x_300;y_200;w_750;h_500");
```

```ruby
cl_image_tag("e_gen_remove:region_((x_300;y_200;w_750;h_500")
```

```csharp
cloudinary.Api.UrlImgUp.BuildImageTag("e_gen_remove:region_((x_300;y_200;w_750;h_500")
```

```dart
cloudinary.image('e_gen_remove:region_((x_300;y_200;w_750;h_500').transformation(Transformation());
```

```swift
imageView.cldSetImage(cloudinary.createUrl().generate("e_gen_remove:region_((x_300;y_200;w_750;h_500")!, cloudinary: cloudinary)
```

```android
MediaManager.get().url().transformation(new Transformation().generate("e_gen_remove:region_((x_300;y_200;w_750;h_500");
```

```flutter
cloudinary.image('e_gen_remove:region_((x_300;y_200;w_750;h_500').transformation(Transformation());
```

```kotlin
cloudinary.image {
	publicId("e_gen_remove:region_((x_300;y_200;w_750;h_500") 
}.generate()
```

```jquery
$.cloudinary.image("e_gen_remove:region_((x_300;y_200;w_750;h_500")
```

```react_native
new CloudinaryImage("e_gen_remove:region_((x_300;y_200;w_750;h_500");
```;(x_1800;y_1200;w_1000;h_800))/docs/accessories-bag.jpg "with_image:false")

Original image

Remove specified regions

## Remove shadows and reflections

By default, shadows and reflections cast by objects specified in the prompt aren't removed.  If you want to remove the shadow/reflection, set the `remove-shadow` parameter to true:

![Family on a beach without dog but with its shadow](https://res.cloudinary.com/demo/image/upload/e_gen_remove:prompt_the%20little%20dog;remove-shadow_true/docs/family-beach.jpg "with_image:false")

```nodejs
cloudinary.image("docs/family-beach.jpg", {effect: "gen_remove:prompt_the little dog;remove-shadow_true"})
```

```react
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/family-beach.jpg").effect(
  generativeRemove().prompt("the little dog").removeShadow()
);
```

```vue
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/family-beach.jpg").effect(
  generativeRemove().prompt("the little dog").removeShadow()
);
```

```angular
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/family-beach.jpg").effect(
  generativeRemove().prompt("the little dog").removeShadow()
);
```

```js
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/family-beach.jpg").effect(
  generativeRemove().prompt("the little dog").removeShadow()
);
```

```python
CloudinaryImage("docs/family-beach.jpg").image(effect="gen_remove:prompt_the little dog;remove-shadow_True")
```

```php
use Cloudinary\Transformation\Effect;

(new ImageTag('docs/family-beach.jpg'))
	->effect(Effect::generativeRemove()->prompt("the little dog")
->removeShadow());
```

```java
cloudinary.url().transformation(new Transformation().effect("gen_remove:prompt_the little dog;remove-shadow_true")).imageTag("docs/family-beach.jpg");
```

```ruby
cl_image_tag("docs/family-beach.jpg", effect: "gen_remove:prompt_the little dog;remove-shadow_true")
```

```csharp
cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect("gen_remove:prompt_the little dog;remove-shadow_true")).BuildImageTag("docs/family-beach.jpg")
```

```dart
cloudinary.image('docs/family-beach.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("the little dog")
.removeShadow()));
```

```swift
imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect("gen_remove:prompt_the little dog;remove-shadow_true")).generate("docs/family-beach.jpg")!, cloudinary: cloudinary)
```

```android
MediaManager.get().url().transformation(new Transformation().effect("gen_remove:prompt_the little dog;remove-shadow_true")).generate("docs/family-beach.jpg");
```

```flutter
cloudinary.image('docs/family-beach.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("the little dog")
.removeShadow()));
```

```kotlin
cloudinary.image {
	publicId("docs/family-beach.jpg")
	 effect(Effect.generativeRemove() { prompt("the little dog")
 removeShadow() }) 
}.generate()
```

```jquery
$.cloudinary.image("docs/family-beach.jpg", {effect: "gen_remove:prompt_the little dog;remove-shadow_true"})
```

```react_native
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/family-beach.jpg").effect(
  generativeRemove().prompt("the little dog").removeShadow()
);
```

Original image

Remove the dog(but not its shadow by default)

Remove the dog(and its shadow)

## Remove text

You can remove all the text from an image by setting the prompt to `text` e.g. `e_gen_remove:prompt_text`, or `e_gen_remove:prompt_(dog;text)`. 

For example, remove the text and person from this storefront (`e_gen_remove:prompt_(text;person)`):

![Text and person removed from the image of the storefront](https://res.cloudinary.com/demo/image/upload/e_gen_remove:prompt_(text;person)

```nodejs
cloudinary.image("e_gen_remove:prompt_(text;person")
```

```react
new CloudinaryImage("e_gen_remove:prompt_(text;person");
```

```vue
new CloudinaryImage("e_gen_remove:prompt_(text;person");
```

```angular
new CloudinaryImage("e_gen_remove:prompt_(text;person");
```

```js
new CloudinaryImage("e_gen_remove:prompt_(text;person");
```

```python
CloudinaryImage("e_gen_remove:prompt_(text;person").image()
```

```php
(new ImageTag('e_gen_remove:prompt_(text;person'));
```

```java
cloudinary.url().transformation(new Transformation().imageTag("e_gen_remove:prompt_(text;person");
```

```ruby
cl_image_tag("e_gen_remove:prompt_(text;person")
```

```csharp
cloudinary.Api.UrlImgUp.BuildImageTag("e_gen_remove:prompt_(text;person")
```

```dart
cloudinary.image('e_gen_remove:prompt_(text;person').transformation(Transformation());
```

```swift
imageView.cldSetImage(cloudinary.createUrl().generate("e_gen_remove:prompt_(text;person")!, cloudinary: cloudinary)
```

```android
MediaManager.get().url().transformation(new Transformation().generate("e_gen_remove:prompt_(text;person");
```

```flutter
cloudinary.image('e_gen_remove:prompt_(text;person').transformation(Transformation());
```

```kotlin
cloudinary.image {
	publicId("e_gen_remove:prompt_(text;person") 
}.generate()
```

```jquery
$.cloudinary.image("e_gen_remove:prompt_(text;person")
```

```react_native
new CloudinaryImage("e_gen_remove:prompt_(text;person");
```/docs/shop-person.jpg "with_image:false")

Original image

Remove the textand the person

If you don't want to remove all the text in the image, specify the object you want to remove the text from by using the syntax `text:<object>` as the prompt (either as the only prompt, or together with other prompts as in the previous example). 

For example, in the following image there is text in the main part of the image in addition to text on the mobile screen. You can remove the text on the mobile screen only, as follows (`e_gen_remove:prompt_text:the%20mobile%20screen`):

![Text removed from the mobile screen only](https://res.cloudinary.com/demo/image/upload/e_gen_remove:prompt_text:the%20mobile%20screen/docs/support.jpg "with_image:false")

```nodejs
cloudinary.image("docs/support.jpg", {effect: "gen_remove:prompt_text:the mobile screen"})
```

```react
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/support.jpg").effect(
  generativeRemove().prompt("text")
);
```

```vue
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/support.jpg").effect(
  generativeRemove().prompt("text")
);
```

```angular
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/support.jpg").effect(
  generativeRemove().prompt("text")
);
```

```js
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/support.jpg").effect(
  generativeRemove().prompt("text")
);
```

```python
CloudinaryImage("docs/support.jpg").image(effect="gen_remove:prompt_text:the mobile screen")
```

```php
use Cloudinary\Transformation\Effect;

(new ImageTag('docs/support.jpg'))
	->effect(Effect::generativeRemove()->prompt("text"));
```

```java
cloudinary.url().transformation(new Transformation().effect("gen_remove:prompt_text:the mobile screen")).imageTag("docs/support.jpg");
```

```ruby
cl_image_tag("docs/support.jpg", effect: "gen_remove:prompt_text:the mobile screen")
```

```csharp
cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect("gen_remove:prompt_text:the mobile screen")).BuildImageTag("docs/support.jpg")
```

```dart
cloudinary.image('docs/support.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("text")));
```

```swift
imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect("gen_remove:prompt_text:the mobile screen")).generate("docs/support.jpg")!, cloudinary: cloudinary)
```

```android
MediaManager.get().url().transformation(new Transformation().effect("gen_remove:prompt_text:the mobile screen")).generate("docs/support.jpg");
```

```flutter
cloudinary.image('docs/support.jpg').transformation(Transformation()
	.effect(Effect.generativeRemove().prompt("text")));
```

```kotlin
cloudinary.image {
	publicId("docs/support.jpg")
	 effect(Effect.generativeRemove() { prompt("text") }) 
}.generate()
```

```jquery
$.cloudinary.image("docs/support.jpg", {effect: "gen_remove:prompt_text:the mobile screen"})
```

```react_native
import { generativeRemove } from "@cloudinary/url-gen/actions/effect";

new CloudinaryImage("docs/support.jpg").effect(
  generativeRemove().prompt("text")
);
```

Original image

Remove all the text

Remove the textfrom the mobile screen only

## Limitations
* The generative remove effect can only be used on non-transparent images.
* The use of generative AI means that results may not be 100% accurate.
* The generative remove effect works best on simple objects that are clearly visible.
* Very small objects and very large objects may not be detected.
* Don't attempt to remove faces or hands.
* During processing, large images are downscaled to a maximum of 6140 x 6140 pixels, then upscaled back to their original size, which may affect quality.
* When you specify more than one prompt, all the objects specified in each of the prompts will be removed whether or not `multiple_true` is specified in the URL.
* There is a [special transformation count](transformation_counts#special_effect_calculations) for the generative remove effect.
* If you get blurred results when using this feature, it's likely that the built-in NSFW (Not Safe For Work) check has detected something inappropriate. You can [contact support](https://support.cloudinary.com/hc/en-us/requests/new) to disable this check if you believe it's too sensitive.
* The generative remove effect isn't supported for [animated](animated_images) images or [fetched](fetch_remote_images#fetch_and_deliver_remote_files) images.
* [User-defined variables](user_defined_variables) can't be used for the prompt when more than one prompt is specified.
* When Cloudinary is generating a derived version, you may get a 423 response returned until the version is ready. You can prepare derived versions in advance using an [eager transformation](eager_and_incoming_transformations#eager_transformations).
* When Cloudinary is generating an [incoming transformation](eager_and_incoming_transformations#incoming_transformations), you may get a 420 response returned, with status `pending` until the asset is ready.
* If you're using our [Asia Pacific data center](admin_api#alternative_data_centers_and_endpoints_premium_feature), you currently can't apply the generative remove effect.
