> 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/es/acciones/workflow-concepts/workflow-steps/image-and-video/search-stock-images.md).

# Buscar imágenes de stock

El paso "Buscar imágenes de archivo" te permite encontrar imágenes de archivo mediante la integración de AirOps con los proveedores de imágenes Getty Images y Unsplash.

{% hint style="info" %}
Nota: este paso está pensado para usarse con el paso Obtener imagen de archivo con ID.

El paso Buscar imágenes de archivo debe usarse primero para devolver opciones de imágenes, y el ID de la imagen seleccionada debe usarse para recuperar la imagen final mediante el paso Obtener imagen de archivo con ID.
{% endhint %}

### Cómo configurar el paso Buscar imágenes de archivo

Configurar el paso requiere establecer los parámetros mostrados a continuación:

* **Proveedor**: Selecciona Getty o Unsplash
* **Consulta de búsqueda**: Introduce las palabras clave que quieres usar para buscar imágenes de archivo relevantes. Sé específico para obtener los resultados más relevantes

### Formato de salida

El paso Buscar imágenes de archivo devuelve un array JSON de resultados de imágenes. Cada resultado contiene:

```json
[
  {
    "id": "1234567890",
    "preview_url": "https://example.com/images/id/1234567890/photo/image-description.jpg",
    "caption": "Descripción de la primera imagen."
  },
  {
    "id": "0987654321",
    "preview_url": "https://example.com/images/id/0987654321/photo/another-image.jpg",
    "caption": "Descripción de la segunda imagen."
  },
  // Aquí aparecen resultados adicionales
]
```

### Cómo usar los resultados

Puedes usar preview\_url para decidir qué imagen(es) te gustaría usar en tu contenido. Luego, usa los IDs de imagen correspondientes para recuperar la imagen mediante el paso Obtener imágenes de archivo con 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/es/acciones/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.
