> 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/fetch-stock-image-with-id.md).

# Obtener imagen de stock con ID

El paso "Obtener imagen de stock con ID" te permite recuperar una imagen de stock específica usando su identificador único desde Getty Images o Unsplash.

{% hint style="info" %}
Nota: Este paso está pensado para usarse con el paso Buscar imágenes de stock.

El paso Search Stock Images 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 Fetch Stock Image with ID.
{% endhint %}

### Cómo configurar el paso Obtener imagen de stock con ID

Configurar el paso requiere establecer los parámetros que se muestran a continuación:

* **Proveedor**: Getty o Unsplash (asegúrate de que tu selección sea la misma que la del proveedor del paso Buscar imágenes de stock)
* **Tamaño**:
  * Miniatura (100×100)
  * XSmall (480×480)
  * Pequeño (740×740)
  * Mediano (1080×1080) - optimizado para la web
  * Grande (2000×2000)
  * Original
* **ID de la imagen**: Introduce el identificador único de la imagen de stock que deseas recuperar. Este ID normalmente se obtiene de un paso previo de "Buscar imágenes de stock" o directamente del proveedor de imágenes de stock.

<figure><img src="https://3036434873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-9eaf5c0a09ddadcde9bfe7f1242cbda7090e46f0%2Fstock-fetch-01-step-config.png?alt=media" alt="Fetch Stock Image with ID step with the Size dropdown open on Medium"><figcaption><p>Obtén una imagen de stock por ID en el tamaño que necesites.</p></figcaption></figure>

### Formato de salida

El paso Obtener imagen de stock con ID devuelve una URL de imagen.


---

# 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/fetch-stock-image-with-id.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.
