> 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/fr/actions/workflow-concepts/workflow-steps/image-and-video/fetch-stock-image-with-id.md).

# Récupérer l'image libre de droits avec l'ID

L'étape « Récupérer une image de stock avec l'ID » vous permet de récupérer une image de stock spécifique à l'aide de son identifiant unique depuis Getty Images ou Unsplash.

{% hint style="info" %}
Remarque : cette étape est destinée à être utilisée avec l'étape Rechercher des images de stock.

L’étape Search Stock Images doit être utilisée en premier afin de renvoyer des options d’images, puis l’ID de l’image sélectionnée doit être utilisé pour récupérer l’image finale à l’aide de l’étape « Fetch Stock Image with ID ».
{% endhint %}

### Comment configurer l'étape Récupérer une image de stock avec l'ID

La configuration de l’étape nécessite de définir les paramètres ci-dessous :

* **Fournisseur**: Getty ou Unsplash (assurez-vous que votre sélection correspond au fournisseur de l'étape Rechercher des images de stock)
* **Taille**:
  * Vignette (100×100)
  * Très petite (480×480)
  * Petite (740×740)
  * Moyenne (1080×1080) - optimisée pour le web
  * Grande (2000×2000)
  * Originale
* **ID de l'image**: Saisissez l'identifiant unique de l'image de stock que vous souhaitez récupérer. Cet ID est généralement obtenu à partir d'une étape précédente « Rechercher des images de stock » ou directement auprès du fournisseur d'images de stock.

<figure><img src="https://344527547-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>Récupérez une image de stock par ID à la taille dont vous avez besoin.</p></figcaption></figure>

### Format de sortie

L'étape Récupérer une image de stock avec l'ID renvoie une URL d'image.


---

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