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

# Obter Imagem de Stock com ID

O passo "Obter imagem de stock por ID" permite-lhe recuperar uma imagem de stock específica usando o seu identificador único a partir do Getty Images ou do Unsplash.

{% hint style="info" %}
Nota: Este passo destina-se a ser usado com o passo Procurar imagens de stock.

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

### Como Configurar o Passo Obter Imagem de Stock por ID

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

* **Fornecedor**: Getty ou Unsplash (certifique-se de que a sua seleção é a mesma que a do fornecedor do passo Procurar imagens de stock)
* **Tamanho**:
  * Miniatura (100×100)
  * Extra pequena (480×480)
  * Pequena (740×740)
  * Média (1080×1080) - otimizada para a web
  * Grande (2000×2000)
  * Original
* **ID da imagem**: Introduza o identificador único da imagem de stock que pretende recuperar. Este ID é normalmente obtido a partir de um passo anterior "Procurar imagens de stock" ou diretamente do fornecedor da imagem de stock.

<figure><img src="https://31915162-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>Recupere uma imagem de stock por ID no tamanho de que precisa.</p></figcaption></figure>

### Formato de saída

O passo Obter imagem de stock por ID devolve um URL da imagem.


---

# 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/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.
