> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/docs/pt/acoes/workflow-concepts/workflow-steps/image-and-video/search-stock-images.md).

# Pesquisar Imagens de Stock

A etapa "Search Stock Images" permite encontrar imagens de stock a partir da integração da AirOps com os fornecedores de imagens de stock Getty Images e Unsplash.

{% hint style="info" %}
Nota: Esta etapa destina-se a ser usada com a etapa Fetch Stock Image with ID.

A etapa Search Stock Images deve ser usada primeiro para devolver opções de imagens, e o ID da imagem selecionada deve ser usado para obter a imagem final usando a etapa Fetch Stock Image with ID.
{% endhint %}

### Como Configurar a Etapa Search Stock Images

Configurar a etapa requer definir os parâmetros mostrados abaixo:

* **Fornecedor**: Selecione Getty ou Unsplash
* **Consulta de pesquisa**: Introduza as palavras-chave que quer usar para pesquisar imagens de stock relevantes. Seja específico para obter os resultados mais relevantes

### Formato de Saída

A etapa Search Stock Images devolve um array JSON de resultados de imagens. Cada resultado contém:

```json
[
  {
    "id": "1234567890",
    "preview_url": "https://example.com/images/id/1234567890/photo/image-description.jpg",
    "caption": "Description of the first image."
  },
  {
    "id": "0987654321",
    "preview_url": "https://example.com/images/id/0987654321/photo/another-image.jpg",
    "caption": "Description of the second image."
  },
  // Resultados adicionais aparecem aqui
]
```

### Como Utilizar os Resultados

Pode usar o preview\_url para decidir que imagem(s) gostaria de usar no seu conteúdo. Depois, use os IDs das imagens correspondentes para obter a imagem usando a etapa Fetch Stock Images with ID.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.airops.com/docs/pt/acoes/workflow-concepts/workflow-steps/image-and-video/search-stock-images.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
