# addImagesToVariantStep - Medusa Core Workflows Reference

This documentation provides a reference to the `addImagesToVariantStep`. It belongs to the `@medusajs/medusa/core-flows` package.

This step adds one or more images to a product variant.

:::note

This is available starting from [Medusa v2.11.2](https://github.com/medusajs/medusa/releases/tag/v2.11.2).

:::

## Example

```ts
const data = addImagesToVariantStep({
  variant_id: "variant_123",
  add: ["img_123", "img_456"]
})
```

## Input

- variant\_id: (\`string\`)
- add: (\`string\`\[])

## Output

- string\[]: (\`string\`\[])

  - string: (\`string\`)


---

The best way to deploy Medusa is through Medusa Cloud where you get autoscaling production infrastructure fine tuned for Medusa. Create an account by signing up at cloud.medusajs.com/signup.
