> For the complete documentation index, see [llms.txt](https://support.simplesdesk.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.simplesdesk.com.br/integracoes/openai-chatgpt/como-analisar-uma-imagem-usando-openai-vision.md).

# Como analisar uma imagem usando OpenAI Vision

### Visão geral <a href="#block-d7d234b5-ef02-4987-b1a1-3496c8f3d1f0" id="block-d7d234b5-ef02-4987-b1a1-3496c8f3d1f0"></a>

Nesta documentação, você aprenderá como usar o OpenAI Vision para analisar imagens. Este recurso permite que as empresas obtenham insights a partir de imagens enviadas ao seu chatbot.

### Detalhes principais <a href="#block-5bbaa0fb-6d96-4127-b060-56806c28ceaa" id="block-5bbaa0fb-6d96-4127-b060-56806c28ceaa"></a>

* **Conecte OpenAI na seção Integração (Configurações >> Integração >> OpenAI ChatGPT)**
* **Em seu fluxo, colete a imagem do seu usuário e analise-a com OpenAI Vision usando a ação OpenAI.**

### Como configurar <a href="#block-86dd861b-9d0e-4a33-a1e0-6ec35adad726" id="block-86dd861b-9d0e-4a33-a1e0-6ec35adad726"></a>

1. **Conecte a integração OpenAI se ainda não a conectou. Por favor, leia esta** [**documentação**](/integracoes/openai-chatgpt.md)
2. **Crie um fluxo onde você coletará imagens do seu usuário (usando Obter Dados do Usuário)**

<figure><img src="/files/gx0KCIBGJ4cl2nqPfMD0" alt=""><figcaption></figcaption></figure>

**Analise a imagem com OpenAI Vision.**

<figure><img src="/files/ZqwKWrCKpo6CdMfXo4pP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1HZcXKVS4tocKnNNtiFh" alt=""><figcaption></figcaption></figure>

É recomendável incluir uma instrução condicional em seu fluxo para verificar se a resposta OpenAI tem algum valor após usar a ação OpenAI para gerar dados. Isso permitirá que você determine se a ação OpenAI foi executada com sucesso.

<figure><img src="/files/2sruC25ZunRNw939mHhp" alt=""><figcaption></figcaption></figure>

**Caso de uso avançado**

**Este recurso poderoso permite que você analise uma imagem enviada aleatoriamente ao seu chatbot, independentemente de você estar usando seu próprio fluxo de resposta padrão personalizado ou se o OpenAI ChatGPT lida com sua resposta padrão.**


---

# 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://support.simplesdesk.com.br/integracoes/openai-chatgpt/como-analisar-uma-imagem-usando-openai-vision.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.
