> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/topicos/inteligencia-artificial/ai-landing-pages/ai-landing-pages-gerando-imagens-e-atualizando-elementos.md).

# AI Landing Pages - Gerando Imagens e Atualizando Elementos

## Corrigindo/Alterando elementos com IA

Ao selecionar um elemento dentro do construtor e clicar em **Modificar Elemento com IA**, basta informar no prompt a mudança desejada para aquele item específico. Algumas mudanças comuns são: alterar tamanho, orientação do layout, propriedades de texto, cor e outras. Os demais elementos da página não serão afetados.&#x20;

O prompt pode ser descrito em linguagem comum — por exemplo: *“Pinte esse fundo de azul claro”* — ou em termos técnicos de CSS, como: *“Altere a cor do background para #add8e6”*.

<figure><img src="/files/eg4F3XRjPjvI9aQnA02E" alt=""><figcaption><p><em>Identificando elemento a ser modificado.</em></p></figcaption></figure>

<figure><img src="/files/ucxShJb8P7oRhZFIXttG" alt=""><figcaption><p><em>Inserindo prompt de edição com IA.</em></p></figcaption></figure>

<figure><img src="/files/7Yj42DYbCLEaSRkGhPsQ" alt=""><figcaption><p><em>Atualização realizada.</em></p></figcaption></figure>

## Gerando imagens

Ao selecionar um elemento de imagem (`<img>`) no construtor e clicar em **Gerar Imagem com IA**, basta descrever no prompt como a imagem deve ser e incluir os detalhes necessários.

{% hint style="info" %}
Para utilizar esse recurso, é preciso ter a integração com a OpenAI previamente configurada.
{% endhint %}

<figure><img src="/files/TFnce0KHXhIjRu1yVbkJ" alt=""><figcaption><p><em>Selecionando imagem com placeholder.</em></p></figcaption></figure>

<figure><img src="/files/4uK9q6T0lNrKfHv4Nrl6" alt=""><figcaption><p><em>Modal de Gerar Imagem com IA.</em></p></figcaption></figure>

<figure><img src="/files/8Jwxu03i01CPvonDfXhH" alt=""><figcaption><p><em>Imagem gerada com sucesso.</em></p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/topicos/inteligencia-artificial/ai-landing-pages/ai-landing-pages-gerando-imagens-e-atualizando-elementos.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
