# Automatic use of base64 variant of Imgix params

[date: 2022-06-16T08:53:14.644+02:00]

To ensure that complex composition of Imgix params resolve correctly even when nested several levels deep, the Content Delivery API now automatically generates Imgix URLs using the [base64 variant](https://blog.imgix.com/2016/03/01/base64-encoding) when needed.

As an example, the following query:

```graphql
{
  author {
    avatar {
      url(imgixParams: {txt: "Hello world"})
    }
  }
}
```

Now returns an URL using the `txt64` variant of the same transformation, [as suggested by Imgix](https://docs.imgix.com/apis/rendering/text/txt#using-base64-encoding):

```plaintext
https://www.datocms-assets.com/205/1636982597-image.jpg?txt64=SGVsbG8gd29ybGQ
```